Now, let's load some SWFs into our main movie and use Tell Target to affect MCs within the loaded SWF:
Affecting a MC within a loaded SWF:
- Begin Tell Target ("_level#/MCINSTANCEName")
Affecting a MC within a MC within a loaded SWF:
- Begin Tell Target ("_level#/MCINSTANCEName/MCINSTANCEName")
The thing that makes this work is targeting the loaded SWFs level # (You set a SWFs level on the Load Movie Dialog) The beautiful thing about this method is that it does not matter where you are giving this command from - you could have a button inside four movie clips inside two loaded SWFs and it would still work!
A couple of things to remember, you cannot target a scene, so if you have a button within a MC and you want to go to a different scene, the best thing to do is target the main timeline (_level0) and us a goto command to a labelled frame.
To see all this in action, check out the: THE AMAZING FLASHKIT TELL TARGET MACHINE!!
|» Level Intermediate|
Rating: 6 Votes: 118
|No author details available.|
|Download the files used in this tutorial.|
|Download (0 kb)|
|More help? Search our boards for quick answers!|