Hello All,
Could someone point to me some tutorial on how to control another swf in a html page?
I’m having a 2 flash movies in my web page (let’s say index.html , movie01.swf and movie02.swf). Is there a way, when something happens on movie01 (like a click) that movie02 does something as well like plays a MC? My HTML page has 3 frames, 1 top, 1 left, 1 main. Movie01 on top and Movie02 just a small area in left frame.
Ok, here goes, when myButton is pressed, a local connection object will be created, then it will send an incoming message to the function onRecieve with the parameter myTextBox.text (The text you will be inputing in that field) to the reciever movie.
on The first frame of Movietwo.swf (The reciever movie in this case), insert this action:
When the incomingMessage is recieved, the parameter will be assigned to myTextField…Looks confusing, check the attached example then. open both movies together, submit a message, and you’ll get what you submited in the other movie.