This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > September 2007 > Problem with swap depths in Flash





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with swap depths in Flash
jmbuza

2007-09-18, 6:15 pm

I am attempting to swap depths on 9 items on a web page and it does work and
comes to the front but them it seems to get confused and all of them form
behind comes to the top...

the code I am attempting ot use is:
-----------------------------------------------------------
on (press, dragOver) {
startDrag(_root.btnb);
}
on (release, rollOut, dragOut) {
stopDrag();
}
on (rollOver) {
_root.x +=2;
_root.btnb.swapDepths(_root.x);
}
-----------------------------------------------------------

seen at:

http://clients.id8creative.com/wgp%.../index_785.html

thanks in advance to anyoen who can hlp me with this..

jenny
:frown;

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews