USERNAME:
PASSWORD:
Save Info!
Logging in…
This topic is 1 page long.
[ Profile | Posts | Contact ]
Posted at: 10/29/09 04:19 AM
Sign-Up: 06/16/07
Posts: 668
How would I make a movie clip stay on top of my stage? I have several other movie clips, all draggable and once clicked are brought to the top, and I have another movie clip play over them, but the last dragged movie clip always appears over it. Does anyone know how to prevent this?
k10's deviantART
Posted at: 10/29/09 04:37 AM
Sign-Up: 10/13/07
Posts: 276
Well if your using as2.0 you can jsut set its depth to a KABILLION. Or in as3.0 Id suggest you search around for depth sorting tutorials and find one that works for you.
BOOM HEADSHOT
Posted at: 10/29/09 04:42 AM
Sign-Up: 06/10/08
Posts: 355
What AS have you got on your dragable objects to bring them to the front when clicked?
I went outside once the graphics were awesome but the gameplay was shit
Posted at: 10/29/09 04:44 AM
Sign-Up: 04/22/05
Posts: 9,697
There's probably a better way to organise stuff than just swapping everything's depth. What code are you using? I couldn't reproduce your problem using normal dragging methods :/
Posted at: 10/29/09 06:42 AM
At 10/29/09 04:44 AM, Paranoia wrote: There's probably a better way to organise stuff than just swapping everything's depth. What code are you using? I couldn't reproduce your problem using normal dragging methods :/
I'm using:
on (press) { startDrag (this); this.swapDepths(1); } on (release) { stopDrag(); }
All times are Eastern Standard Time (GMT -5) | Current Time: 03:38 AM
<< Back