PDA

View Full Version : Resizing browser window


grafikoctopus
06-05-2007, 02:31 PM
Hey yall!

I'm trying to get the browser window to resize to 1024x768 with no toolbars or scroll bars etc. I've read four or five tutorials about it on here and I'm a little better off, but still relatively lost.

questions:
1. can i make the current window resize or do I need to have it open as a new window to set the size?

2. where exactly do I put the code? where exactly in the html and where does the getUrl go?

my html that flash output is as follows:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>site_v4.2</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="1024" height="768" id="site_v4.2" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="site_v4.2.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="site_v4.2.swf" quality="high" bgcolor="#ffffff" width="1024" height="768" name="site_v4.2" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>


please help!!

atomic
06-05-2007, 02:44 PM
Although you could resize the browser window, to change some of the other features (no address bar, toolbar, etc...), you need to open a new popup with only the specific features you want...

http://www.flash-db.com/PopUp/
http://www.kirupa.com/developer/mx/centered_popup.htm

In fact to use the above, you'd have to use a Splash page, with a Enter button that would then open the Flash site in a new popup.

Otherwise, you'll need to use javascript to open the new popup.

grafikoctopus
06-05-2007, 10:23 PM
thanks man I'll give it a crack and c how it goes!

che!

edit:
thanks a million man that java script button generator is in-genius I owe you one, or perhaps more than one, maybe a few

:D

atomic
06-06-2007, 03:04 AM
;)

Scuba_Steve
09-17-2007, 08:32 PM
that java script button generator is in-genius ...

?

atomic
09-17-2007, 09:00 PM
He's saying the link I posted is fantastic... :o

http://www.flash-db.com/PopUp/