Detecting the screen resolution: some questions

Hi everyone,

Building a Flash Web site. What a nice challenge. Now, I was wondering.

When you visit www.b7ven.com, the pseudo preloader on the first page displays your screen resolution. How do you do that? This must be some dynamic text, but what is the code behind this?

I have found a jack of all trade code here: http://moock.org/asdg/technotes/echoVersion/

But not only that. You will notice that, if you have a low resolution, you will see the word “fail” instead of “ok”. But that does not change anything cause the “enter” button still works and load the main Flash site.

A good practice would have brought you to another site, html perhaps where we can see the content. No? What is your opinion on this subject?

Thanks for your feedback.

System.capabilities.screenResolutionX;
System.capabilities.screenResolutionY;

that’s the code :slight_smile:

What is your opinion on this subject?

that you should always design thinking about every resolution. no matter the resolution being used it should be friendly to the visitor/user/he/her/whatever. =)