PDA

View Full Version : mc help flash 5



rlLife
September 5th, 2003, 05:20 PM
is there a way to put an action on a button to load a movie clip out of my library into a blank movie clip i have on my main sceen

Voetsjoeba
September 5th, 2003, 05:23 PM
http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary508.html ;)

claudio
September 5th, 2003, 05:26 PM
Yes. Give your blank mc an instance name of container_mc. Open library, select the movie clip you want to load, right click it and select linkage. Now check the export for actionscript option. On the Identifier field, write library_mc.
Now apply the following code on the button:on (release) {
container_mc.attachMovie("library_mc", "attached_mc", 100);
}

rlLife
September 5th, 2003, 05:41 PM
thank you guys so much, i promise soon i will stop asking so many questions and start having answers.

/r/

Voetsjoeba
September 6th, 2003, 03:13 AM
Stop asking questions ? Why ? You're free to ask anything you want :)