Full Page Flash Video

Out of context: Reply #3

  • Started
  • Last post
  • 10 Responses
  • visualplane_0

    Basically have a movieclip that resizes per browser width/height. Then place a streaming .flv movieclip inside the movie clip. I can send the flash file tonight if you want.

    http://www.visualplane.com/kitty…

    AS3 Version:
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RES... onStageResize);
    private function onStageResize(e:Event):void{
    background.width = stage.stageWidth;
    background.height = stage.stageHeight;
    }

    AS2 version:
    Stage.scaleMode = "noScale"
    Stage.align = "TL";
    myListener = new Object();
    myListener.onResize = function()
    {
    _root.photo_mc._width= Stage.width;
    _root.photo_mc._height = _root.photo_mc._width;
    }
    Stage.addListener(myListener);
    _root.photo_mc._width= Stage.width;
    _root.photo_mc._height = Stage.height;
    _root.photo_mc._height = _root.photo_mc._width;

View thread