PAssing Variables from Flash 2 Flash

Hey everyone!

Here is what i need to do…
On my site, i have 3 different Flash Files. Each playing a different part .eg text, content, menu. (because of the design, i can’t have just 1 file, plus i want 3 seperate ones~!!!)

Bassically im guesisng its passing variables to and from multiple movie clips!
i have no where to start.

Now what i want to try and do, is have the MENU(swf1) target a scene or frame in the CONTENT flash file(swf2)

So that when you click on about us button, it will target (eg.) frame 3 of SWF2, which contains that information!!

ANd also have the MENU(SWF1) be able to also target frames in TEXT(SWF3)

Bassically im guesisng its passing variables to and from multiple movie clips!
i have no where to start.

Has anyone done anthing similar?
or has a FLA i can look at?
or can post some code!!!

Thanks agian KIRUPA!!!

You need to have a look at localConnection(). You should be able to find an example, if not,i`ll try and find you one.

if you could find me an example that would be fantastic!!!
and very much appreciated!!

mean while ill have a search for localconnection!!

thank you very very much!

http://www.gifsrus.com/testfile/localC.zip

i think localconnection was introduced in flash 7 ?

an alternative would be that you use fscommand to communicate via javascript.

this is supported even in flash 5.

Thanks very much mate!
much appreciated!

you don’t have to use fscommand to call javascript functions, simply something like this would work:

getURL("javascript: *functionname*()");

hope this helps :slight_smile:

welcome
Amitgeorge -flash mx

Anytime

stringy Flash GURU