Are you using streaming video or progressive download?
Please explain the context of this code... How is your flash movie setup and
where exactly is this code located? Is this code perhaps getting executed
repeatedly or going out of scope?
-Steve
-----------------------------------------------------------------------
Date: Mon, 19 Jun 2006 10:48:06 -0400
From: "Sarah Plowright" <[EMAIL PROTECTED]>
Subject: [Flashcoders] FLVPlayback progress event listener
I have a feeling I'm missing something incredibly stupid...
I'm having problems with my FLVPlayback progress event listener -
everytime I test it, it pauses, then the the event is called once, and
my FLV starts playing. My code is as follows:
var listenerObject:Object = new Object();
listenerObject.progress = function(eventObject:Object):Void {
trace('progress');
var percent = introflv.bytesLoaded/introflv.bytesTotal;
trace(percent);
};
introflv.addEventListener("progress", listenerObject);
Shouldn't it be calling progress more than once? The docs say it's
called every .25 seconds.
Thanks,
Sarah
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com