Using Communication Objects > Video object > Creating video objects dynamically

 

Creating video objects dynamically

You can add video objects to your application only from inside the Flash MX authoring environment, by dragging an embedded video object from the Library to the Stage. However, if you want to implement video objects from within your ActionScript code, you can do so by embedding them in a movie clip. This technique lets you create and remove video objects dynamically using duplicateMovieClip() and removeMovieClip().