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.
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
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
Post a Comment