PDA

View Full Version : swapDepth(); ????


paker
07-01-2006, 02:43 PM
hi all, i need your help i got a sample here which i think swapDepth() is the rigth function for it coz (look in the link) i want when i mouseover the "a" the "b" will be behind it , and when i mouseover "b" the "a" will be behind it

i got a script on the invisible button in object "a"

on (rollOver) {
a.swapDepth(10);
b.swapdepth(5);
}



http://www.geocities.com/kenneth_v_us/sample.swf

mooska
07-01-2006, 04:21 PM
Its swapDepths :p

yker22
07-01-2006, 06:44 PM
itīs weird how a little character can screw up the whole thing :(

So we must become sharp eyed coders some day :)

paker
07-02-2006, 03:07 AM
sorry that a typo error but its swapdepths(10);