|
-
Attaching movie clip on layer
I need to create new object, but in a layer that is below the tope one. Could somebody help me in this problem? So far I tried some commands:
PHP Code:
_root.attachMovie(...);
- this one creates object above all other. Changing depth doesn't change anything when it's about objects I put manually in editor.
PHP Code:
_root.layername.attachMovie(...);
- this one doesn't work at all.
I would be thankful for any help.
-
So, are you using code to generate the objects on the stage, or are the objects already on the stage.
-
There are some objects which are already on stage and some other I need to create. The problem is that the created objects are always above those who were placed on stage manually.
-
I normally stick to either manually adding movie clips on the stage, or generating them dynamically from the library. I don't usually mix the two, but you can try using the swapDepths() method. Here are some links:
http://01631c77.tinybucks.net
http://43cd0a29.tinybucks.net
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
|