-
swapDepths issue...
I have 3 movies at the _root level (Image, Menu, Selector). Inside 1 of the 3 MCs is another MC (color1). The color1 MC is a draggable object. How can I move the color1 MC to the front of the Image MC? I have the following script tagged to the color1 MC, but it's not working.
PHP Code:
onClipEvent (enterFrame) {
this._alpha = _alpha+12;
this.swapDepths(_root["Image"])
}
-
Developing For Dunkets
On the mc that contains color1 you need to put the code above, with a little twist:
PHP Code:
onClipEvent (load) { this.swapDepths(_root["Image"]) } onClipEvent (enterFrame) { this.color1._alpha += 12; }
-
I've tried that too... The image layer still has priority over the draggable MC.
-
If color1 is inside either Menu or Selector, then that movie clip will need to be swapped with Image.
-
Wise you are my friend... hehehe... That did it. Thanks
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
|