Re: [Flashcoders] how to know that thae video is finished? usingFLVPlayback

2007-01-18 Thread Muzak
--- 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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Burak KALAYCI
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Burak KALAYCI
://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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Duncan Reid
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Helen Triolo
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread natalia Vikhtinskaya
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

RE: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Karina Steffens
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Helen Triolo
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);

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread natalia Vikhtinskaya
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?

RE: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Karina Steffens
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

Re: [Flashcoders] how to know that thae video is finished? using FLVPlayback

2007-01-18 Thread Helen Triolo
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Muzak
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? &

RE: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Karina Steffens
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Hans Wichman
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

RE: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread Karina Steffens
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 >

Re: [Flashcoders] how to know that thae video is finished?

2007-01-18 Thread natalia Vikhtinskaya
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-17 Thread Matthias Dittgen
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 + "

Re: [Flashcoders] how to know that thae video is finished?

2007-01-17 Thread Shang
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

Re: [Flashcoders] how to know that thae video is finished?

2007-01-17 Thread Jordan Snyder
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

[Flashcoders] how to know that thae video is finished?

2007-01-17 Thread natalia Vikhtinskaya
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