To
fit the animation in a browser, you can increase the pixel
width of your animation to suit the size of the browser.
While increasing the pixel size would work, not everyone
who views your animation has the same resolution you have.
Because of the varying environments your animation will
be viewed in, different people will still see your animation
in a different size. You will learn how to display the
animation fit to the size of your browser in this tutorial.
To
ensure that the size of the animation fit in browser
automatically, you will need to publish your animations
by setting a percent value for the width and height.
Go
to File > Publish Settings.
The Publish Settings window will appear. From the
Publish Settings window, select the HTML tab.
Click
the Dimensions drop-down menu.
Select Percent from the selections listed. The width
and height fields will display the percent caption.
Enter
a percent value for the Width and the Height. Because
you want the animation to be full screen, enter a
value of 100 for both the Width and Height fields.
Press
the OK button and publish your movie.
When you preview the page you just published, you
will see the animation set to 100% of the width and
height of your browser.
But you got distance between browser top and left
margin To remove margins, delete the <body>
tag and place the following line in its place:
<body
topmargin="0" leftmargin="0">
When
you preview the page you just published, you will
see the animation set to 100% of the width and height
of your browser.
| 1 |
We hope the information helped you. If you have any questions
or comments, please don't hesitate to post them on the
Forums section Submit your Tutorial at Click Here