Announcement

Collapse
No announcement yet.

Gradient background not scaling with resolution change

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Gradient background not scaling with resolution change

    I am using a Flash gradient shape converted to a symbol as a menu background. Everything seems to work fine except for when I change resolutions to a size withe a different aspect ratio than my stage is set to. Every other widget and image used resizes and adjusts postilion properly, but the gradient won't. I get black bars either horizontally or vertically.

    I am using the following to keep everything lined up properly....

    Code:
    Stage.scaleMode = "ShowAll";
    Stage.align = "TL";
    Any idea what might be going wrong?

    EDIT: Wouldn't you know... found the answer soon after posting. Using "exactFit" as the scale mode seems to work. I guess leave this up for reference for anyone else.
Working...
X