PDA

View Full Version : Controlling how elements of a Flash Movie re-size in browser window


Lunatech3D
02-05-2004, 10:36 AM
I am wondering how I can control how certain parts of a flash movie re-size. By default as you re-size the movie, everything scales proportionally. I would like certain parts of the movie to remain the same size. Like a nav bar for example. If it is 200 pixels high, I would like a fixed width so it will stay 200 pixels high even when the movie is scaled larger.

Basically I would like the flash movie to act as an HTML, or CSS design, with fixed widths, and dynamic widths that resize according to the browser window.

I'm pretty sure I've seen this done before, but have come up empty handed in my web-searching. Has anyone seen this done? If so, how can I implement it?

-Thanks

wu-tang
02-05-2004, 07:09 PM
You can use the onResize event to do what you want.

Check out the article (http://moock.org/asdg/technotes/relayout/)