Solved

detach video

Posted on 2003-07-15
2
662 Views
Last Modified: 2007-12-19
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
0
Comment
Question by:cmandan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Expert Comment

by:negatyve
ID: 8928613
function clearVideo(){
      video1_mc.attachVideo(null);
      video1_mc.clear();
}

clearVideo();
0
 
LVL 23

Accepted Solution

by:
Zeffer earned 50 total points
ID: 8932315
additional info..
as clear(); is the only method of the video object..another way to control them is to embed them in movies and use movie timeline method..stop..play..goto..load..unload..etc

loadMovieNum("video1_mc.swf", 1);


unloadMovieNum(1);


Z
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question