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
Solved

resetting a StageScaleMode that is set to no scale

Posted on 2010-11-26
3
416 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
To view Flash technology content error 4 6,651
Array is not working ( AS2 ) 4 158
How to convert image files to a movie file 6 111
Why is this simple, masked Flash animation flickering? 20 199
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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.

839 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