Replacing movie clip


hi,

here's problem. have movieclip "a_mc". want put content of second movieclip "b_mc" "a_mc" or somehow replace a_mc b_mc , keep name. tried following i'm getting nowhere:

a_mc.swapdepths(b_mc);
removemovieclip(a_mc);
b_mc._name = "a_mc";

any ideas on how replace movieclip ?

there's no way replace existing movieclip existing movieclip. however, can create new movieclip via createemptymovieclip or attachmovie or duplicatemovieclip replaces existing one.


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Authentication error while password reset - Raspberry Pi Forums

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums