This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > June 2005 > screen resoltion





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author screen resoltion
SteveC

2005-06-21, 4:22 am

Using an ASP/VBscript server model I need to detect the screen resolution of
the website visitor and then either show flash movie one or flash movie
two... does anyone have a solution to this, as I've tried numerous
variations all with no success...



Steve


JohnD

2005-06-23, 4:32 am

If your stuck, I would just allow the user to manually chose which screen
resolution they'd prefer.


"SteveC" <nospam@nospam.co> wrote in message
news:d98253$d3c$1@forums.macromedia.com...
> Using an ASP/VBscript server model I need to detect the screen resolution

of
> the website visitor and then either show flash movie one or flash movie
> two... does anyone have a solution to this, as I've tried numerous
> variations all with no success...
>
>
>
> Steve
>
>



Peter Blumenthal

2005-06-23, 7:15 am

Why not use Flash itself?

System.capabilities.screenResolutionX

and

System.capabilities.screenResolutionY

will get you the screen resolution of your site visitors, then you can load
the appropriate movie based on the results.

--
-------------------------------
Remove '_spamkiller_' to mail
-------------------------------


SteveC

2005-06-27, 7:15 am

I know that you can use flash to find the screen resolution and load an
appropriate movie... however the size of the movie (root movie) is fixed,
even if by percentage... what I was trying to do was use ASP, Java script,
etc... to determine the screen resolution and either load movie a or movie
b... I've successfully done this with images but not with flash movies...



The only solution I have at the moment is to redirect to either page a or
page b based on screen resolution... with each page having a different
default movie... with the rest of the content being liquid based so that it
stretches and shrinks to fit.



Thanks



Steve



"Peter Blumenthal" <mmgroups@_spamkiller_PhageInteractive.com> wrote in
message news:d9e1ov$qii$1@forums.macromedia.com...
> Why not use Flash itself?
>
> System.capabilities.screenResolutionX
>
> and
>
> System.capabilities.screenResolutionY
>
> will get you the screen resolution of your site visitors, then you can
> load
> the appropriate movie based on the results.
>
> --
> -------------------------------
> Remove '_spamkiller_' to mail
> -------------------------------
>
>



Peter Blumenthal

2005-06-27, 7:15 am

Ok, a couple of thoughts - using Flash to detect the user's screen res you
can then load a completely new movie (and the HTML that embeds it) rather
than loading into a level or clip in your existing movie - you just need a

getURL ("theRightSizedMovie.html", "_self");

Also, if you have successfully done this with images, surely the script to
detect screen res and load appropriate media is the same, regardless of
*what* media you need to load...

--
-------------------------------
Remove '_spamkiller_' to mail
-------------------------------


SteveC

2005-06-27, 11:25 pm

Also, if you have successfully done this with images, surely the script to
detect screen res and load appropriate media is the same, regardless of
*what* media you need to load...

You would think so wouldn't you... but aparantly not... lol


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews