Hi,

I am having a big problem with an event not firing unless the video is
encoded with flix pro (of which i only have the demo)
the code is below and i can't seem to find anything wrong with it, or is there?
should i use the 'FLVPlayback' component?

What woudl teh code be in that case?

//playback intro clip
//var videoPath = mdm.Application.path+"data/intro/intro.flv";
var videoPath = "data/intro/intro.flv"

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
IntroClip_video.attachVideo (ns);
ns.play (videoPath);

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


Thank you very much!

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