Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-21-2007, 04:18 AM   #1
Registered User
Join Date: Sep 2006
Posts: 6
Default auto play next flv file problems

dear all expert,

i need a help on this coding ...
i actually want to play the next flv file after the other 1 finish with out selected the flv by the use the problem i hav now is the 1st flv can play but for the 2nd , 3rd and so on will skip the screen is like jumping jumping...

here is my source file pelase click to download
thank you

- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
- this case, my_FLVPlybk is "display"
import mx.video.*;
//my_FLVPlybk.contentPath = "discodance.flv";
var listenerObject:Object = new Object();
// listen for complete event; play new FLV
listenerObject.complete = function(eventObject:Object):Void {
if (my_FLVPlybk.contentPath == "discodance.flv") {
}else if (my_FLVPlybk.contentPath == "fish.flv") {
}else if (my_FLVPlybk.contentPath == "fluff_hammer.flv") {

listenerObject.playheadUpdate = function(eventObject:Object):Void {
var myPlayhead = my_FLVPlybk.playheadTime;
myPlayhead1 = int(myPlayhead/60);
myPlayheadsec = int(myPlayhead - int(myPlayhead/60) * 60);
var strSecond = myPlayheadsec.toString();

if (strSecond.length == 1) {
strSecond = '0' + strSecond;
myPlayhead2 = strSecond ;

my_FLVPlybk.addEventListener("complete",listenerOb ject);
my_FLVPlybk.addEventListener("playheadUpdate", listenerObject);
time = (my_FLVPlybk.state +" "+ myPlayhead1 + ":" + myPlayhead2 + " of 10sec");
jikey is offline   Reply With Quote

Thread Tools
Display Modes 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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing an FLV file without the FLV extension? Jadeivy Components 2 12-05-2007 03:23 PM
i have a 3mb flv file, and i want to do a progressive download....but... dtrace Components 1 06-20-2007 03:45 AM
FLV chosen to play from XML - Flash 8 Pro. aussie01 ActionScript 2.0 1 03-01-2006 01:58 PM
Can I play MOV and AVI inside the flash file? anup Other Flash General Questions 4 02-03-2006 11:08 AM
Help! Need to duplicate movie clip, play it, stop it based on loaded text file happysmp ActionScript 2.0 1 09-29-2004 11:49 PM

All times are GMT. The time now is 11:36 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.