Link to home
Start Free TrialLog in
Avatar of cmandan
cmandan

asked on

detach video

Hi all:

I have this small code that attaches video to the video object in a flash file...

video1_mc.attachVideo(test_cam);

how do I detach it now...basically, when I close the stream, it still keeps playing the video on the screen. what I want to do is clear the video screen and make it blank.

thanks,
chirag
Avatar of negatyve
negatyve

function clearVideo(){
      video1_mc.attachVideo(null);
      video1_mc.clear();
}

clearVideo();
ASKER CERTIFIED SOLUTION
Avatar of Zeffer
Zeffer
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial