-
Senior Member
[RESOLVED] depth issue
I have graphical object on stage which i would like to place above all objects on stage which were added to the stage using actionscript by my document class how do i tell this object to be on top? I'm having trouble because the other objects are added at diffrent times in my scripts execution and i can't pin down how to add the graphical object at the appropriate time.
-
There are different ways to accomplish this. The easiest would be to set the z-index for that item to the highest number. Another was would be to create a blank container on the stage below that graphical object and load all of your items to it, instead of the stage.
-
Oh yeah you could also use AddChildAd() method and add stuff in your class at the lowest visible z-index.
-
i think he means "addChildAt".
-
oops MrSmither you are correct in one way... I did mean addChildAt, however I am not a man...I am a woman... ; )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|