--- Original Message -
From: "Helen Triolo" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Thursday, January 18, 2007 2:12 PM
Subject: Re: [Flashcoders] how to know that thae video is finished?
usingFLVPlayback
> The MediaPlayback components do still
AIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Thursday, January 18, 2007 6:21 PM
Subject: Re: [Flashcoders] how to know that thae video is finished?
> All these codes work well if ns.onStatus==NetStream.Play.Start. But I have
> example of video that plays and has the end
ALAYCI, Manitu Group
http://www.buraks.com
http://www.manitugroup.com
- Original Message -
From: "Helen Triolo" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Thursday, January 18, 2007 4:51 PM
Subject: Re: [Flashcoders] how to know that thae video is
://www.manitugroup.com
- Original Message -
From: "Helen Triolo" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Thursday, January 18, 2007 4:51 PM
Subject: Re: [Flashcoders] how to know that thae video is finished?
> Does ns.time trace something close
I think the onComplete is only available via FMS, i think. There are a
bunch of threads in the archives about this scenario but they can be
difficult to find. Brian Lesser has some really good information on his
site:
http://echo.ryerson.ca/textPublisher/index.html
/**
* This function is assign
yes very close
When the video is finished
ns.time=228.528
and duration=228.66;
So ns.time>=duration-0.5 give me good result.
I don't know how flv was created. So this way allow me to find what I need.
Thank you very much.
2007/1/18, Helen Triolo <[EMAIL PROTECTED]>:
Does ns.time trace somethin
Does ns.time trace something close to duration, just not exactly equal
at the end? If so, just check for >= duration - somesmallamount (maybe
to do with the buffer size) instead of ==. Is this a progressive or
streamed flv, btw?
I dug up this old flashcomm post from Brandon Krakowsky in case
and is
> replaced
> > with mx.video.FLVPlayback
> > http://livedocs.macromedia.com/flash/8/main/00003477.html
> >
> > FLVPlayback component has a "complete" event:
> > http://livedocs.macromedia
try.
Karina
> -Original Message-
> From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED]
> Sent: 18 January 2007 13:35
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] how to know that thae video is finished?
>
> Sorry, maybe I do s
ok I tryed
function videoStatus(){
trace(ns.time==duration)
}
it is always false even when video is finished.
2007/1/18, Helen Triolo <[EMAIL PROTECTED]>:
If you're using a NetStream object, then I believe you want ns.time, not
playheadTime.
Helen
natalia Vikhtinskay
If you're using a NetStream object, then I believe you want ns.time, not
playheadTime.
Helen
natalia Vikhtinskaya wrote:
Sorry, maybe I do something wrong but I can not get playheadTime
var movie_flv:mx.controls.MediaDisplay;
var nc:NetConnection=new NetConnection();
nc.connect(null);
http://livedocs.macromedia.com/flash/8/main/3537.html
regards,
Muzak
- Original Message -
From: "Karina Steffens" <[EMAIL PROTECTED] >
To: "'Flashcoders mailing list'"
Sent: Thursday, January 18, 2007 1:23 PM
Subject: RE: [Flashcoders] how to k
check if the movie is currently paused.
Hope this helps,
Karina
> -Original Message-
> From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED]
> Sent: 18 January 2007 10:00
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] how to know that thae video is finished?
Hi Muzak,
Sounds like this new component might be a better option for Natalia's
problem.
Karina
> -Original Message-
> From: Muzak [mailto:[EMAIL PROTECTED]
> Sent: 18 January 2007 12:43
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] how to know that th
e" event:
http://livedocs.macromedia.com/flash/8/main/3537.html
regards,
Muzak
- Original Message -
From: "Karina Steffens" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'"
Sent: Thursday, January 18, 2007 1:23 PM
Subject: RE: [Fl
ash/8/main/3537.html
regards,
Muzak
- Original Message -
From: "Karina Steffens" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'"
Sent: Thursday, January 18, 2007 1:23 PM
Subject: RE: [Flashcoders] how to know that thae video is finished?
&
Isn't it amazing that Adobe/MM never bothered setting up a simple
onStopMovie event?...
> -Original Message-
> From: Hans Wichman [mailto:[EMAIL PROTECTED]
> Sent: 18 January 2007 12:12
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] how to know that th
a
> -Original Message-
> From: natalia Vikhtinskaya [mailto:[EMAIL PROTECTED]
> Sent: 18 January 2007 10:00
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] how to know that thae video is finished?
>
> Thank you very much for help. I used this for two di
st
> Subject: Re: [Flashcoders] how to know that thae video is finished?
>
> Thank you very much for help. I used this for two different
> flv videos.Ichecked status for both:
> For one I have this trace
>
> NetStream.Play.Start
>
> NetStream.Buffer.Full
>
Thank you very much for help. I used this for two different flv
videos.Ichecked status for both:
For one I have this trace
NetStream.Play.Start
NetStream.Buffer.Full
NetStream.Buffer.Flush
NetStream.Buffer.Empty
and for another
NetStream.Play.Start
NetStream.Buffer.Full
NetStream.Buffer.Flu
use this:
myNetStream.onStatus = function(infoObject:Object):Void {
if (debug==true)
{
status_txt.text += "status (" + this.time + " seconds)\n";
status_txt.text += "\t Level: " + infoObject.level + "\n";
status_txt.text += "\t Code: " + infoObject.code + "
I look through the help file but didn't find onComplete event. What I
always use is onStatus NetStream.Play.Stop.
On 1/18/07, Jordan Snyder <[EMAIL PROTECTED]> wrote:
The onMetaData event is fired in the beginning of the clip if there is
metadata. Using similar code, look at the onComplete eve
The onMetaData event is fired in the beginning of the clip if there is
metadata. Using similar code, look at the onComplete event of the
NetStream class.
cheers
On 1/17/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote:
Hi to all
How to determine that the video is finished?
I tried
ns["onMet
Hi to all
How to determine that the video is finished?
I tried
ns["onMetaData"]=function(obj){
duration=obj.duration;
}
and then
if(ns.time==duration)
but it is always false.
Thank you for any help.
___
Flashcoders@chattyfig.figleaf.com
To change your s
24 matches
Mail list logo