Please Help! resize flash if screen resolution is lower than 1024
Grrr...:scared:
So the idea is simple, if our visitor’s screen resolution is smaller than 1024, we want to have a flash that resizes, if it’s 1024 or higher, we want to give him our intended size with a noscale.
I have found the following script on line:
Just in front of the javascript embbed of flash, you add:
if(screen.width < 1020)
{
var myScale = 'showall';
}
else
{
var myScale = 'noscale';
}
then within the Adobe’s embed, change the line
’scale’, ‘noscale’, (or whatever else)
to
’scale’, myScale,
but i can't seem to get it working, my opinion is that i use this script in a wrong place?