[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Question about depth control

From: George Tsai
Subject: Re: [Swftools-common] Question about depth control
Date: Sun, 12 Jul 2009 02:17:41 +0800

Thank you for all the replies. After some testing, I figured out that the change of depth can be achieved by simply 1) deleting the instance and putting it back again in later frames (.del & .put), or 2) break apart the main sprite into smaller sprites. This way you only need to define the instance once, and your SWF file size won't increase due to the duplicate instance declaration. Thanks again.

On Mon, Jul 6, 2009 at 5:40 PM, filip sound <address@hidden> wrote:
in AS3 there's the setChildIndex function for containers.
i dont know much about swfc, sorry.

On Mon, Jul 6, 2009 at 11:37 AM, Matthias Kramm <address@hidden> wrote:
On Mon, Jul 06, 2009 at 01:12:54PM +0800, George Tsai <address@hidden> wrote:
> Yes, I am referring to flash. I am using the swfc command tool to
> generate flash slideshows. Within the same sprite animation, I have to
> bring the same text/image to the front (above all other images) from
> time to time. Currently I have to define the same instance multiple
> times because the 'above' and 'below' features are not supported yet
> (according to the swfc manual). It works, but takes up unnecessary
> space. I am wondering if anyone would know a better way of bringing
> them to the front within the same sprite without duplicate
> declaration.

ActionScript supports a "swapDepth" function, which sounds
like it might be what you're after.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]