Swapdepth inside movieclip(s)


i have question using swapdepth.

i have 3 objects. simple buttons.
when i'm using swapdepth works fine. objects response wanted.

question/problem:
when make 1 movieclip of buttons together, won't work anymore.
buttons stay @ same level. must work right?

who can me?

greetings,

peter tollenaar
the netherlands.

hi,
peter,

try

as said , create movie clip named , create 3 more movie clips under movie clip named b, c , d , using code on seperate layer on main time line . found working .


a.b.onpress=function(){
this.swapdepths(this.getnexthighestdepth());


}
a.c.onpress=function(){
this.swapdepths(this.getnexthighestdepth());


}
a.d.onpress=function(){
this.swapdepths(this.getnexthighestdepth());


}

thanks,
gunjan


More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support