face2six
06-19-2002, 03:10 PM
Apologies if this has been hashed over but I would like to attach 2 movie clips into the same parent clip with one mouse press
here is the code on the button
on (press) {
_root.main.attachMovie("text2", "newText2", 1);
_root.main.attachMovie("slider", "newslider2", 1);
}
when I do this I only get the second clip , "slider" to attach to the parent clip "main". It seem only the second one listed gets loaded because when I switch the order "text2" loads but "slider" is nowhere to be seen.
Is it not possible to load 2 movieClips with same button press? or am I missing somethng painfully obvious
thanks
here is the code on the button
on (press) {
_root.main.attachMovie("text2", "newText2", 1);
_root.main.attachMovie("slider", "newslider2", 1);
}
when I do this I only get the second clip , "slider" to attach to the parent clip "main". It seem only the second one listed gets loaded because when I switch the order "text2" loads but "slider" is nowhere to be seen.
Is it not possible to load 2 movieClips with same button press? or am I missing somethng painfully obvious
thanks