Welcome to WebmasterWorld Guest from 188.8.131.52
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.