flash load movieclip
- Started
- Last post
- 3 Responses
- Krimzen
I'd like to load an internal movie clip, the way you would load an external movie clip. Is this possible and if so what code would I use?
Basically I want to have my navigation load into a box but I want the content for that box to be a seperate movie clip.
- unfittoprint0
You have to give a Linkage identifier to you instance movieclip in the Library [right click - linkage].
Then to load [attaching in this case] it to another movie in the Stage [holderMC] u should the following:
//let's say your symbol's name myMC
holderMC.attachMovie("myMC", "newMC", 10);
- Krimzen0
So if I have 15 links that I want swapped out of the same spot this should work?
Do I need to set them to "detach" when another button is clicked?
Also what is "newMC" and "10" used for?
Sorry, I'm bad at ascript :(
- unfittoprint0
it's all explained here:
attachMovie
http://www.macromedia.com/livedo…removeMovieClip
http://www.macromedia.com/livedo…