-
I am not sure if this is an HTML questions of Flash. Whenver a flash site is created and the subsequent HTML file is created through publishing, is there a way to control the window size of the browser window that the swf file will be displayed in? In other words, if I have a flash swf movie that is 640x480, can I re-size the browser window to only be 640x480? The problem that I am facing is that the swf files are appearing in the browser window with a lot of empty space in the part of the browser that the swf file does not occupy. Any help would be extremely helpful. Thank you.
-
Banned
Ok heres what you do. first make a button and drag it to the
stage. Then bring up the actions panel. then click on the arrow at the top right corner of the actions panel and
select expert mode. Then cut and paste the following code in
the box.
on (release) {
getURL ("javascript:window.open('http://www.youraddress.com/page.html','Computer1','width=800,height=600,top=0 ,left=0,toolbar=no,scrollbars=no,resizable=no,menu bar=no,status=no,directories=no,location=no'); void(0);");
}
Adjust the width and height to suit your needs.
Then you need to put your movie in frames so it will stretch
to all four corners.
<html>
<head>
<title>
Active pest control, Inc.
</title>
</head>
<FRAMESET ROWS="100%,*" FRAMESPACING="0" FRAMEBORDER="NO" BORDER="0">
<FRAME NAME="top" SRC="http://www.youraddress.com/movie.swf" FRAMEBORDER="0" BORDER="0"
MARGINWIDTH="0" SCROLLING="NO">
<FRAME NAME="hidden" SRC="empty.html" FRAMEBORDER="0" BORDER="0" MARGINWIDTH="0"
MARGINHEIGHT="0" SCROLLING="NO">
</FRAMESET></HTML>
That should do it! Hope it helps, Ed
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
|