website promotion banner
eturnkeys
Your Ad Here
Flash & Swish  Home Flash & Swish Flash Tutorials Making Flash Taking the Size of Browser
rss

Making Flash Taking the Size of Browser

Author: 10Steps.SG More by this author


Preparations:

Create a new flash file (ActionScript 2.0) and save it as test.fla in this case.

Making Flash Taking the Size of Browser image 1

Step 1:

Proceed on to File > Publish Settings. Make sure the HTML type is checked.

Making Flash Taking the Size of Browser image 2

Step 2:

Select Dimensions > Percent and enter 100 for both Width and Height.

Making Flash Taking the Size of Browser image 3

Step 3:

Select Scale > No Scale

Making Flash Taking the Size of Browser image 4

Step 4:

Click on Publish and generate 2 files, test.swf and test.html.

Making Flash Taking the Size of Browser image 5

Step 5:

Open up test.html with any text editor and include supplied CSS codes within head tag. That's all!

<style type="text/css">
body {
margin-left: 10px;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 10px;
}
</style>


Author's URL: 10steps.sg

Rate this Material: Bad 1 2 3 4 5 Excellent
print this page tell a friend subscribe to newsletter subscribe to rss

Add comments to "Making Flash Taking the Size of Browser"