FLVPlayback not found
Not sure what I'm doing wrong here. I wrote a bit of code to stream some video. It's just the start, but I wanted to make sure the code was correct so far so I tried to test it, but it fails. I get the error:
1172: Definition fl.video:FLVPlayback could not be found.
What am I doing wrong? Am I using the wrong player?
package
{
import fl.video.FLVPlayback;
import flash.display.MovieClip;
/**
* ...
* @7111211 Chris
*/
public class MVCVideo3 extends MovieClip
{
private var sVideoSource:String = "MapleSugarFestival.flv";
public function MVCVideo3()
{
init();
}
private function init():void
{
var flvC:FLVPlayback = new FLVPlayback();
flvC.source = sVideoSource;
addChild(flvC);
flvC.play();
}
}
}