[thelist] Get the dimensions of a Flash file using JavaScript...
Chris George
chrisg at gsnet.com
Thu Jun 20 15:33:00 CDT 2002
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.
More information about the thelist
mailing list