have a button on my main screen that
loads a FLV video clip
I have the FLV in the same folder as the
main screen SWF
The trouble is it has Static for audio
and the video doesn't work
however, this FLV (prepared in Sorensen Squeeze 3.5 for Mac)
is fine in previews or embedded within a SWF
Yet, I want to load the FLV directly with this code:
animation_btn.onRelease = function()
{
myVideo_nc = new NetConnection();
myVideo_nc.connect(null);
newStream_ns = new NetStream(myVideo_nc);
videoHolder.attachVideo(newStream_ns);
newStream_ns.play("Kreeger_ClassProj_Fin_Small.flv");
};
|