Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : Comunication between movies


Txar?n
4/7/2004 10:33:26 PM
I have 3 movies siting in the same HTML, how can I gety index movie to give orders to other movies
and viseversa?
Thanks
Dinghus
4/7/2004 10:36:23 PM
Use localConnection. You can see this in action at [L=My
website]http://www.donomite.com/calendar/calendar21.html[/L]

The calendar listing is a seperate movie from the calendar itself. In this
case communication is only 1 way, but going in the other direction is done the
same way with localConnection
Txar?n
4/7/2004 10:46:23 PM
What I would like is the top and the pictureBanner to act as butons to the
index and main movie.
Your page is about sending text to an other movie.
Maybe you could explain some details about "localConnection"!?

Thanks
[L=Check the site in question from this
link.]http://www.capstores.be/index.htm[/L]
rlc5611
4/9/2004 2:29:28 AM
any movie can communicate with any other by prefixing with the level number.

othermoviesvar = _level2.localvar

_level3.gotoAndPlay()

Jack.
4/9/2004 2:49:38 PM
for detailed explanation, check this link-
http://www.macromedia.com/support/flash/action_scripts/local_connection_objects/

for example usage -
http://www.jackleaman.co.uk/test/index.html

AddThis Social Bookmark Button