thanks again, tom. i came to a solution with a repeat coomand that sent back
all the sprites to their default value through spriteNum, but yours is
smoother and more clean, so i'll use it. also, i'll take a look to that
sendAllSprites command, it looks quite useful.
victor
--
victor zambrano
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
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
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
thanks to tom and buzz. i tried it and it works.
now i'll figure out a way of keeping the sprite frontmost until rollovering
another one. it'll need some lingo, but if somebody has a shortcut, or an
idea, i would be glad to hear it. i imagine that with a movie script that
checks the mouseenter