Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


Advertisements:










Actionscript 3 :: Keep The Same Scale Mode On Stage Resize?


I'm using the loadermax class from greensock in order to load an image which matches the screen's width and height, using a scaleMode of proportionalOutside. The problem is, if I resize the stage, the image does not scale with it. Is there a way to resize the image while maintaining loaderMax's scaleMode?


View 2 Replies (Posted: Mar 18 11 at 17:38)

Sponsored Links:

Related Forum Messages For Flash category:
ActionScript 3.0 :: Stage Resize - No Scale Mode
I am creating a website and I want it to be fixed size when the stage is bigger than 750 height so I am using no scale mode
ActionScript Code:
stage.scaleMode = StageScaleMode.NO_SCALE;
But if the stage would be smaller than 750 height I want the website to scale proportionally.

So I am using
ActionScript Code:
stage.scaleMode = StageScaleMode.SHOW_ALL;
I am also listening for resize with eventListener everything works fine until i resize the browser smaller then 750 it executes StageScaleMode.SHOW_ALL but after that resize eventListener stops calling the function.

Posted: 01-28-2010, 01:17 PM

View 0 Replies!   View Related
ActionScript 3.0 :: Disable Stage Scale Mode In PaperVision
I am working through the examples in the PaperVision Essentials book and I keep getting this trace when publishing:INFO: Viewport autoScaleToStage : Papervision has changed the Stage scale mode.This is also making the object I am using smaller than it should be. Is there an easy way to disable this feature? There has been no mention of this in the book as of yet.

Posted: 09-25-2010, 12:53 AM

View 0 Replies!   View Related
Resize Your Stage And Scale Content?
I have to adjust to a new size and my objects have to adjust accordingly. Is there a way to select multiple objects on separate frames and resize as a group?

Posted: March 9th, 2012

View 1 Replies!   View Related
ActionScript 3.0 :: Resize Flash Stage On Scale?
There is a flash with stage size 800 x 600. I need to add a button on the flash. When the user clicks the button one time, it will resize to be 600 x 450 and all MC, texstbox, button insides the flash would be resized on scale.

When the user clicks the button 2nd time, it will resize to be 400 x 300 and all components resize on scale as well.

When the user clicks the button 3rd time, it will resize to 800 x 600 again.

Is there any AS3 source code for it?

Posted: 08-04-2009, 05:56 AM

View 7 Replies!   View Related
ActionScript 2.0 :: Drag And Drop Resize And Scale Movie Clips On Stage?
'i am doing a game for children where users can drag and drop resize and scale movie clips on stage!The drag and drop is not an issue...

Posted: 06-25-2010, 09:04 AM

View 2 Replies!   View Related
ActionScript 3.0 :: Scale Or Resize The Image By Dragging And Resize Option?
I am working on image and i like to scale or resize the image by dragging and resize option.same working as "free transform tool" in flash (design part); i need same functionality in application.

Posted: Sep 19, 2011 10:37 PM

View 7 Replies!   View Related
ActionScript 3.0 :: Change Image Color Mode (Grey Scale)?
i have loaded a colorful image. when i rollover this image, then the image has to change in grey scale.i think it can be done with filter adjust color, but i want to do this with scripts.

Posted: May 27, 2009 3:01 AM

View 3 Replies!   View Related
ActionScript 1/2 :: Change Image Color Mode (Grey Scale)?
i have loaded a colorful image. when i rollover this image, then the image has to change in grey scale.i think it can be done with filter adjust color, but i want to do this with scripts.

Posted: May 27, 2009 3:20 AM

View 2 Replies!   View Related
ActionScript 3.0 :: Full Screen Scale Mode For Specific Movieclips?
I'm building a flash website that needs to have fullscreen enabled for the entire site. Does anyone know how to make only specific movieclips scale up in size when entering full screen mode, like various background movieclips?

Posted: Dec 7, 2009 3:52 PM

View 3 Replies!   View Related
ActionScript 3.0 :: MC Scale On RESIZE
I am currently working on a swf (call it swf_A) that will eventually be loaded into another swf (call it swf_B) and have a few questions about resizing movie clips with the RESIZE event.[code]This is resizing my Movie Clip, however when I drag the flash player to make it bigger, it seems that it is scaling from the bottom right of the player. I see the Stage, or white background in the top and left of the player. Any Ideas?Second part is if I use a reference to the stage like doorsMC.width = stageWidth; and doorsMC.height = stageHeight;will this break when I load it into swf_B?

Posted: Nov 30, 2010 9:26 AM

View 4 Replies!   View Related
ActionScript 2.0 :: Make Application Resize To Full Screen Mode?
In ActionScript 2.0, I am trying to make my application resize to Full Screen mode (for Flash Player 9). It goes to full screen correctly, with the typical message "Press ESC to exit Full Screen mode".

What I need to do though is toggle a few elements' visibility on the stage.

So when I go to to Full screen mode I do

[Code]...

Posted: June 2nd, 2007

View 12 Replies!   View Related
Professional :: Resize/scale A Whole Project .fla
I'm doing and animatic movie with flash (means lots of hand drawn frames and many layers) I also have about 40 sequences

I would like to scale down my whole movie to a smaller size like 720*480 (actual is 1980*1080) but when I change size in "propery" window it just change the size of workspace and drawings stays the same size.

is there any way to have the graphics scale to the new document size without using "transform tool" on each sequence, because flash crashes when I do that.

Posted: Feb 5, 2010 3:52 AM

View 2 Replies!   View Related
Flash :: Resize A Movieclip Without Affecting The Scale?
I have a movie clip object with a width of 306 and height of 194. I need to change the dimensions of the movie clip and still have the x and y scale set at 100. Currently when I change the movie clip width to 352.8, the x scale increases to 115.3%. I have to have the scale reset to 100% after I've adjusted the movie clip's width. Is there a way to do this in CS3? (this is all in design mode, not run time). Do I need to delete the movie clip and recreate it?

Posted: Nov 11 09 at 11:23

View 2 Replies!   View Related
Actionscript 3 :: Scale Image On Browser Resize?
I am wondering how would I scale an image on browser resize with minimum and maximum width and height parameters?

I know how to use the Event.RESIZE function to make my image proportional with the browser using stage.stageWidth/Height, but I am trying to figure out a way to have a movieclip or image scale up or down to a certain dimension such as on browser resize the image max would be 640x480 and the minimum being 320x240.

Posted: Jun 3 11 at 18:48

View 1 Replies!   View Related
ActionScript 3 :: How To Scale Width Of Sprite To Resize
I have a sprite in as3 code, I want to enter its height to resize it, how can I scale the width accordingly?
sprite.height = 200;
sprite.width = ??

Posted: Oct 24 11 at 14:11

View 2 Replies!   View Related
ActionScript 3.0 :: MC Proportional Scale On Browser Resize?
resize an MC on browser resize (or if detected a small monitor resolution).

This is how things should be work:

- MC (my_ssp) should be positioned always in the center of the stage

- on browser resize, MC move to keep the center of the stage

- when stage height is < of 750 px (max MC height), the MC start resizing proportionally with the stage.

I attach the code:

Code:
import flash.display.StageScaleMode;
import flash.display.StageAlign;
import flash.events.Event;

[Code].....

Posted: 05-18-2010, 09:54 PM

View 2 Replies!   View Related
ActionScript 2.0 :: Resize And Image And Scale It Proportionately
Ok so for a while now I had this tiny chunk of code that would resize and image and scale it proportionatly. However I just realized there is an issue and I'm having some trouble fixing it - which should be a joke to fix but I can't.

[Code]...

Posted: August 21st, 2006

View 3 Replies!   View Related
IDE :: Resize Background Image To Browser In Scale?
I am trying to achieve an effect seen as on this website. [URL]

I want to have a background image that resizes to the browser window (my other elements retaining their size) - but stays in scale. I have been using the code provided at gotoandlearn which tiles the image. Here is the code used there.

import flash.display.BitmapData;
GreyBar._xscale = Stage.width;
var tile:BitmapData = BitmapData.loadBitmap("tile");

[Code]....

Posted: May 30th, 2007

View 5 Replies!   View Related
Actionscript 3 - Flash Stage Full Screen Mode, Movieclip Full Screen Mode?
i am wondering from this code, it makes the stage full screen, does it also makes the content of my movieclips scaled to full screen? i have tried this code and it does not seem to do that, how can i make my content to scale to fill a stage's full screen? i have a Movieclip containing a background with a class to make special effects on the background, i am having trouble making the background be "fullscreened" nicely with the stage.

Posted: Jul 28 11 at 15:09

View 1 Replies!   View Related
Flash :: Resize / Scale Multiple Bitmaps(duplicate 1 Bitmat Over And Over)
I am trying to make a frame arround an uploaded picture by repeating 1 image over and over again. The user will have to enter the real dimentions of the picture and the image will be scaled acordingly so that the frame will look as big as it should. The problem is that when I get a bigger pickture and I scale the images something goes wrong and there is some smearing in the movie clip. When I move it to X:0 and Y:0 all is well. When I move it to the center of the screen the smearing is there. Here's the code I use:

[Code]...

Posted: Dec 2 10 at 8:43

View 3 Replies!   View Related
Actionscript 3 :: Background Image Auto-resize/scale In Flash Cs5.5?
The name of the background image movie clip symbol is bg_main. The problem here is img is aligning outside the browser window on extreme bottom-right hand side instead of centering.[URL]

Here's the code below:

//set stage for FBF
stage.align = "TL";
stage.scaleMode = "noScale";

[code]...

Posted: Jan 28 at 17:02

View 1 Replies!   View Related
ActionScript 2.0 :: Scale Proportion Past Stage But Not Below Stage
This goes out to Scotty or any other guru floating around out here. I need the image_mc movieclip in this .fla to scale to fit browser, however i need the image to scale in proportion. I would also need a listener of sorts that will NOT allow the image_mc movieclip to scale below the stage size of 1024 x 768.

[URL]

Posted: August 22nd, 2006

View 4 Replies!   View Related
Actionscript 3 :: Centering Objects On Stage And Auto-Scaling With Stage Resize
I'm writing a web based flash app that's written entirely in AS3. I have objects on the screen as part of a GUI. I would like the user to be able to resize the window, or make it full screen. I would like everything to auto-scale with the resize, but also remain in the same relative position on the stage.

Posted: Oct 19 11 at 7:50

View 1 Replies!   View Related
ActionScript 2.0 :: Position A Movieclip In The Middle Of The Stage Even If The Stage Or Window Resize?
i saw a thread while ago .. that always position a movieclip in the middle of the stage even if the stage or window resize any1 can point me to it

Posted: February 27th, 2006

View 3 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved