Solved

resetting a StageScaleMode that is set to no scale

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

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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

726 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