
Код:
// Create a NetConnection object
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection
netConn.connect(null);
// Create a NetStream object and define an onStatus() function
var netStream:NetStream = new NetStream(netConn);
// Attach the NetStream video feed to the Video object
my_mc.my_video.attachVideo(netStream);
// Begin playing the FLV file
netStream.play("01.flv");