Victor,
Try setting the sprite's locZ property. Layering on stage doesn't really occur based 
on sprite channel numbers, rather the layering order is determined by each sprite's 
locZ value (the locZ value of a sprite defaults to the sprite's channel number so by 
default, it appears as if sprite channel numbers are the determining factor). The locZ 
property of a sprite can have a value from -2 billion to +2 billion (not zero though), 
and therefore on rollover you can simply set its value to something really high 
(100000?) and then when the mouse leaves, reset the locZ to the sprite's channel 
number.

Have fun,
Tom

> -----Original Message-----
> From: victor zambrano [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 22, 2001 11:34 AM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> bring to front a sprite on rollover
> 
> 
> i want to make a sprite come to the front (on top of others 
> sprites) on
> rollover. to explain it better, i have a bunch of images on 
> the score, and
> sometimes they hide one each other, so i want to bring the 
> rollovered sprite
> to the front, so išll be able to see it completely.
> can i do that with lingo, without changing members?
> if not, how?
> 
> thanks in advance,
> 
> victor
> -- 
> victor zambrano
> [EMAIL PROTECTED]
> -- 
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to