Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

communication between flash movies

Status
Not open for further replies.

bentleykf

Programmer
Apr 29, 2002
59
AU
I'm new to flash.

What i'm trying to do is to get two flash movies on a page to communicate between each other.

Basically what i want is a button to be clicked in one movie that changes the frame in the other movie??? is this possible???
 
This is me just thinking out loud but;

Does flash have it's own DOM? I mean similar to Javascript, where the flash plug-in stores flash movies (.swf files) within the browser window as objects and one flash movie can access and change properties of the other flash movies. This could be helpful for what i'm trying to do i guess??
 
Several ways to do what you're looking for.

With Mx, you can use LocalConnection:


Or you can use javascript & Flash Methods to achieve the same results:


This is what I've use here:


Look at the html source. Regards,

oldman3.gif
 
ahhh sweet!!!!, thanks!!!!

both of those work!!!!!

NOTE: dont name flash files to names like "location" or other objects in javascripts DOM otherwise it wont work!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top