I did the following tutorial [URL]Which is exactly what I want to do for my web site and I'm getting the following error Target not found: Target="_root.reverse" Base="_level0.Menu1.instance7"The menu drops but won't reverse
i don't know why this isn't working.i got a button. and when it's pressed, i need it to go and play a frame in a movie clip. i'll test it and then when i click on it, i get this:
Target not found: Target="whoweare" Base="_level0.instance20.instance48.instance49"
this is the code that i am using:
on (press) { tellTarget ("whoweare") { gotoAndPlay (51); } }
In the code below i want to change the _root.broj and _root.logo variables inside the function which returns values from .php file. Inside the function everything works fine and all values are correct but when i trace var broj outside the function it's still 0.
var result_lv:LoadVars = new LoadVars(); var send_lv:LoadVars = new LoadVars(); var broj:Number=0; var logo = new Array();
im getting an error message that flash cant find the base class. i put the as file and the fla file in the same folder, isnt that the first place in the classpath?
I wan to write AS3 program that load image base on the paths in multi XML files (user choose which xml file they want by button), the first time it worked properly but in 2nd, 3rd... time, it have an error:
Code: TypeError: Error #1010: A term is undefined and has no properties. at Main/processXML() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent()
I am a complete nuff nuff when it comes to AS3 so bare with me. I had a website skeleton made by a scripter. He made lots of AS files that call to each other with a few movie clips that are populated via the As files. This worked fine for me, I could update the text and image files no dramas and did so and got the website up and running.
A couple of weeks later had to update the files to add a new section adn text and images. Again all went swimmingly. Fast forward to today. Went to update the files and added a new section as per all the other ones. Everything marries up in relation to naming conventions, placement of files within folders et c but suddenly now I'm getting all these errors. 1017: The definition of base class TextItemTemplate was not found.
I've been trying to edit my sister's Flash website, which was developed by someone else, but I'm a newbie with ActionScript so am having a few difficulties. Every time I try to publish a file, I get this error:
1017: The definition of base class UIForm was not found.
I found documentation online for a similar error - regarding UIComponent - so I tried creating a new source path under ActionScript 3.0 as suggested but no luck. I'm having difficulty finding documentation online specifically for UIForm.I tried searching for the location of UIForm under program files but couldn't find it. Can anyone point me in the right direction? I'm on CS4.
if a condition is true, then:_root.(MC with instance name that is the value of "_root.eelmine").nextFrame(); is this correct?_root._root[eelmine].nextFrame();
So I have this mc: this.slidingMenu it's a mc of a ring shaped menu, which turn around when 2 button get clicked. When the button on the right, mc goes forward until stop(), when the button on the left mc goes reverse until the stop(). In the first case i use gotoanplay, and everything goes fine. For the second I use prevFrame, like this:
I have a method that converts an int to a base60 string (using 0-9, a-z, and A-Z chars), but can't work out how to convert it back again. Here is my method for converting base10 to base60:
public static function toBase60(value:Number):String { var targetBase:uint = 60;
[Code]....
Works well. But how do I get the base60 string back into a base10 int?
Its been a while since i touched flash, which is funny considering i started my web/development career here.Anyway, in PHP there is a nice little function called base_convert (http:url....) which will take any number in any base (e.g. base 10, decimal) and convert it to any base (e.g. base 16, hex).So base_convert (15, 10, 16) will output F, which is convenient.I am wondering, as i cannot seem to find, if there is any similar function in actionscript. I am trying to convert from base 10 to 16 and then base 16 to 36.
I just recently began migrating from AS2 to AS3, and I have of course realized that I can no longer move the "_root" by changing the _x and _y positions of the _root (which no longer exists in AS3). How can I do this in AS3 (specifying _x, _y, _z possibly of the "_root")?
I'm getting the "Base class is final" error on a project that uses the AIR for iOS player. Problem is I didn't set the base class to be final. Also this only happens when I use AIR as the player.
I am using Flash 8 and I'm having a problem with a line of code that uses _root. This code is used in a swf container movie to ensure that my HTML page validates properly. This page is where the line of code comes and explains why it is needed. A List Apart: Flash Satay: Embedding Flash While Supporting Standards
I want to load a .swf file into _level0, so that I can inherit its frame rate and other properties.
I am doing this with a wrapper .swf (so I can also set some variables on the loaded movie eventually).
However, I cannot seem to get the onLoadStart event to be called. onLoadInit is called fine, but onLoadStart is not. (And, I really need this to happen in onLoadStart so that I can set the variables before ANY of the loaded clip's actionscript is executed.)
Im working on a banner testing application coded in flashdevelop on Adobe Air 1.5, testing sizes, kb, animation time etc. One of the tests ran by the application is clickthroughs via clicktags. Since most of these banners are coded in AS2, I�m injecting the variables via querystring when loading the banners swf files (via a browse/drag drop File reference).
PHP Code:
var req:URLRequest = new URLRequest("banner300x250.swf?clickTag=hello");
This works fine for _root references to clicktags, but when the banner is looking for the variable in _level0 I just can�t figure out how to write these variables.I've tried to load a bridge AS2 movie and set the variables there, something like AVM2 localConnection --> AVM1 localConnection --> AVM1 banner, wich worked fine on flash IDE testings, reading all _level0 on the AVM1 bridge, but compiled on Air became into a security errors storm and undefined values for _level0.
I have a dynamic text box with instance name and Var set to page_text. Then I have this code:
[Code]....
Before I get current_page and total_pages. If there are more pages, everything works fine and it shows like "page 1/5", but if I have only one page, it shows "_level0.page_text" instead of "page 1/1". current_page and total_pages trace correctly.
I'm trying to get text to load from my master SWF file (_level0) into an instance on level 5. In the master file all I have is one key frame and this actionscript written into it.
ActionScript Code: var myMCL:MovieClipLoader = new MovieClipLoader(); myMCL.loadClip("preloader.swf", 5); _level5.textField1.text = "testText Field";
In the second swf (preloader.swf) all i have is on keyframe and an instance namedtextField1.Is there any reason why I shouldn't be able to load the text "testText Field" into it?
I have an swf loaded into _level0. On button release I want gotoAndPlay a certain frame label in an swf loaded into an MC named Host on _level0 to. I have the following:
on (release) { _level0.host.gotoAndPlay("Main", "MainStart"); unloadMovieNum (2); }
The unload part looks fine, and I am back to my orginal page. But the page did not jump to 'MainStart'. What am I forgetting?
hey im trying to make a mp3 player and when u click on a play btn it plays that song. but i keep getting this output error "Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error. at slide_fla::MainTimeline/frame1()" this is my code
ActionScript Code: import fl.transitions.Tween; import fl.transitions.easing.*; var slidebind:Rectangle = new Rectangle(3, 3, 159, 0); var loadsnd:URLRequest = new URLRequest ("s1.mp3"); var thissnd:Sound = new Sound();
I an trying to get the _root node of an FLA via JSFL. A co-worker wrote a script that uses _root via actionscript. I was trying to wrap that code into a panel. I have all the trace functionality running and everything running accept I can't seem to access the "_root". I have tried _level0, and almost everything I can think of... I am looking to have JSFL return the _root object from the current file the same way can can hand "_root" to a function. (IE: myfunction( _root ); ) here is my current attempt:
Code: var doc = MMExecute( "fl.getDocumentDOM()._root;" );
I have an external swf, that is a photo gallery, loading into my main swf. When the external swf loads, everything works fine except when you click on a thumbnail in the external swf, the jpg doesn't load. I have it set up that an empty movie clip is created first, then the jpg is loaded into that. I have a feeling it is something with the fact that I am using _root, but I don't have any guesses whats causing the issue and how to fix it.