class flvController { private var flvArray : Array; private var flvHolder : MovieClip; private var flvObject : Video; public var my_nc : NetConnection; public var netStream : NetStream; function flvController () { playClip () } public function playClip () { my_nc = new NetConnection (); // Create a local streaming connection my_nc.connect (null); trace (my_nc.connect (null)) // Create a NetStream object and define an onStatus() function netStream = new NetStream (my_nc); netStream.onStatus = function (infoObj) { trace ("Initial video received: " + infoObj.code); }; // Attach the NetStream video feed to the Video object flvObject.attachVideo (netStream); // Begin playing the FLV file netStream.play ("promogooiconsult.flv"); } } _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Can somebody please take a look at my code. The flv doesnt show, but the
audio I do hear.
- [Flashcoders] FLV not showing, please help Jiri Heitlager
- Re: [Flashcoders] FLV not showing, please help Jim Berkey
- Re: [Flashcoders] FLV not showing, please help Daniel Cascais