PDA

View Full Version : Detecting and changing the monitor resolution


felipegm
04-15-2005, 07:06 PM
Hi,

I´m producing a flash projector with 1024x768 resolution.
Is there a way, maybe thru an autorun file, to detect the monitor actual resolution, and change it to the Cd resolution (1024x768)?

:confused: If so, is it save for the monitor?

Xeef
04-15-2005, 07:25 PM
i strongly hope there is NO way
Hmm whit a projector and some exe there is definetly one :(

no it's not save for the monitor (ok for most of it's save but not for all)
just consider this
i make a projector which will set the screen resolution to 2000X2000 (or what ever the max of your Graphiccard) AFTER 1-2 minute of inactivity (to by sure you aren't in front of the screen) this resolution will not by suported by your monitor (unless you have one for 5000Euro) after a few minutes you can trow it to the rubish

so even if you find a way i woud by care fully and WARNING the user abouth the change else way you will by responsibel for a possible damage in the monitor

i woud check the resolution and if it's not met your needs exit the program and ask the user to change it

[Sx]
04-15-2005, 08:19 PM
You can change resolution with Flash, but only with predefined resolutions if you are using Flash MX projectors and later, with Flash 5 you can even do that dynamically - e.g. make a function changeRes(w,h,refresh) and dynamically change from within Flash)... Of course, you'll need an aditional program for doing such a thing that you'll call through fscommand exec function. I wrote such a program (well, set of programs for all kind of Flash extensions called xEngine.WDR) long time ago, but due to my hdd crash back than I don't have them anymore...

However, you can ask some of the people that downloaded it if they still have it... Thread where I've released it can be found @: http://www.were-here.com/forum/fb.asp?m=976978 ... You can try to contact VgSlag or whoever downloaded it while it was still available...

muppet
05-02-2005, 02:40 PM
just put this action in the first frame of the movie;

fscommand("fullscreen", "true");

then it'll work full screen, not matter what the screen resolution is.

nitinmukesh123
05-05-2005, 05:49 AM
Actually it is possible using any third party tool like swfkit and i have done it.
Eg can be of games which change the screen resolution.

I have done that using Visual Basic and swfkit.
If you need more information and actually need it reply this thread.

DarkCelt
11-01-2005, 09:20 PM
nitinmukesh123, I do need this functionality. Can you please tell me how to do it?

Thanks,

DarkCelt
--------------
"Giving money and power to government is like giving whiskey and car keys to teenage boys." -- P. J. O'Rourke