Groups | Blog | Home
all groups > flash actionscript > april 2005 >

flash actionscript : Changing Users Screen Resolution


highlander_1
4/28/2005 12:00:00 AM
Sorry, I just saw the problem was for projector. I thougt i was a webpage :sun;
I that case (projector) I belive you must write a vb.script and you know how
popular these
script are on clients computer nowday.
highlander_1
4/28/2005 12:00:00 AM
Hey you!! - I said I was sorry - didn?t read that!!??
The browser in this forum did not updating my answer "sorry I was wrong.."
I was sorry because I was reading the question wrong.
Please wait a few seconds next time and refresh your browser before you answer.
Once aging - sorry..ok?
I hope the browser is updating this answer before someone jump on me this time
;-)
:)
NSurveyor
4/28/2005 12:00:00 AM
highlander_1
4/28/2005 12:00:00 AM
OK
Thanks!
:-)
tardi3601
4/28/2005 12:00:00 AM
highlander_1
4/28/2005 12:00:00 AM
No, you have to make for example 32 "different pages" or index.html which you
customized to
for example 800 x 600, 1024 x 768.
The first page is index.htm. In that page you have to put a Javascript or
perl, php that choose the right resolution
Javascript is the easiest way to do that.

Se following example:

<script language="JavaScript">
<!--// hide bad old browsers
var s640x480page = "index800.htm";
var s800x600page = "index800.htm";
var s1024x768page = "index1024.htm";
var pagetype;
if ((screen.height == 480) && (screen.width == 640)) {
pagetype = 1; }
else if ((screen.height == 600) && (screen.width == 800)) {
pagetype = 2; }
else if ((screen.height >= 768) && (screen.width >= 1024)) {
pagetype = 3; }
else {
pagetype = 1; }
if (pagetype == 1) { window.location.href = s640x480page }
else if (pagetype == 2) { window.location.href = s800x600page }
else if (pagetype == 3) { window.location.href = s1024x768page }
//-->
</script>
:):sun;:P
David Stiller
4/28/2005 9:29:38 AM
highlander_1,

[quoted text, click to view]

Since the OP is publishing to a Projector, I don't see where HTML comes
into it.

I would suggest leaving the user's resolution as is. Use fscommand()
(see the documentation) to make the Projector full screen. If you really,
*really* want to change the user's resolution -- by why would you need
to? -- you'll have to use a 3rd party Projector extender, like Zinc or
Jugglor.


David
stiller (at) quip (dot) net
"Luck is the residue of good design."

FlashJester Support Team
4/29/2005 12:00:00 AM
Yes it's possible with Jugglor.

Download FREE evaluation copy from

http://www.jugglor.com

Then

Jugglor v2 -> Setup Settings -> Windows Settings -> Full Screen Resolution

That will do the trick. No coding required.

It also comes with alot more features you can use.

Regards
FlashJester Support Team
e. - support@flashjester.com
w. - http://www.flashjester.com

There is a very fine line between "hobby" and
"mental illness."

David Stiller
4/29/2005 8:15:46 AM
highlander_1,

[quoted text, click to view]

Easy, Killer! ;) You're on web forum; I'm on the newsfeed ... they're
often out of sync.

[quoted text, click to view]

Okay. No need to apologize, though. :)


David
stiller (at) quip (dot) net
"Luck is the residue of good design."


highlander_1
5/8/2005 12:00:00 AM
Ok
AddThis Social Bookmark Button