IDE :: Resizing List Without Scaling Content?

Nov 2, 2009

I have a List Component being resized at runtime based on the size of the Stage. It seems to scale the content rather than just changing the bounds of the list. Is there a way to change its size programatically without scaling the content?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Resizing Stage And Scaling All Content?

Jan 3, 2007

I have a banner that is 468x60 pixels and I need to rezize it to 728x90 - this includes scaling all of the content over the timelines proportionally.

View 6 Replies

Actionscript 3 :: Prevent Flash From Scaling / Resizing Content In A Web Browser?

Jul 29, 2011

I have finished my flash game, but when I used web Browser such as Chrome or FireFox to run it, it enlarged my game to full size of the browser. Is there anyway( in AS3 script) that I could prevent this from happening as well as hide the symbols that their sizes are bigger than my default size defined at the document property panel?

View 1 Replies

Actionscript 3 :: Scaling And Resizing Flex Component?

Mar 30, 2011

I have custom flex component inherited from UIComponent (compiled, no source code access). It has fixed width-to-height proportions and it's scalable. If I set its width and height to 100%, it's trying to fit parent's size, but it keeps width-to-height proportion, so if it's proportion does not equal parent's proportion, there can appear empty space near this component when resizing parent.

What I need, is to fit my component completely to parent's size. Is there any nice way to do this? I could listen to parent's resize event, and play with component's scaleX and scaleY

View 3 Replies

ActionScript 3.0 :: Resizing A Sprite Without Scaling/streching Its Children?

Nov 29, 2009

I have a Bitmap. Let's say it's 100x100 in size. I would like to display that bitmap on a Sprite that for the sake of this example is 100x50. Since the height of the bitmap is double than the height of the sprite - I would have liked the bitmap to be cropped (and to later implement a "scroll-down" mechanism) - HOWEVER, apparently:

1. The size of an "empty" sprite is defined by the size of its first children(s) - once I addChild the bitmap into the sprite - the sprite becomes 100x100 (If I try to define the size of the sprite to 100x50 before adding the child, and then adding it - then nothing is displayed).

2. If I then try to resize the sprite by modifying its Height property - the bitmap get's "scaled-down", or rather "squashed-in" to fit the new size.I'd like the bitmap to retain its original size (and be cropped at the bottom).Can it be done (without copyPixeling to a different bitmap etc.), and if so how?

btw:(3) If after all that I try to scale the bitmap back up (by changing scaleY) - then the sprite itself is again gets scaled and resized with it...

View 1 Replies

Actionscript 3.0 :: Resizing Or Scaling Image Without Losing Quality?

Apr 23, 2009

Ive seen this done in some website, the image while resized (down of course) doesnt lose quality. When I tried to scale the loader it loses quality. I even tried to use bitmapdata for that but it seems the result is the same.

View 3 Replies

ActionScript 2.0 :: Scaling And Resizing Dynamically Loaded Images?

Apr 9, 2009

Im building a site for a photographer, all images are xml driven.. When a thumb is clicked the full size image is loaded into an empty movie clip.

I am after a similar effect as seen here..[URL] If you resize the window the image resizes to scale...

I have managed to align the rest of the movieCLips to the stage when it is resized in its right positions just can't get the image to resize!.

View 3 Replies

ActionScript 3.0 :: User Resizing And Scaling Movie Clips On Stage

Jun 25, 2010

'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...however im not quite sure how to do all the rest... is there a way or a tutorial to do this?

View 1 Replies

ActionScript 2.0 :: User Resizing And Scaling Movie Clips On Stage?

Jun 25, 2010

'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...however im not quite sure how to do all the rest.

View 3 Replies

ActionScript 3.0 :: Outside Stage And Objects Proportional Scaling To 100% With Resizing Capabilities?

Feb 23, 2011

i am looking for class or something to proportional outside scaling of stage and all included objects (internal or external).I know SWFfit and LiquidStage. I have got many problems with integrating SFWfit to my code (resizing is not affected to included objects). LiquidStage seems to be ok but it`s not freeware . I am looking for free possibilities to do it.I am trying to connect that with GAIA framework.

View 3 Replies

ActionScript 3.0 :: Resizing/scaling Flash Movies Based On Resolution?

Apr 21, 2011

I am looking for a solution, on how to set a movie clip so it would fit to different monitor resolutions. I have found a few solutions (like changing the "px" to "%" inside the html file), but none of them give me the results I wan

View 10 Replies

ActionScript 3.0 :: User Resizing And Scaling Movie Clips On Stage?

Jun 25, 2010

'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...however im not quite sure how to do all the rest..

View 1 Replies

Flex :: Make List Content Dependant On Selection In Another List?

Jul 6, 2011

When a user selects a category from the first drop down box then i want the 2nd drop down to be updated based on the selection of the first drop down. I have created multiple ArrayCollections whose names are set to the "data" values of the first drop down, for instance:

[Bindable]
public var countries:ArrayCollection = new ArrayCollection([
{label:"USA",data:"USA"},

[code].....

View 2 Replies

ActionScript 3.0 :: Content Not Scaling On Window Resize?

Apr 10, 2010

How come my content isn't scaling when I resize the player window (see attachment)?

View 2 Replies

ActionScript 3.0 :: Scaling Loader Class Content?

May 27, 2009

I have a "master" SWF file into which I load content (other SWFs) via the Loader Class (with code below).
var contentLoader:Loader = new Loader();this.contentContainer.addChild(contentLoader);I load the content (these other SWFs) into a MovieClip container on the stage called "contentContainer". The "contentContainer" is much smaller than the "master" SWFs stage and also much smaller than the original size of the SWFs that the Loader is loading in. Also, and this is very important, the "contentContainer" itself is sized -- not scaled -- (see code) and placed on the stage depending on how large the stage is scaled (I am trying to make one of those "liquid stage" flash sites that fills the browser window with flash content regardless of window size).//this resides in a function that is called whenever the stage RESIZE Event is fired

[Code]...

View 3 Replies

ActionScript 1/2 :: Only Scaling Some Content When Going Full Screen?

Feb 1, 2010

I have an AS2 image gallery with thumbnails and fullsize images and descriptions that load from external XML-files. I have found out how to take this gallery into true full screen. But when going full screen, I want only the full size image to scale up. Descriptions and thumbnails should stay the size they have when the flash movie is in its normal display state.
Attachments: Gallery.txt.zip (998 bytes)

View 3 Replies

Professional :: Image Loaders Not Scaling Content?

Jul 19, 2010

I have a couple of Image Loaders, the images that they call are bigger than the components themselves but have turned on scaleContent to ensure that it fits and scales to size. This works fine across many platforms but i've found that on some systems it displays the imported image at it's true size rather than the actual size of the component.

View 1 Replies

ActionScript 3.0 :: Resize MovieClip Without Scaling Content?

Jun 10, 2011

Essentially I'm building an application in Flash, just for the fun of it really. Upon the initial design it was just a static size, now however I've been working on making it completely resizeable (with the original size as the minimum). I've done this on most of the screens correctly. However on the main screen I have several components. All custom built MovieClips basically, and inside these are more MovieClips, and inside those are even more movieclips.

For my question, I'm going to be using a button as my example. I created a button movieclip with a resize function to call after I change the size of it. So it works like this:
ActionScript Code:
buttonMC.width = 200;
buttonMC.height = 150;
buttonMC.resized();

Now this button is inside of another movieclip which is designed to just house a group of similar movieclips. (this structure is not changable; several hundreds of lines are code are specifically designed around it). How to get our button's width from the root timeline, we'd do this:
ActionScript Code:
trace(housingMC.buttonMC.width);

Now, when this frame gets resized, the resizing script changes the width height of the housingMC. Something like this: (not a working example)
ActionScript Code:
//resize listener {
housingMC.width += stageWidth - oldStageWidth; //width difference
housingMC.width += stageHeight - oldStageHeight; //height difference
And the housingMC changes to the correct size in the correct position of the screen.
[Code] .....

View 7 Replies

ActionScript 2.0 :: Allowing Background Scaling - Content Not

Jul 15, 2004

I want to use a gradient as background for my flash movie, but I want this background to cover the whole browser's window just like Adopt Design does it (check out Adopt Design). The content of the flash movie should NOT be resizable with the browser's window though. So, I used this code:

[Code]...
in the HTML file I did set the margins to 0pix and the SWF's height and width to 100%. But when I type in the address in the browser to open the page the first time, I see the flash movie in the center with white background around it anyway, and when I resize the browser's window (even if just 1pix) everything is perfect. What's happening? check the problem in a JPG: the site (notice what changes when you resize the window, after opening)[URL]

View 4 Replies

Professional :: Off Screen Content, And Resizing Swf?

Aug 2, 2011

I am having a slight issue, i have created a flash file 800 x 600,But i need to split it into half... i already have animations on both halfs which overflow to the off screen,Is there a way of cutting the content in half via width (400x600)? (im uploading the content into a system which requires it in 2 halfs and also if i have any content off screen is messes up...)

View 4 Replies

ActionScript 3.0 :: Centering And Resizing Content ?

Feb 28, 2009

I was looking at this tutorial, this is exactly what I am trying to do with my website, but this is AS3, is there a way to change the code so it will function exactly the same but with AS2 code instead.

I have already contstructed my site with AS2, which then wont allow this code to work, Is there even a way I can have an AS3 index file that loads the movies with the AS2 and applies the same resizing to the movies that have been loaded.

View 2 Replies

ActionScript 2.0 :: Resizing SWF Film And Content?

Sep 11, 2003

Any code for resizing a swf film and content. This is to make possible to see the entire movie as one resizes the browser window.

View 1 Replies

ActionScript 3.0 :: UI Loader Content Scaling - Loading External SWF

Aug 18, 2009

I've devised a preloader using the ui loader and progress bar components in flash cs3. The goal being to load an external .swf into the uiloader and that has been achieved. I'm having problems with the scaling now. In my code I have set the content scaling to "true" and that isn't supposed to cause distortion of any type but it does. It squishes my external .swf in width wise.

HTML Code:
var imageURL:String = "portfolio.swf";
var imageURLRequest = new URLRequest(imageURL)
uiLoader.scaleContent = true;
uiLoader.load(imageURLRequest);
progressBar.source = uiLoader;
[Code] .....

View 1 Replies

ActionScript 2.0 :: Box Resizing Around Content - Outline Does Not Change

Oct 21, 2005

I thought that in the past I had seen a tutorial on this site teaching how to have a outlined box scale smaller and larger when a button is clicked, and the size of the box scales to a certain size depending on what loads inside the box. When this happens the outline does not change either. This all being done in most likely actionscript?

Well I have searched extensively and have not found it on this site, which I thought is where I had seen it. Anyway I was wondering if anyone knew of the tutorial or if they could tell me how to do what I have exlained above that would be really awesome!

View 3 Replies

ActionScript 3.0 :: Resizing Dynamic Content Proportionally?

Jan 27, 2009

I have a SWF that pulls in movie files. I need a way to detect the size of the file that is being pulled in and scaling it appropriately..

Code:
import caurina.transitions.*;
var conn:NetConnection = new NetConnection();
conn.connect(null);

[Code].....

View 9 Replies

ActionScript 3.0 :: Resizing Flash Content In A Browser?

Aug 19, 2009

I have flash content online that is 1024x800 px but need it to resize/scale dynamically if the browser window is resized or someone with a browser height of less than 800 visits the website.

Been looking at stage.resize and event.resize but can't figure them out. Also have looked at swfobject and swffit (not actionscript I know) and can resize my content to a specific size using swfobject but not dynamically.

View 4 Replies

Flex :: Resizing List Components Upon DataProvider Change

Jul 10, 2011

I have a component that contains a list that implements a custom renderer. I use this component as a tooltip, keeping one in memory and just altering the databindings as necessary.

Something like this where TTComponent is a class that extends Canvas:

<s:TTComponent>
<s:BorderContainer>
<s:List id='lstItems' dataProvider="{data.Items}" width="50%" borderVisible="false" contentBackgroundColor="#222222">

[Code]....

Now, what happens is when data containing many items is set to tt.data, the list resizes itself larger and displays fine. However, after this, if data containing few items is set to tt.data, the component momentarily displays larger than it needs to be, then resizes itself smaller.

What I'd like to do is have the component resize itself before it displays, so I don't see the resize on screen.

View 1 Replies

ActionScript 3.0 :: Auto-Resizing And Centering Content Tutorial?

Aug 11, 2009

I've just run through this tutorial and I've got my site centering in my browser as planned.However when I resize my browser window the text (I'm using a pixel font) is going fuzzy.Is there some way I can lock 'centerRectangle' to a rounded X and Y coordinate so that this doesn't happen?

Code:
function init()
{

[code]....

View 2 Replies

ActionScript 3.0 :: Ignore Mask Content On Resizing And Centering

Mar 24, 2010

I have a main flash container move that loads in multiple swf files. I created a movieclip container in the main flash container that resizes and positions according to the stage height and width as follows:

Code:
swf_width=stage.stageWidth;
swf_height=stage.stageHeight;
new_container_height=swf_height;

[Code].....

This works fine if no graphics are off the stage in the loaded swfs. Otherwise if I have a scrolling menu and the buttons out width the containing mc it takes into account the masked content width and centers the movieclip accordingly throwing alignment off.

Is there a way to ignore masked content when getting stage width and height?

View 1 Replies

ActionScript 1/2 :: Publishing File - Content - Resizing The Stage Or Changing The Settings

May 7, 2011

I have edited the pageflip script and file to suit what I need to do and my issue is not related to the usual addition of pages or content etc... but is to do with publishing the file. I have increased the sizes of the page from what they are in the original file and this is where the issue lies because when I come to publish the file as an exe the content no longer seems to fit the window when published and you have to expand the viewer. The instructions for quite a lot of the pageflip is there and pretty easy to decipher however outputting/publishing the file seems to be unclear.

Can somone please point me in the right direction for resizing the stage or changing the settings so that the published file shows all the content without the need to resize the window?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved