Actionscript 2.0 :: Carousel 3 : Loading External Swf = "undefined"?

Oct 25, 2006

I know that there are alot of posts about loading external swf or links into the carousel. However the problem i am havng is when i click on a carousel icon it returns with an error in the output window saying;

Error opening URL "file:///F|/1.RYAN/Ass3/undefined"

now obviously this looks like a file path problem, but i have tried to fix this and it still returns the same message. I have also looked at how i called the xml file back and it seem to be ok.

Here is my code:

Code: Select allimport mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;

[code]...

View 14 Replies


Similar Posts:


ActionScript 2.0 :: Undefined Variable Loading External Text

Feb 8, 2005

Trying to augment the Kirupa tutorial "ActionScript Text Animation" [URL] to take an external text file. When I switch out the line:
text = "There is only one..."
with:
myLoadVar = new LoadVars ();
myLoadVar.load("davetextdoc.txt")
myLoadVar.onLoad = function (success){
if (success == true) {
output.variable = "text"
output.text=myLoadVar.text;
}}
I get the word "undefined" repeatedly loading itself. The text file is properly formatted (text=dave's text here...) I've tried untold permutations to self-solve.

View 3 Replies

Carousel With Images Loading Via XML ... Mod?

Mar 30, 2010

I am using the Casousel3 tutorial and getting some cool effects but would like to make some mods - but don't really have the knowledge it seems to do them. I have tried but only succeeded in creating a rather nice white screen. I would like to be able to bring in the images via xml at 75% their original size so that when i click them I can enlarge them too 100% (part where the text comes in - have sorted the enlarging) and not get any pixelisation appearing. I would also like to be able to preload the images as they are loading (with that swirl loading graphic if possible !?)

View 1 Replies

Xml :: External Links From Flash Carousel?

Feb 3, 2011

I'm trying to create a Flash Carousel in AS2. I've made the Carousel itself, and have got the icon images and tooltips from an XML file using this code:

xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;

[Code].....

I have functions for 'over', 'out', and 'released', and to move the carousel automatically, left or right depending on mouse position.

I was wondering if there was a way you could make each individual icon have an external link that leads to a different place on my website when you click on an icon, where I could specify the link url itself in the XML file?

View 3 Replies

ActionScript 2.0 :: Getting Carousel Error When Loading Movieclip

Feb 1, 2010

I am very new to flash and AS and I have been going through a video tutorial that was done in AS2 (I believe). I did what the tutorial told me to do but when I tested it at this point, it came back with an error: The class or interface 'item' could not be loaded.[code]...

View 2 Replies

Actionscript 2.0 :: Carousel Error When Loading Movieclip

Feb 1, 2010

Here is the code that I have so far for the carousel project I am working on. I have been using the sites carousel video tutorials but I am stuck at this point.

/*variable which stores how many items in carousel*/
var numOfItem:Number = 1;
/*variable which indicates how wide and how tall the carousel to be*/
var radiusX:Number = 250;

[Code].....

View 3 Replies

Carousel Tutorial Part 3 - Add A Link To An External Url In Each Of The Detailed Descriptions?

Nov 12, 2009

I have completed the Carousel part 3 tutorial and everything is working perfectly. However, I want to add a link to an external url in each of the detailed descriptions. How would I add this to the xml file?

View 2 Replies

ActionScript 2.0 :: Loading XML But Coming Up Undefined

Feb 8, 2007

First I'm trying to get this XML file to load, but it's coming up undefined. Here's the actionscript:

var MyX:XML=new XML();
MyX.ignoreWhite=true;
var urls:Array=new Array();
var captions:Array=new Array();
MyX.onLoad=function(){
[Code] .....

I have a movieclip and text field on the stage with the instance names "holder" and "caption" respectively. I'm using Flash 8, ActionScript 2.0

View 7 Replies

ActionScript 3.0 :: Access Of Undefined Property Loading

Feb 9, 2009

I'm coding a slideshow, and I've commented out everything except importing the pictures so I can focus on it. Now, I have this code work in the timeline of a .fla file, but it's not working when I code it for a class.

Code:
package {
import fl.transitions.Tween;
import fl.transitions.easing.*;
import flash.display.MovieClip;
import fl.transitions.TweenEvent;
[Code] .....

I'm getting three errors.
1120: Access of undefined property loading.
1180: Call to a possibly undefined method addChild.
1120: Access of undefined property loading.

View 4 Replies

ActionScript 2.0 :: External Text - Undefined (re-post)?

Oct 19, 2011

my problem is that i have an external text file feeding my flash website. it all works fine with the preview but when i get it on a remote server then i get "Undefined". I realise a few people have this problem and i still have not found a working solution.

[Code]...

View 1 Replies

ActionScript 2.0 :: Loading Data From Txt File Shows Undefined?

Feb 2, 2009

I have this little code, just loading text from a file, but as the title says, the variable s seams to remain unchanged :S

Code:
var s:String;
var loadText:LoadVars = new LoadVars();

[code]......

View 9 Replies

ActionScript 2.0 :: Load External Text Shows Undefined

Mar 18, 2010

I have a swf file that loads other swf files with an XML file, which are populated by external text on the fly.

Everything works perfectly on my computer. And it all worked perfectly on a previous website.

Now, for some reason, when I load these onto my website, the text fields show 'Undefined'.[code]...

View 2 Replies

ActionScript 2.0 :: 'undefined' In Txt Area And Picture Slider Only Loading Some Pics

May 21, 2009

I made a website that does it alright on the internet on my PC, and I haven't heard any complaints from my client either, but a few hours ago I visited a friend and on his PC the website didn't work exactly as it should. So I wanted to ask all who reads this, to please have a look at this and tell me if you have the same problem or not.

The website is here

When you're on the opening page you have to press the 1st button under the pics (the word = the link), then a centered flash pop-up appears with in the upper banner the buttons of the 4 different pages. In the Arabic "gate" there should always be a text scroller.

The problems were the following:

- - On some of the pages the text scroller didn't appear, or the scroller appeared but where the text should have been there was the word 'undefined'

- - On the "wat" page, there should be a horizontal picture slider behind that Arabic gate. On the PC of my friend only a few pictures appeared, making the gaps between the pics that were shown gigantic and with variable sizes (normally, with all the pics shown, the spaces between the pics are all the same width)

View 3 Replies

ActionScript 2.0 :: External XML Loads But Content Variable Remains Undefined?

Sep 5, 2005

what i have got is an external XML file that loads the news data into flash where it is there parsed and assigned to a dynamic text box and styled with a style sheet. Through trace() if found the xml gets loaded properly but when i upload it to a webserver it does not always load. Many times the variable just reads out undefined. If i refresh it a few times it will eventually load. This is not acceptable of course. It needs to try until it loads. I thought i had the code to make this happen but Im afraid im mistaken.here is the code, its inside the first frame of a simple swf with only the dynamic text box.

Code:
stop();
trace("1");

[code]......

View 4 Replies

ActionScript 3.0 :: Loading External Assets - Screen Stops Until The Loading Is Finished?

Oct 11, 2009

I have a movieclip clip that plays when the movie starts, the movieclip is a visual assets that show's that the application is loading some information but it's not showing any loading progress, just playing while the assets are loaded.I created a for loop that will load the assets using a simple loader, and then when the object is loaded the application push the object to an array.Problem is that when the loading starts all the animation that i have on screen stops until the loading is finished.The whole point is that the animation will play while it's loading.

View 10 Replies

Flash :: Loading / Unloading External SWF Using Buttons From Loaded External Files

Feb 23, 2011

I spent almost a week trying to figure out how to unload a currently loaded swf using its button and loading a new swf... I have three files, a main.fla, file1.fla and file2.fla. In my main.fla, I have a code which loads the other two files. If i will click the "unload" button in the file1.swf, I would like the main.fla to unload the file1.swf and load the other file, file2.swf. Here is the code to load the file1.swf:

[Code]....

View 1 Replies

ActionScript 2.0 :: Loading External XML On An External Server Into Flash Movie When It Is Uploaded

Jun 4, 2004

[FMX] I am having trouble loading an XML file on an external server into my flash movie when it is uploaded. The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.

View 2 Replies

ActionScript 3.0 :: External Classes - Get Errors : 1120: Access Of Undefined Property _onDemand?

Mar 22, 2010

I have a movieClip that I want to also function as a button.Instance name is "_onDemand". This movieClip is on the stage of my Home.fla."_onDemand" movieClip properties  Class:HomePage Base clase: flash.display.MovieClip.I want the user to click this movieClip and take the user to an external URL within a new browser window or tab.My code:

package com.cox4college.pages
{
import com.gaiaframework.templates.AbstractPage;[code]....

Getting the following errors:1120: Access of undefined property _onDemand.

View 9 Replies

Actionscript 3 :: Importing External Classes - (Error 1120: Access Of Undefined Property)?

Aug 20, 2011

I'm currently working on a Flash platform game and I'm trying to make each level have its own class that defines a hitTest function (Each class is linked to the MovieClip of the level), which would allow the character to walk on the level. Whenever I try to import the subclass into the Document class, errors start popping up and it is driving me crazy (Error 1120: Access of undefined property)

Document Class (Class_Main.as):
package
{[code]....

View 2 Replies

ActionScript 3.0 :: Loading In And External Swf And Unloading It From A MC Button Inside The External Swf?

Nov 2, 2010

I used to do this fine with AS2 and now i'm struggling to get it to work in AS3.my code is as follows:

PW1.addEventListener( MouseEvent.CLICK,loader1 );
//==================== PS function =============================================
var ldr:Loader = new Loader();

[code].....

View 3 Replies

ActionScript 3.0 :: Loading External SWFs From Another External Swf Into The Main SWF Container?

May 4, 2011

I have created a main "site.swf" file that loads a "default.swf" file into a container after a preloader. On this default.swf file I have buttons that needs to load new external SWF files in its place in the container. All of the external SWFs contain buttons and navigations that will also call up other external SWFs into this container. So, I would like to know how to program each button (some are movieclips as buttons) to unload itself and load the respective SWF into the container (eg. AboutUsButton to call up aboutus.swf into the container). I do not have a main navigation on the site.swf file bacause the navigation changes on each SWF that needs to be loaded into the container.

View 2 Replies

ActionScript 3.0 :: Loading External Pngs And External Text With Html?

Jul 19, 2009

I want to load external png's through this code:

(for this code, check the mcBandPreloader in de .fla file)

Code:
var imageLoader:Loader;
var RespJpeg:String = "images/arch1Proj.jpg"
function loadImage(url:String):void {

[Code]....

Here the problem is that I can't type html in my external txt file. (I did checked the html button in Dynamic Text Properties. What am I doing wrong here?

.fla can be downloaded at [URL]

View 2 Replies

ActionScript 2.0 :: Loading A External Swf Into A Movie - Its Loading Only A Part Of It?

Mar 16, 2004

I'm loading a external swf into a movie everything is fine with that. The only problem is that its loading only a part of it. Does anybody know why? Also, this swf is a mp3 player with streaming. The streaming part works but the playback doesn't.If i start only the mp3 player by itself it's working.here is the fla for the player

View 3 Replies

ActionScript 2.0 :: External Swf Loading Into Target Movieclip Loading

Apr 20, 2005

I'm trying to load a SWF movie into a target movieclip called blankmc. The SWF movie is loaded from an absolute URL (eg. [URL]/img/20042005113934movie3.swf ) My Loading Progress code fails to detect the SWF file size. However the same code works perfectly for a JPG! Essentially the .getBytesLoaded() and .getBytesTotal fail to work. Why is this and how can I get it to work for loading SWFs?

[CODE]...

View 3 Replies

ActionScript 3.0 :: Stop .mp3 And .flv In External Swfs When Loading A New External Swf?

Apr 10, 2009

Specifically, I am building a flash page that loads external swf files and inside some of the external swf  files, I would like to add audio and flash video (flv) streaming from the Flaash Media Server. In some of the external swf files, (using a FLVPlayback component) when you press a button on the main timeline to unload the current playing swf the audio/video continues to play after loading the new external swf file.So I believe that my approach is all wrong and I should be working to dynamically load the .mp3 and.flvs in the external swf ... my questiion is how to unload those assets when loading the new external swf

View 1 Replies

ActionScript 3.0 :: Loading External Swf Which Attached With Its Own External Class?

Jun 27, 2009

Lets say I have Main.swf and sub.swf, and I wanna load sub when I press a button from Main, but sub.swf has its own external class file attached, so here is the problem, when I load sub using loader class and I would get this message from the output panel:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at subScript()

seems loader class can not access sub.swf's external class when sub is being loaded.

View 1 Replies

ActionScript 3.0 :: Loading External Swf That Loads Other External Files?

Apr 24, 2010

Lets say I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any limitation or setting preventing external swfs loading other content?

View 2 Replies

ActionScript 2.0 :: Loading An External .swf Inside An External .swf?

May 24, 2005

I created a site using Kirupa's external .swf loading tutorial. Now in one of my externally loaded .swf's, I am loading another external .swf. I've gotten this to work fine, but the second external .swf (loaded into the first) contains buttons that will swap this second external .swf with another external .swf. I can't seem to get the AS references to the variables set up correctly in order to swap the swf's. The initial .swf loads fine, but the button control gets complicated inside it. It sounds rather confusing, so I've included a link to the .fla's and .swf's below.

[URL]

The file structure:

-band.swf load's profiles_main.swf

-The buttons in profiles_main.swf are trying to load chris.swf (swapping it entirely with profiles_main.swf)

View 3 Replies

IDE :: Loading External Swf That Loads Other External Files?

Apr 24, 2010

I have subgallery.swf file that loads jpeg images. And I have gallery.swf file that loads subgallery.swf.The jpeg images and both swf files are in the same folder.When I test gallery.swf it loads subgallery.swf but subgallery.swf doesn't load images. When testing subgallery.swf alone, it loads jpeg files.Is there any security limitation or setting preventing external swfs loading other content?

View 3 Replies

ActionScript 3.0 :: Flash Error 1120: Access Of Undefined Pro: MovieclipAccess Of Undefined Property: Movieclip

Oct 12, 2010

im having problems getting some as3 generated (not drawn on stage) movie clips moving across the screen.

Code:
package {
import flash.geom.ColorTransform;
import flash.display.MovieClip;
import fl.motion.Color;
import flash.display.*;

[code]....

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved