[thelist] Get the dimensions of a Flash file using JavaScript...
Ken Kogler
ken.kogler at cph.org
Thu Jun 20 15:43:01 CDT 2002
Can you check the height of the <object> tag? Is the flash file's dimensions
specified in that?
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Chris George
Sent: Thursday, June 20, 2002 2:47 PM
To: thelist at lists.evolt.org
Subject: [thelist] Get the dimensions of a Flash file using
JavaScript...
Hey all,
I need to get the dimensions of a Flash file in a web page using JavaScript.
I've combed the web, irt.org, Macromedia support (still going through
those), etc. for a way to do this... No one seems to have even mentioned
it. I've given my flash file an ID name, and referenced it like so:
currenty = window.document.RolFlash.height;
document.write(currenty);
But it just comes back as undefined...
Obviously, I'm no JS guru, so I wouldn't be surprised if I've just got my
properties screwed up.
Any help would be greatly appreciated!!
Thanks,
Chris.
--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list