Ok, I solved this with the setChildAt()

--- In [email protected], "michrx7" <[EMAIL PROTECTED]> wrote:
>
> How does one go about changing the layer for multiple canvas' in AS3?
> 
> I have two canvas' and Canvas2 is slightly on top of Canvas1 and I 
want 
> to switch it so Canvas1 is slightly on top of Canvas2?
> 
> <mx:Canvas id="Canvas1" x="10" y="10" height="100" width="100"/>
> <mx:Canvas id="Canvas2" x="50" y="50" height="100" width="100"/>
> 
> This creates this two canvas', but Canvas2 is on top of Canvas1. In 
> actionscript I want to switch it so that Canvas1 is on top of Canvas2 
> and then later be able to switch it back.
> 
> Thanks!
>


Reply via email to