just wrote this little thing:

ns.onStatus = function(info) {  
if (info.code == "NetStream.Play.Stop") {     
        gotoAndPlay(10);        
}       
};

and it works very well!

Thanks, Vishal,

NIk

On 4/28/07, Vishal Kapur <[EMAIL PROTECTED]> wrote:
Check out NetStream.onStatus().


On 4/28/07, nik crosina <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I got a question which is very easy I guess. I want to play a video
> clip on frame one, and once that is finished move on to the next item
> on the timeline.
>
> I am getting the clip to play with the following script (I need to set
> an absolute path as it is a DVD-ROM, using Zinc.
>
> here is what I got so far:
>
> var videoPath = mdm.Application.path+"data/av/IntroClip.flv"
> var nc:NetConnection = new NetConnection();
>
> nc.connect(null);
>
> var ns:NetStream = new NetStream(nc);
>
> IntroClip_video.attachVideo (ns);
> ns.play (videoPath);
>
>
> Is there something like playDone, or media.stopped. Is it a listener I
> looking for?
>
> Thanks,
>
>
> Nik Crosina
> _______________________________________________
> [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
>
_______________________________________________
[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



--
Nik C
_______________________________________________
[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

Reply via email to