Solved

Detect if video FLV is finished, play timeline and How to control this video

Posted on 2004-09-23
3
943 Views
Last Modified: 2011-10-03
http://www.thebeatles.mus.br/4.zip

This is my  fla with a FLV video. I use this code to play it:

_global.file="video1.flv";
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream= new NetStream (netConn);
my_video.attachVideo (netStream);
netStream.setBufferTime(10);
netStream.play(_global.file);

stop();


How can I detect if this video is finished ? How can I put control like play, pause, rew, ff to this video? Can I use components to control it? Can you put how I can do this in my file?

Thanks a lot.
0
Comment
Question by:carlosgon
[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
3 Comments
 
LVL 6

Accepted Solution

by:
hsmtp earned 125 total points
ID: 12135687
This is from help

To add a media component to an application:
1. In Flash, select File > New; then select Flash Document.
2. In the Components panel, double-click the MediaPlayback component to add it to the Stage.
3. In the Property inspector, do the following:
- Enter the instance name myMedia.
- Click Launch Component Inspector.
4. In the Component inspector, enter http://www.cathphoto.com/c.flv in the URL text box.
5. Select Control > Test Movie to see the media play.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

622 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