Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]

Subject: Re: FLASH: Z-Index
From: Randy Kato
Date: Thu, 29 Jun 2000 16:41:58 +0100


There is no z-indexing capacity in Flash 4, but there are ways to fake it. The
method will differ depending upon what you're ultimate goal is, but basically
it involves duplicating the movie clip into a higher level, and then removing
the previous/lower copy (unless it's the original which can't be removed,
though it can be made invisible). Use a variable, we'll call it X, to
determine the level so that each of the 5 clips will read from the same
ever-increasing variable (and add to it) -- meaning each onRelease should have
actionscript to duplicate into levelX, remove the old MC, set X to X+5 (for
the next MC to use).


Mark Hirst wrote:

> Does anyone know whether you can change the z-index of a movie clip. Like
> say you have 5 movie clips on one layer, I want to be able to click on one
> and bring it too the front, is that possible with action scripting?

'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
...... . . . . . . . . .

flasher is generously supported by...
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

  FLASH: Z-Index, Mark Hirst

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]