Kerry Thompson wrote:
Alexander Farber wrote:

Is there please an AS3-event broadcasted
when a Sprite is shown or hidden?

Not per se, but you might try Event.RENDER. I doubt it would work,
though--it's dispatched when the display list is about to be updated
and rendered. You'd get a lot of those to process, and I'm not even
sure if changing the visibility causes the update list to be updated.


Turning visible off will stop render events. But it is a very late event, needs to be requested each time and is not guaranteed for every frame. It really isn't a good candidate for this.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to