Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you make flash full screen!??!?!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How do you make your flash movie full screen with no borders what so ever?
Thanks,
Mike
 
Do you mean without all the browser stuff to? If so you can only do that in IE 4 and up.

If you just mean full window (as opposed to screen) Flash, take away the width and height assignment in the embed and object tags.

Hope that helps! Wow JT that almost looked like you knew what you were doing!
 
As a projector file (locally on your computer), using the FSCommand->Fullscreen set to TRUE.
Online, by opening a fullscreen popup to embed your movie, but this only works with IE.

Regards,
mywink2.gif
ldnewbie
 
i think Mike was referring to the borders that appear when you publish a flash file, i.e. when you create an HTML file in which the swf file is embedded. (for example top left hand corner borders in this page)

i have the same problem and i was told to try and alter the HTML coding, cos HTML adds borders automatically. a friend told me to create a frame with 0 borders and then throw the swf file inside.

(or you can try to knick the coding for a no border frame from some other site.)

hope this helps

fil
 
If that is what Mike ment... He should of said it!

The easiest way to eliminate the borders in the browser window is simply to set your body background color to the same background color used in your movie.
<BODY bgcolor=&quot;#003366&quot;>
If you don't want to change the body's background color, you would simply use this:
<BODY MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot; TOPMARGIN=&quot;0&quot; LEFTMARGIN=&quot;10&quot; RIGHTMARGIN=&quot;0&quot; BOTTOMMARGIN=&quot;0&quot;>
If you want to get rid of the scrollbar area, and re-center your movie in the whole screen, you would add SCROLL=&quot;NO&quot; to your body tag, and embed your movie in a table.

Here's what I've been using, works fine both in IE and NS (AOL, I don't know or care about!):
Code:
<BODY bgcolor=&quot;#003366&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot; TOPMARGIN=&quot;0&quot; LEFTMARGIN=&quot;10&quot; RIGHTMARGIN=&quot;0&quot; BOTTOMMARGIN=&quot;0&quot; SCROLL=&quot;NO&quot;>

<!-- URL's used in the movie-->
<!-- text used in the movie-->
<LAYER NAME=&quot;TEST&quot; LEFT=&quot;25&quot; TOP=&quot;10&quot;> <!-- CENTERS FOR NS - NO EFFECT ON IE -->
<table width=&quot;100%&quot; height=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot;>
  <tr bgcolor=&quot;#003366&quot;> 
    <td align=&quot;center&quot; valign=&quot;middle&quot;><OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
   	 codebase=&quot;[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&quot;[/URL]
	 WIDTH=550 HEIGHT=400>
	 <PARAM NAME=movie VALUE=&quot;your.swf&quot;> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#003366> <EMBED src=&quot;your.swf&quot; quality=high menu=false bgcolor=#003366  WIDTH=550 HEIGHT=400 TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;[URL unfurl="true"]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;></EMBED>[/URL]
	</OBJECT>
   </td>
  </tr>
</table>
</LAYER>
</BODY>
</HTML>

Regards,
mywink2.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top