This is a discussion on "how to Reference variables of external swf loaded in flash movie" within the Flash & Multimedia Forum section. This forum, and the thread "how to Reference variables of external swf loaded in flash movie are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
how to Reference variables of external swf loaded in flash movie
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
What i need is to change the flash animation dynamicaly in the topbanner of my site .when one aniamtin finished palying i wanna laod other animation.
wht i hve palnned is to change a variable at the last frame of each swf and by tracking the variable from main movie we can change the swf file in main mov and prload this. or whenever a loaded swf animation is finshed it should change the variable, so that the main movie can change the file and loads it. but to do this i wanna know below info. Can any one tell me how to reference a variable of external swf loaded in to the main movie. i also want to preload this.is it different for different method. especially i need to know for loadMovie(), loadMovieNum(), MovieClipLoader() class, progressbar component . Which one i can choose and how to access the variable in external swf from main movie. Can we change the main movie's variable from external swf coding . if yes how to do , how should we reference it from external swf's timline or AS. please help me with this so that i can complete my work soon. Last edited by balaakrs; Jun 6th, 2007 at 08:49. Reason: Urgency |
|
|
|
|||
|
Re: how to Reference variables of external swf loaded in flash movie
I think this might be what you are looking for...
This article talks about how pulling in an external .swf to a Parent Movie clip makes it part of that parent object, hence, you can reference any variables and so on from the parent object. http://www.quip.net/blog/2006/flash/...-asbroadcaster This is for AS3 so your code is going to look a little different, but is this what you are looking to accomplish? http://www.kirupa.com/forum/showthread.php?p=2112823 Cheers, Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
Last edited by Sgaspar11; Jun 11th, 2007 at 14:52. |
![]() |
| Tags |
| loading external swf |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AS1.0 preloader not showing til whole movie loaded | mindrail | Flash & Multimedia Forum | 0 | Feb 18th, 2008 21:39 |
| accessing variables and actionscript in externally loaded Swf from main movie | balaakrs | Flash & Multimedia Forum | 4 | Sep 8th, 2007 17:19 |
| Form loaded into main movie doesn't work | papalazarou78 | Flash & Multimedia Forum | 4 | Apr 3rd, 2007 18:57 |
| Linking to external.swf movie | wenric | Flash & Multimedia Forum | 3 | Sep 3rd, 2006 17:10 |
| MP3's loaded into Flash.... | courtjester | Flash & Multimedia Forum | 0 | Jan 26th, 2004 02:22 |