ActionScript 3.0 :: Smooth Resizing As Opposed Going In And Resizing Every File Manually?

Sep 11, 2009

I'm loading a few pngs/jpgs externally so they can be swapped out occasionally, and the issue I'm running into is when they are shrunk they become fairly choppy. Is there a way to have flash re-render them, or do something to smooth the resizing as opposed to going in and resizing every file manually myself?

View 1 Replies


Similar Posts:


Flex :: Manually Resizing Datagrid - Keep The Column Widths Reasonable?

Oct 27, 2011

Whenever you resize a datagrid by hand (not via code), the last column seems to retain most of the width. What's worse, whenever you extend it and shrink it to a large degree, the other columns can get smushed. Here's a perfect example: The ideal solution would distribute width equally or in proportion to the length of the text. In addition, if would avoid covering text when it's not necessary. Now, setting the width to 0.5 in the example above does seem to alleviate the issue, but not prevent it entirely. What I'd also like to know if there are any well polished, custom datagrids out there that solve this. From trying to find a solution, I suspect the only solutions available are more ad-hoc.

View 1 Replies

ActionScript 2.0 :: Smooth Animation In MCs When Resizing Window?

Mar 23, 2010

I want to know how it's made the effect of smooth transition when the window is resized. I could make MCs get position through AS, scripting:

Actionscript Code:
mc._x;mc._y;mc._width;mc._height;

But I want to know how can I make it moving smoothly when the window is resized.

Example: [URL]

View 2 Replies

Actionscript 3 :: Resizing A Sprite Without Resizing Its BitmapFill (or Its Contents For That Matter)?

Nov 1, 2010

I am not simply trying to contain things and have the container resize without the contents resizing. I would just use a simple MovieClip for that.. My main focus is on the use of BitmapFill. I'm trying to make a repeating background image for a container; thus far I'm able to draw my BitmapFill sprite to the size I want. (Which is the stage's height) but when the stage is resized, I want to re-size my container but have my containers BitmapFill crop or add more as the window is resized bigger or smaller. Allow me to illustrate what I mean:

I've got a simple rectangle sprite that fills with a bitmap from the library and a simple resize handler function that detects when the window has been resized.what I would like to do is have my rectangle resize to the height of the stage.stageHeight maintaining its bitmap fill, but not resizing the bitmap fill or any children within the sprite.

From what I've read, this is a little tricky because the sprite resizes in relation to what it contains.. or.. something like that.. I really don't know any more.. I saw one example where a person extended the sprite class but I don't know why or how..

in my library there is an image called 'pattern' and my code looks like this:

stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.addEventListener(Event.RESIZE, resizeHandler, false, 0, true);

[code]....

View 2 Replies

ActionScript 3.0 :: Resizing A Sprite Without Resizing Its Auto-fill?

Nov 2, 2010

I've got a little problem with BitmapFill, I'm trying to use a sprite as a container for various things and i would like it to have a filled pattern background. my problem is that i want it to resize the sprite to the height of the window but not have the background fill resize, and add more / crop as the window size is changed. to illustrate what i mean, please view the diagram attached to this post .

I have an image in my library called 'pattern' and my code is as follows:

ActionScript Code:
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;

[Code].....

View 2 Replies

IDE :: Disable The Resizing Of Swf File?

Jan 15, 2010

Is there any way to disable the resizing of swf file??

View 1 Replies

As3 :: Flash - Resizing SWF File To Fit Any Screen Resolution And NOT In Browser?

Nov 24, 2011

Just want to find out something... I have a .swf video file which I open with the normal Adobe Flash player 10. What happens is that when I open that file in a smaller screen resolution there's some parts missing (cuts it off around the edges).

How can I resize the content to fit in any screen resolution?

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

ActionScript 1/2 :: Resizing From Xml?

Mar 7, 2010

I'm loading in external images from XML, but they are coming in way too big; i have resized the actual images to the size i want them yet they still come in huge

function drawItem() {
coverImage.loadMovie(mediaFolder + currentNode.childNodes[2].firstChild);
coverImage.width = 600;

[code]....

View 1 Replies

IDE :: Browser Resizing The Swf?

Jan 23, 2009

I have a stage of 600x400 and in the publish settings I chose this same width and height (with pixels dimension, and scale: No Scale).And when I load the swf in a browser:

[URL]

It resizes the swf stage size.(I know this because I have a value which is positioned according to the stage width/height, and also because if I choose an opaque windowless I can see that it is bigger than I want it to be)Am I loading the .swf wrong?

View 2 Replies

IDE :: CS5 Banner Resizing?

Nov 11, 2011

I have made 1 Flash banner 728x90, the next one has smaller dimensions (468x60) but the proportions are the same so, I duplicated the document, grabbed the movie clip containing the animation and used the transform tool to make it the correct size.Some of the images need replacing as resizing didn't treat them well. But since I am trying to add them to the resized movie clip they appear too small.

View 2 Replies

ActionScript 2.0 :: How To Stop Resizing

Nov 26, 2009

My name is Robbie Lee and I make flash games for a living and recently I've encountered an issue that I was hoping one of you could help me with.In some of my games I use sprites made from jpg, gif or bitmap ect. which look nice when viewed at the correct size (550x400) but when I release the games webmasters often post them at incorrect sizes which causes the pixel based images to distort or look ugly which reflects poorly on my talents.

I want to know if there is anyway that I can code it so that the swf cannot be resized and always displays at 550x400 even if it's put in a window that is larger then that.I use ActionScript 2 and Adobe Flash CS3 Professional.[URL]

View 2 Replies

Resizing Externally Loaded SWF?

Dec 23, 2009

i'm having some "big" issues with what seems like a pretty easy flash concept. But, im pretty green when it comes to coding in flash.

I have a SWF thats being externally loaded into another SWF file (see code below):

on(release) {
loadMovie("test1.swf",_root.dropZone);
}

(If i'm understanding the above code correctly...its loading the SWF into a blank MC i created called dropZone) This part seems to work correctly when tested.

I've got 4 different SWF's that need to be loaded seperatley when its coresponding button is clicked. The issue arises when I import the external SWF file...it resizes itself to the size of the flash stage. I need all the SWFs to be loaded and remain there original size (1257x847) or be scaled to the correct size. Then if I click another button it should load the new SWF and "unload" the old SWF.

View 3 Replies

ActionScript 2.0 :: Resizing The Browser?

Feb 10, 2010

I saw this site in another post and I've noticed this becomming the trend in photo galleries. [URL]When you drill down and open up a photo, the photo resizes with the browser while the rest of the movie elements expand without resizing. I'd love to know how this is done.

On a side note, it used to be impossible to resize a photo cleanly in Flash. Is something being done here or is it just improvements in Flash players?

View 4 Replies

Flash Resizing Workspace?

Feb 17, 2010

I'm starting to learn flash with AS 3. I can handle flash quite ok at the moment, but now I'm learning AS3.However, sometimes when I start Flash, the workspace "Actions" is larger than my screen. This means that a part of my script is not readable. #$Q^$!! I've tried everything to resize it, but didn't find a solution. I've flash professional for mac. I've tried switching 'workspaces' , try to move the workspace in another position. It doesn't work 'cause I can't drag the space above my screen.

View 3 Replies

ActionScript 2.0 :: Positioning And Resizing A .jpg

Jul 12, 2010

I'm using action script v2 to load a .jpg from a button.I'm using the command 'loadMovieNum("photo.jpg",4)'What script could I add in to resize the jpg to specific dimensions and position it at a particular x,y coordinate?

View 2 Replies

ActionScript 3.0 :: Controling Resizing Of A Swf From Another Swf

Jul 25, 2009

I'm trying to build a site where all the pages are full browser and maintain aspect ratio. I would like to control the resizing from the menu page.The resizing works fine from the page that's being resized but when I try to let the parent swf do that it has issues. Here's what the home page looks like with the controls built in URL...This example is the site it has a menu page that I open the others from I remove the resizing code from the home page and try to resize from menu.swf.[code]

View 4 Replies

New Tweens And Resizing The Stage

Nov 17, 2009

I'm going nuts trying to figure this out. I built an animation project at 630 pixels wide. Turns out the project needs to be 430 pixels wide. In CS3, using the classic tweens, I would simply resize the stage, Onion All, then resize everything on the stage at once. But with the new tween structure, it looks like I can't do a mass resize like that. Anything that's been tweened using the motion editor does not resize.

I know I can just create a new movie clip, paste all frames into it and then resize the MC, but I have some JPEGs of signatures that pixellate when they are resized that way. So, can you onion skin the new tweens? Is there a workaround?

View 1 Replies

ActionScript 1/2 :: Resizing Swf / Exe At Runtime?

Aug 18, 2010

I created an 800 x 600 size flash file for one application and i would like to be able to resize it easily to run in another application at 800 x 480.
 
My code works to scale everything but the stage:
 
this.onLoad = function() {
this._xscale = 100;
this._yscale = 80;
}
 
i tried another way of loading my movie into another LOADER, but i think that the LOADER will require as many frames that my movie uses...
 
i would like to try to get the top code to work if possible and not have to use a loeader.

View 1 Replies

Flash :: FLVPlayback Resizing?

Jul 20, 2010

Alright, so I'm playing several different videos at different sizes with the FLVPlayback component and something odd is happening that I don't remember happening before...Now, when I switch from video to video, the FLVPlayback physically resizes to match the height of the video... I don't remember this happening before. Before, the FLVPlayback would just vertical center the video no matter what size the height of the video is.

View 1 Replies

ActionScript 3.0 :: Positioning And Resizing?

Nov 27, 2010

I have been working on this to no avail. I would like to individually position different movie clips unto my flash site, yet it will only let me position one. Well.. more specifically it will perfectly position rock_mc, but transition_mc wont appear centered until I resize the screen manually. Is there any way I can fix this to have it appear in position from the beggining?

Code:
function init()
{

[code].....

View 1 Replies

ActionScript 3.0 :: Resizing A MC With A Slider?

Aug 21, 2011

I apologize, the math must be too complicated for my right-brained mind. I've created a slider bar widget with a slider knob thingie who's start/stopDrag is restricted to 100px along the x axis.

I need to resize another movie clip from 25%-400% based on the slider's knob position.

I need slider(and respective MC) to start at 100% by default. I've started with something like this (below) but the math is wrong, and I can't figure out how to do this for the life of me.

[Code]...

View 3 Replies

ActionScript 2.0 :: Way To Cancel Resizing

Sep 11, 2011

What do i need to write so that resizing the swf window won't work?

View 2 Replies

Actionscript 3.0 :: XML Image Resizing?

Aug 13, 2010

So I'm having difficulty with this one, basically I am working on an XML image gallery.Load XML - with Image and Thumb paths in itoad thumbsWhen you click a thumb it loads corresponding image etc.When I load in the image I need it to load proportionally into a MC.This is the basics of how I have it at the momentCode: Select all box_mc.addchild(Image) // so it's loading into the box_MC which is H:300px W:500

if (Image.height > 300){
Image.height = 300;
Image.scaleX = Image.scaleY;

[code].....

View 1 Replies

ActionScript 2.0 :: Resizing Instead Of Movement In Phy. Tut?

Feb 11, 2004

I read the actionscript tutorial on how to make a elastic type animation and I have a question (duh!). Is there a way to resize and move instead of just being able to move the stuff. I want a box that slides to a new area but also gets bigger and I am not very good with math or very great with as. I have also attached the file I am working with.

View 2 Replies

ActionScript 2.0 :: Resizing Pop-up Window

May 18, 2005

i saw in some sites that a window pop-up in smaller size which contains preloader and resize to larger size(main content) when it loaded,how to do that?

View 1 Replies

ActionScript 2.0 :: Resizing MC Using A Rollover

Aug 25, 2005

I've been trying to work out how to gradually shrink an MC when I rollover a button but it increases in size when I rollout?

View 9 Replies

ActionScript 2.0 :: Resizing Nested Mcs?

Feb 23, 2006

How exactly does this work? If I set the width of a movieclip which is nested inside another movieclip, it never works how I think it will. Could someone explain to me the way this works?I'm trying to load images into movieclips that have a border, and the only thing holding me up is that resizing the nested clip, or the clip it's nested in, is really hit-or-miss as far as predictable results.

View 1 Replies

ActionScript 2.0 :: Resizing Swf In Html?

Feb 5, 2008

I need my swf to be resized in html, when i resize my swf it is getting resized and all the contents are getting resized but when i publish it in html it is not getting resized and the contents also.

View 6 Replies

IDE :: Pixelated Jpegs With Swf Resizing?

Feb 10, 2009

I have a swf embedded in a HTML page at 100% - so it resizes with the page. In this I am dynamically loading jpegs... however, if the swf is displaying at anything other than its original size the jpegs look clumsily pixelated... which would be understandable if they were bigger than their native size, but it also happens when theyre smaller....

View 4 Replies







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