hi,
i have to make a flv play fullsize in the background of my site and can't seem to get it right, either it's fixed top left and doesn't resize or it resizes but won't align to the left border of the stage… here's how i tried:
bgVideo = new Video(stage.stageWidth, stage.stageHeight);
addChildAt(bgVideo, 0);
var nc:NetConnection = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
bgVideo.attachNetStream(ns);
var listener:Object = new Object();
listener.onMetaData = function(evt:Object):void {/*trace(evt);*/};
ns.client = listener;
ns.play("flv/videofile.flv");
videoStage = new LiquidStage(this.stage, stage.stageWidth, stage.stageHeight);
videoStage.attach(logo, videoStage.TOP_RIGHT);
// videoStage.attach(bgVideo, videoStage.CENTER);
var videoArea:LiquidArea = new LiquidArea(this, 0, 0, stage.stageWidth, stage.stageHeight);
videoArea.attach(bgVideo, ScaleMode.PROPORTIONAL_OUTSIDE);
the commented line was my other attempt.
I don't know if it's relevant, I am also adding other objects (navigation etc.) to my videoStage.
I also tried setting the stage.scaleMode to NO_BORDER, in flash and in the html-code, nothing would do the trick.
Help is greatly appreciated
Peter