all groups > flash actionscript > june 2004 >
You're in the

flash actionscript

group:

interleaving layers of multi layer objects


interleaving layers of multi layer objects xyz123
6/17/2004 8:07:54 PM
flash actionscript:
Hello,

Given:
object_1: 2 layers
object_2: 2 layers
Both movable objects, just squares for the occasion of this question,
positioned on the stage. When I move object_1 partly over object_2 I do want
layer "1" of object_1 to be over layer "1" of object_2 AND also layer "2" of
object_1 to be over layer "2" of object_2 BUT below layer 1 of object2.
so...
........===lay1 obj1====
...............................+++++++lay1 obj2++++++
........===lay2 obj1====
...............................+++++++lay2 obj2++++++

Is there a way to get this interleaving relation to work or get it simulated?

Any ideas.......thanks!


Re: interleaving layers of multi layer objects kglad
6/18/2004 1:10:03 AM
layers don't exist outside the authoring environment, so you can't interweave
layers. you can fake it though by making object_1 a movieclip and making
whatever's on layer 1 into a movieclip and whatever's on layer 2 into a
movieclip. likewise, for object_2. you can then control the depths of the
movieclips to yield the effect you want.
AddThis Social Bookmark Button