| Author |
controlling the browser window size
|
|
| veggieactress 2007-07-15, 10:15 pm |
| Can anyone tell me when creating websites in flash how to control the size of the browser window?
I can't seem to be able to make a kind of pop up window that is a small size.
| |
| Franz Marksteiner 2007-07-16, 6:15 am |
| veggieactress wrote:
> Can anyone tell me when creating websites in flash how to control the
> size of the browser window? I can't seem to be able to make a kind of
> pop up window that is a small size.
Do you really expect to get help by providing information such as "small
size"?
--
Kind regards,
Franz Marksteiner
| |
| Rob Dillon 2007-07-16, 6:16 pm |
| You need to use Javascript to set the size of the browser window. Using
the window.open() method gives you the most control, however, since this
is the same method used to spawn popups, the method may not work for
users who have a popup blocker enabled.
You can also use the window.reSizeTo() method. While this won't remove
the chrome from the window, it will resize the window to a specific
size. You can also use the window.moveTo() method to reposition the
window on the user's screen.
Be sure to test in every possible browser/platform combination. Each
browser has a unique method of displaying embedded content, so you'll
have to set a new size for the window that will accommodate your content
with all of the possible user options for each browser.
--
Rob
___________
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.adobe.com/downloads
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |