Forum Moderators: open

Message Too Old, No Replies

Flash movie fits to any screens?

         

smurf

12:50 pm on Apr 25, 2005 (gmt 0)

10+ Year Member



Halo.
I'm making a flash animation which is 600 by 350 px, with a looping background. My question is how to set the publish setting so my animation can fit the screen of the users? So, no matter how small/big their monitor, my animation fits 80% on their screen.

I've tried any combinations on the publish setting, but none of them are working.

For examples:

80% with no border --> the top en the bottom images are cut off.
80% with default --> the looping background were shown on the left and right side of the animation.
80% with exact fit --> it's good, but the ratio is gone.

Anybody has tips for me? Thanks.

Cheers,
Smurf ;)

whoisgregg

4:04 pm on Apr 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, smurf!

80% with default --> the looping background were shown on the left and right side of the animation.

You need to make a mask to "hide" everything which is offstage. Basically, a huge white (or the color of your web page background) rectangle with a smaller rectangle the size of your movie punched out of the middle that is on a layer above your movie.

Added welcome, where are my manners? :)

smurf

10:51 am on Apr 26, 2005 (gmt 0)

10+ Year Member



Hai Greg,

Thanks for your help. It works! :)

smurf

1:18 pm on Apr 26, 2005 (gmt 0)

10+ Year Member



Hallo.

It works perfectly on Flash, also when I click ctrl+F12 (preview in browser).
However, I get some problems when I set the animation on Dreamweaver MX. How to write it on the HTML?
I set it like this:

width: 80%
height: 80%

But when I click preview, there's no animation on the browser.

Any suggestions?

whoisgregg

2:14 pm on Apr 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



click ctrl+F12 (preview in browser)

Then "View Source" and see how Flash is writing the code. Copy and paste into Dreamweaver. :)