• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

resetting a StageScaleMode that is set to no scale

Hello
I am using greensock's liquidstage version1 to make the graphics on my stage aligned to the bottom right. but there is a section of the website  that I want to scale with the browser window.

the liquidstage code sets the stage to StageScaleMode.NO_SCALE;
so my question is if it's possible to switch it back to SHOW_ALL when moving to a certain frame on the timeline.

I'm using AS3

thank you for your help!
0
cristobal_ny
Asked:
cristobal_ny
  • 2
2 Solutions
 
edchipmanCommented:
You should be able to do this by setting stage.scaleMode to show all on that frame.
stage.scaleMode=StageScaleMode.SHOW_ALL;

Open in new window

0
 
edchipmanCommented:
Oh and if you haven't on that frame make sure you import the package
import flash.display.StageScaleMode;

Open in new window

0
 
cristobal_nyAuthor Commented:
Thank you so much
your help was very useful!
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now