Hello there.
I’ve got into a problem when working with the Video object in Flash 7.
I created a MovieClip with a video instance inside, named “video”.
This MovieClip is associated with an action script class called “FlashVideo”,
witch creates a NetConnection and a NetStream object to play a FLV video.
This is the class (quite simple):
class FlashVideo {
public var video:Video; // Refer to the video instance inside the MovieClip
public function FlashVideo() {
var nc = new NetConnection();
nc.connect( null );
var ns = new NetStream( nc );
this.video.attachVideo( ns );
ns.play("http://www.helpexamples.com/flash/video/water.flv");
}
}
Now I add an instance of the MovieClip on my stage, but the video doesn’t play…
Any hints about this?
Thanks,
Ian L.