FORUMS: list search recent posts

Center

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
tweekskratch
Center
on Jan 8, 2007 at 11:37:54 am

Hey, Just wondering if you two knew how to center your SWF File on the web page, so no matter what kind of re-sizing haeens, it's always either locked where I put it, or resizes to accomodate? thanks!



Return to posts index

Matt Klundt
Re: Center
on Jan 10, 2007 at 4:18:07 pm

You can change the way that Flash handles resizing by changing the Stage.scaleMode to: "exactFit", "showAll", "noBorder", or "noScale"

"noScale" would keep your content the same size when the page or Flash object's size changes.

Flash should automatically keep your content centered on resize unless you've changed the Stage.align property.

Matt
--------------------
http://www.mcquillendesign.com
http://www.mattfoxgames.com


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]