I am trying to add a 'FLVPlayback
' component, as described on the Adobe site to a very very simple flash movie.
I have no problem at all using this code to instantiate a FLVPlayback object dynamically.
import fl.video.*;
var flvPlayer:FLVPlayback = new FLVPlayback();
addChild(flvPlayer);
//The next line assumes you have copied the skin file to the local directory
flvPlayer.skin = "./SkinUnderPlaySeekMute.swf"
flvPlayer.source = "http://www.helpexamples.com/flash/video/water.flv";