scotland
10-09-2002, 03:11 PM
Hi,
I'm wondering if it would be possible to use a script to detect the user's screen resolution and then dynamically alter the left margin of the .htm file.
I'm putting a flash site together which will be displayed embedded in an .htm file. I'd really like the flash movie, which is 800x600 and non-scaleable, to be centred left to right regardless of the viewer's screen settings.
So...
Left Margin = (screen width - 800) / 2.
Whadya think?
I'd really appreciate some guidance on this - I have to admit to being an absolute beginner when it comes to java - I am, however, keen as mustard!
Thanks,
Scott
I'm wondering if it would be possible to use a script to detect the user's screen resolution and then dynamically alter the left margin of the .htm file.
I'm putting a flash site together which will be displayed embedded in an .htm file. I'd really like the flash movie, which is 800x600 and non-scaleable, to be centred left to right regardless of the viewer's screen settings.
So...
Left Margin = (screen width - 800) / 2.
Whadya think?
I'd really appreciate some guidance on this - I have to admit to being an absolute beginner when it comes to java - I am, however, keen as mustard!
Thanks,
Scott