Javil opened this issue on Jan 23, 2009 ยท 4 posts
pauljs75 posted Tue, 10 February 2009 at 12:11 AM
You could probably research your javascript a bit an apply some maths. There should be some browser detects available that will give you the window width and height. Then halving both of those will find your center. Subtracting half of the the Flash dimensions from the center positions should center it. Then it's just a matter of writing the javascript to appy those in order to position things.
As for scrollbars? Usually a browser doesn't display its own scrollbar unless the content bleeds off the screen. Twisted's post above is the easy way of taking care of that. (But there may be some script side stuff that can force it.)
And there is stuff in ActionScript for generating a scrollbar within Flash. So you could make it fullscreen sans browser scrollbar and do whatever scrolling you need in the Flash environment itself.
Also don't trust the page renderer within Dreamweaver itself to always get things right, if you want to be sure - always check with the actual browsers you have available.
Your friendly neighborhood Wings3D nut.
Also feel free to browse my freebies at ShareCG.
There might be something worth downloading.