|
-
How do I make my movie compatible for all the different screen resolutions people use? I design my flash movies on a 1024x768 screen and I don't want objects near the "edge" to get cut off for people browsing at 800x600. Is there a way for the movie to auto-resize itself proportionately if it is.. say.. the top menubar of a web page?
-
easy way
You must edit the HTML code (if you aren't an expert, don't be afraid, it's very simply). Open the HTML file in a text editor like Notepad an find the EMBED code for the flash object; there are the Height & Width propietis. You must set both to 100% (a percentage relative to the window/frame, not an exact size in pixels, you see).
Does it work?
-
There are two other simple ways to force a movie to expand to full window view:
copy the following javascript code and paste it into the HEAD of the html file.
<SCRIPT Language="JavaScript">
document.parentWindow.moveTo(0,0) ;
document.parentWindow.resizeTo(screen.availwidth,s creen.availheight) ;
</SCRIPT>
But the easiest of all is to add a bit of actionscript in the first frame of your movie:
Select FS Command from the actions menu and then type in the following parameters.
FS Command ("fullscreen", "true")
Works like charm for me in Flash4. Hope this helps!
murleen
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|