Home / Tutorials / ActionScript / Full Browser Flash Video Background in ActionScript 3.0 /

Flash Tutorials

Full Browser Flash Video Background in ActionScript 3.0 - Step 1: Setup

Posted by : FireCode on Sep 06, 2010

 

5.0/5

Open a new file in you Flash (Ctrl + N) and select Flash File(ActionScript 3.0).

Hit F9 to bring up the Actions Editor.

First of all, let's set the stage so it won't mess up our project. Add the following 2 lines:

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;

First line specifies that the size of the Flash application be fixed, so that it remains unchanged even as the size of the player window changes.

Second line specifies that the Stage is aligned in the top-left corner.

1 comment

Add comment

  • Hi, is it possible to add content over the video? because I´ve tried with the z-index property but it´s not working..



    #  /  PM  /  posted on Nov 17, 2011
Please login to post comments.