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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to stretch movie as big as screen resolution 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, I would like to set something pretty interesting but i don't know how this is working...

I would like to know how to stretch movie as big as screen resolution. My site is set to be in 800 x 600 and when someone at 1024 x 768 is comming...there's blanc spaces...this is ugly...So i would like the movie to be as big as the computer's resolution...

if you wanna check..

Thanks in advance!
Mike
 
I don't know if this will help or not but if you go to your file menu in flash 5 and select publish settings...at the very top is a drop down list called dimensions. Just select percent and set the text boxes underneath it at 100 X 100.

This should not be confused with a fullscreen function which will get rid if your scrollbars and evrything.

Hope this helps:)
 
Several things to consider here... Depending on what you're really trying to achieve!

This is your present html code:

<html>
<head>
<title>Friendly DorX</title>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;>
</head>

<body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot;>
<div align=&quot;center&quot;><object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;760&quot; height=&quot;520&quot;>
<param name=movie value=&quot;pagewebdorxfinal.swf&quot;>
<param name=quality value=high><param name=&quot;BGCOLOR&quot; value=&quot;#000000&quot;>
<embed src=&quot;pagewebdorxfinal.swf&quot; quality=high pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;760&quot; height=&quot;520&quot; bgcolor=&quot;#000000&quot;>
</embed>
</object></div>
</body>
</html>

A few questions...

Why the use of a div?
In 800x600, you still have a white border around your movie. Do you want to get rid of even that?
Would you want to push this at being full screen, without the address bar, status bar, tool bar, borders etc.. etc?


Meanwhile you can try a few things...

This will get rid of the white border:
<BODY BGCOLOR=&quot;#000000&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot; TOPMARGIN=&quot;0&quot; LEFTMARGIN=&quot;0&quot;>

Try WIDTH=100% HEIGHT=100% in the object & embed tags to fill the browser with your movie. This way when the user reduces his browser's window, your movie is scaled down and is still all visible rather than being cropped.

If you want to have a go at fullscreen, have a look at this FAQ: faq250-391

Last but not least... Let me know this post was useful to you!

B-)


&quot;If nothing else, I can always serve as a bad example!”
 
Thanks, I tried, the blank spaces are gone! but i still can't stretch the movie...i want it to be as big as my window is...

Where exactly i have to put this ?? : WIDTH=100% HEIGHT=100%
in what code ?

Tnx in advance
Mike
 
Where in bold is where you should correct the size!

<div align=&quot;center&quot;><object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot; width=&quot;100%&quot; height=&quot;100%&quot;>
<param name=movie value=&quot;pagewebdorxfinal.swf&quot;>
<param name=quality value=high><param name=&quot;BGCOLOR&quot; value=&quot;#000000&quot;>
<embed src=&quot;pagewebdorxfinal.swf&quot; quality=high pluginspage=&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;100%&quot; height=&quot;100%&quot; bgcolor=&quot;#000000&quot;>
</embed>
</object></div>

...You can get rid of what's in red! You'll be left with a <center> tag, which I don't even think you need in your case, 'cause the movie is all you have on this page!

Guess you can't give me a star, cause you're a visitor. You have to be registered to give out stars!

B-)
&quot;If nothing else, I can always serve as a bad example!”
 
Well... Just got an answer on the html forum, to my question to Dave!

You can get rid of the scrollbars anytime by just addind scroll=no to your body tag as in:
<BODY BGCOLOR=&quot;#000000&quot; MARGINHEIGHT=&quot;0&quot; MARGINWIDTH=&quot;0&quot; TOPMARGIN=&quot;0&quot; LEFTMARGIN=&quot;0&quot; SCROLL=NO>.

So simple sometimes!

;-)

&quot;If nothing else, I can always serve as a bad example!”

 
nice of you to let me know in your post before I went and made another page. dave@davdesign.co.uk

^^^^^^^^^^^^^^^^
 
I was answering this post while you answering mine!

Long lunch? Good scotch?

;-) &quot;If nothing else, I can always serve as a bad example!”

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top