Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-17-2010, 10:26 PM   PM User | #1
agfre44_9873
New Coder

 
Join Date: Apr 2009
Location: US Florida
Posts: 25
Thanks: 4
Thanked 0 Times in 0 Posts
agfre44_9873 is an unknown quantity at this point
how to add a video to a movie clip

I have 4 movieClips on my stage. Im using event propagation to bring container0, container1, container2, container3 when rolled over with the mouse to the top. It works fine. The problem is that I can't figure out how to attach a video to container0 and bring it to the top as one.

here the code that is working ok....

this.addEventListener(MouseEvent.MOUSE_OVER, onBringToTop, false, 0, true);
function onBringToTop(evt:MouseEvent):void {
var container:MovieClip = evt.target as MovieClip;
setChildIndex(container, numChildren - 1);
}

I've been on this since the begining of time. Please help. Thank you in advance
agfre44_9873 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:53 AM.


Advertisement
Log in to turn off these ads.