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