Solved

resetting a StageScaleMode that is set to no scale

Posted on 2010-11-26
3
415 Views
Last Modified: 2012-05-10
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
Comment
Question by:cristobal_ny
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
edchipman earned 500 total points
ID: 34223625
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
 
LVL 5

Assisted Solution

by:edchipman
edchipman earned 500 total points
ID: 34223626
Oh and if you haven't on that frame make sure you import the package
import flash.display.StageScaleMode;

Open in new window

0
 

Author Closing Comment

by:cristobal_ny
ID: 34224034
Thank you so much
your help was very useful!
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question