I'd like to add this to Tom's note:
Stage layering DOES occur based on sprite channels.
Just placing a sprite into a channel auto-magically sets the locZ
equal to the channel number unless you use Lingo to specify a
different locZ.
Using the Lingo property provides an override on the 'natural'
layering effect that happens because of score channel layout.
hth
-Buzz
At 11:42 AM -0700 8/22/01, Thomas Higgins wrote:
>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!]
[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!]