Solved

resetting a StageScaleMode that is set to no scale

Posted on 2010-11-26
3
418 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

728 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