PDA

View Full Version : How to launch a browser window that fits any screen resolution?


Tatorriols
08-08-2007, 08:23 AM
Hi, im building a website in Flash 8 and wanted to know how to launch a window using java (no scrollbars, no resizing, etc), that fits perfectly on any screen resolution (1024x768 or larger). I would like a site that resizes automatically according to the userīs resolution. I have seen it in many flash sites, and have been asking around with no results, so i would really appreciate some help. I already know how to launch a browser using Java; its the automatic resizing whatīs giving me trouble. Thanks alot!

atomic
08-08-2007, 03:31 PM
http://www.flash-db.com/PopUp/

http://www.kirupa.com/developer/mx/centered_popup.htm

sunlis
08-08-2007, 05:14 PM
on (release) {
getURL ("javascript:NewWindow=window.open('newPage.html','n ewWin','width='+screen.availWidth+',height='+scree n.availHeight+',left=0,top=0,toolbar=No,location=N o,status=No,resizable=No,fullscreen=Yes'); NewWindow.focus(); void(0);");
}

atomic
08-08-2007, 05:19 PM
An echo?

sunlis
08-08-2007, 05:21 PM
Well, I know that I get annoyed when people give me nothing but links, so I figured I'd give him a shortcut to the answer.

CyanBlue
08-08-2007, 06:25 PM
I don't have problem with the link as long as the link gives me what I am looking for... ;)

atomic
08-08-2007, 06:34 PM
And on top of which the link to the code generator can be useful for other types of popups, the user may need in the future...

Tatorriols
08-09-2007, 07:20 AM
Thanks alot , the generator really helped, as much as the code, so thanks to all, iīll be trying to get through, iīll be posting when i have it solved (im no expert but now i think its pretty simple!)

best regards!

atomic
08-09-2007, 03:33 PM
The posted code is exactly the same and most probably comes from the Code Generator! ;)

sunlis
08-11-2007, 07:19 AM
OK atomic, I get your point.
I was just trying to be helpfull.

3pepe3
08-27-2007, 08:28 PM
http://www.flash-db.com/PopUp/

http://www.kirupa.com/developer/mx/centered_popup.htm
Atomic thanks for the links... I was searching all over the internet for this information. :)

atomic
08-27-2007, 10:52 PM
;)