all groups > flash actionscript > march 2006 >
You're in the

flash actionscript

group:

Flash exe based on screen resolution


Flash exe based on screen resolution zubinbalsara
3/16/2006 11:15:38 PM
flash actionscript: Hi,
I am making an autorun cd to open a flash exe file, which has one movie clip
playing inside. Currenlty I have created a flash project of the size 800*600
set fscommand to fullscreen and Stage.scaleMode = "noScale"; so that my movie
does not get pixelated if the screen resolution is more than 800*600.
Since my major concern is to prevent the movie from getting pixelated I have
created few more application with different stage sizes like 1024*768 and
1208*1024.
Now what I want is that once the autorun cd starts it detects the user screen
resolution and based on that open the corresponding exe file. I have the
javascript to detect the screen resolution what i dont know is where should I
place that script and how do i call the exe file?
Please help.
Thanks
Re: Flash exe based on screen resolution FlashJester Support Team
3/17/2006 12:00:00 AM
Hi,

You can get this by using Actionscript

System.capabilities.screenResolutionX and
System.capabilities.screenResolutionY

Another option would be to use our third party tool Jugglor to automatically
set the users display to say 800x600 or 1024x768, this means you will need
only one Flash exe. Once the Flash file has been closed it will then set the
screen resolution back to the original resolution. Similar to the way games
work.

Download a FREE evaluation copy from

http://www.jugglor.com

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

Try it.

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

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



[quoted text, click to view]

AddThis Social Bookmark Button