Stretching Your SWF Movie Fit with all resolutions, With no scrollbars - PHP / MySQL Tutorials
 
  Buy Ebooks, Video Games, DVDs, Electronics and more !
Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads Make Money Online Blog . Free Image and Photo Sharing and Hosting

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Free image hosting
   Web Design Pakistan
   Swish Templates
   SWiSH Climax
   Talkfreelance Community
   Template Desire
   Lite boards
   Script Sector
   GimpTalk
   13dots
   Idea Designs
   PHP Cafe
   Sposatoettore
   Free swishmax templates
   Swishzone

Manage your site with Flax Article Content Management System
Stretching Your SWF Movie Fit with all resolutions, With no scrollbars
Category : PHP / MySQL | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

I have replied a thousand times this question, so I thought why not to post it here. Next time if I found any question related to this topic I will delete it immediately. :@

If you want your movie to stretch with the browser size, it will fit in any screen resolution. use the following code

CODE

<html>
<head>
</head>
<title>SWiSH-DB --> Best Designers' Community</title>
<body bgcolor="#FFFFFF" rightmargin=0 leftmargin=0 topmargin=0 bottommargin=0 scroll=no>
<embed src="index.swf" width="100%" height="100%" align="top" scale="exactfit"></embed>  
</body>
</html>


Replace index.swf to whatever your movie is.

and for example if you dont want your movie(SWF) to stretch and you dont want scrollbars then change the height and width of your movie like this..

CODE

<html>
<head>
</head>
<title>SWiSH-DB --> Best Designers' Community</title>
<body bgcolor="#FFFFFF" rightmargin=0 leftmargin=0 topmargin=0 bottommargin=0 scroll=no>
<embed src="index.swf" width="800" height="600" align="top"></embed>  
</body>
</html>


I assume your movie size was width=800 and height=600
Most of the people use FRAMES to achieve this functionality, so you can also do it with frames.

hope it helps..
- Ali..


© 2002-2005 Flaxweb Network | Article Manager | Gimp Tutorials Library | RAD C++ Library | Free C/C++ Sourcecode |
Sites of interest : Web Design Blog | Swish Templates | Swishmax Ebook | Photoshop Templates | Gimp Tutorials | Text Forum | Make Money Online