Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
flashObject = document.getElementById('flashObjectID');
flashWidth = flashObject.width;
flashHeight = flashObject.height;
You need to do this at the client side, rather than at the server side, as there is no real access to the DOM from the server side.
joined:May 29, 2005
Even if a flash developer gives the move canvas certain dimensions, that does not mean that those will be the sizes that the movie is rendered at.