ActionScript 3.0 :: Image Gets Distorted When Scaled To A Smaller Size?

Jan 30, 2010

I made an SWF file (say X) and I have loaded this SWF file into another FLA file (say Y). With help from this forum, I got to do what I wanted - when I click on a button on the FLA file (Y), the SWF (X) shrinks to a smaller size (about half the size) and when I click on that same button again, X enlarges back to the original size. I acomplished this with tweenlite. THe SWF (X) has a slideshow of images. Now, when the SWF (X) shrinks to a smaller size, the images look very distorted and text in the images are not readable (although the text is large enough to be clearly visible).

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Photo Gallery - Make The Image Window Smaller And The Overall Movie Smaller?

Jun 25, 2004

I found this really neat photo gallery on flashkit but there is no support or readme included. how to size this thing.. the AS code does have comments but I am not a coder.I'd like to make the image window smaller and the overall movie smaller. 325x325 or so

View 10 Replies

Button Animate From Its Normal Size To A Larger Size But In A Fluid Scaled Motion Images

May 10, 2009

I need to make a button animate from its normal size to a larger size but in a fluid scaled motion. I'm using a png image I cant seem to get it to scale from small to big when animating, and I have inserted a motion tween.

View 3 Replies

AS3 :: Flash - Get Exact Size Of Movieclip If Stage Scaled?

Jun 9, 2011

How do I get an exact width and height of a MovieClip if it was scaled on stage resize?

for example if I have:

stage.scaleMode=StageScaleMode.EXACT_FIT;
stage.addEventListener(MouseEvent.MOUSE_DOWN, checkSize);
function checkSize(e:MouseEvent):void{
trace(mc.width);
}

It will always output the same width and height no matter how big or small the stage is. Is there anyway to get exact current size?

View 2 Replies

ActionScript 3.0 :: Get Exact Size Of Movieclip If Stage Scaled?

Jun 9, 2011

How do I get an exact width and height of a MovieClip if it was scaled on stage resize?for example if I have:

ActionScript Code:
stage.scaleMode=StageScaleMode.EXACT_FIT;
stage.addEventListener(MouseEvent.MOUSE_DOWN, checkSize);

[code]........

View 3 Replies

Flex :: Why Is The Size Of Swf File Smaller Than The Sum Of It's Swc's

Jun 24, 2009

I compile my Flex application with several swc's (libraries) and it creates a swf file. The sum of the swc's is roughly 4 MB yet the actual swf generated is only 1.6 MB. How is this possible?

View 3 Replies

ActionScript 3.0 :: Taking Bitmapdata Of An Image Scaled Down With Overlay Objects On The Image?

Apr 26, 2009

hi guys, i got this image i scaled down by .5. The user is then allowed to add objects to the image such as flowers that are sprites in the library. So basically, a jpeg that is 800 x 800 is down to 400 x 400 on the stage and the user is able to add objects to overlay the image.

i want to save the image with the flowers and objects back to its 800 x 800, how do i redraw this image using bitmapdata properly?

View 2 Replies

ActionScript 2.0 :: Past A Certain Point It Is Scaled Down In Size And It Locks In To A Specified X And Y Position?

Sep 16, 2009

I have a MC that can be dragged. when it goes past a certain point it is scaled down in size and it locks in to a specified x and y position. The problem is this is causing the onPress function and onRelease function to not work properly. once the mc goes in i cant get it out. this is on the first frame of the timeline

Code:
flatline.onPress = function() {
if (_currentframe == 1) {

[code]....

View 3 Replies

ActionScript 2.0 :: Go Back To Its Native Size After Being Scaled Down Using The Tween Class?

Apr 23, 2007

Is there an easy way to code something, using the tween class, to go back to its native size after being scaled down using the tween class? I checked the tutorial on the site and couldn't find any information on this.

View 5 Replies

Professional :: Embedding Swf In Html With Smaller Size?

Mar 3, 2012

I want to embed an swf file that is on a different server.

The thing is that i want the swf to be shown at a smaller size (500X333 instead of 900X600 ).
 
The problem is that when i change width&height, the swf gets cut-off instead of show shrinking it.
 
I tried playing with the params, but couldn't get it to work.
 
I don't think it matters but it's a swf of a flex project.

View 8 Replies

Actionscript 3 :: DrawRoundRect - Get A Smaller Rectangle Than That Size

Aug 1, 2011

I'm trying to create a custom button with ActionScript 3.0. I'm suing a round rect as background, but I have a problem with it size. This is my custom button class:

[Code]...

I don't know why when I use a size of (40, 20) I get a smaller rectangle than that size.

View 3 Replies

IDE :: Text In Image Distorted When Uploading?

Mar 14, 2010

I have a psd that is the background image on a site im creating, when i test the movie it looks fine however when i upload it to the ftp the text looks jagged.

[URL]

If you look on the edges on the cost of love logo you'll see what i mean.

View 1 Replies

Professional :: Size Of Flash Movie Displaying Much Smaller Than It Should Be

Feb 18, 2010

URL...I can't seem to figure out why the swf file is so small. I published it at 100% width & height (I want it to be full screen) but it only shows up as 216 pixels tall.

View 2 Replies

JQuery :: How To Show Only Center Of DIV When Window Size Smaller

Oct 22, 2011

I want to keep the flash object centered, even when the window size is smaller than 1280, so it only shows the center of the div.

View 1 Replies

Javascript :: Keep The Size Of Flash Swf Smaller Than 215X130 Pixel?

Jan 24, 2012

I have a situation wherein I have to keep the size of my flash swf smaller than 215X130 pixel. However, I want to use Microphone, so the permission dialog needs an area at least 215X130.

View 1 Replies

ActionScript 3.0 :: Flash MouseOver - Larger Image To Appear ONLY When Mouse Is OVER The Smaller Image?

Nov 4, 2010

I created a simple mouseover (like this one http:url... )with one small image that grows to a LARGER image directly on top of the smaller image when mouse is OVER the smaller image. When user mouses OVER the smaller image the larger image appears correctly.Problem is that even when user mouses OVER the "boundries" of where the LARGER image WILL appear, that also causes larger image to appear. What I want is for the larger image to appear ONLY when mouse is OVER the smaller image.

View 2 Replies

Publish Settings And Quality Changes Don't Make File Size Smaller

Aug 24, 2006

My swf file is rather large, so I tried changing the quality settings and the publish settings, but nothing I do seems to change the size of the final swf.

View 2 Replies

Flash :: Resizing A High Resolution Video To A Smaller Size?

Nov 2, 2011

My company sent me a video that they wanted us to post on the intranet.  It's a simple powerpoint video with a narrator talking about some policy and benefit changes, etc.

I tried the exporting the video in both 720(width) and 1280 format, and found that when shown in fullscreen mode, the 1280 format was much easier to read than the 720, however, we didn't want to show it on the intranet page at full 1280 by default.  So I modified the html and javascript that plays the movie so that it would show in 720 width on the page.  The problem with resizing the 1280 video into a 720 space is that the video player bar (where the play, stop, volume controls are) becomes extremely small when I do this.  Of course, this is because Flash generated the player with a toolbar optimized for 1280, so it's getting scaled down when I pack it into a smaller playing area.

Is there an solution to this that I haven't thought of?  How can I generate this movie to get the better full screen appearance of the 1280 video, but also still show the video in a smaller 720 area when the user is not in full screen mode?

View 1 Replies

Media Server :: Running With Multiple Smaller Mp4 Files About 50 MB In Size?

Feb 22, 2012

I have a question regarding httpstreaming we have fms running with multiple smaller mp4 files about 50 MB in size. When played they start playing immediatly but still are cached/downloaded in directory C:Documents and SettingsUsernameLocal SettingsTemp of the clients
 
Now we have issues with a large file of 890 MB, which is not being played, clients need to download this complete file to play it. Does the streamingpart doesn't work well on our server?
 
Please help since we getting a lot of complaints from viewers. Running FMS 4.0.3 on CENTOS 5.7 64 Bit
 
What can i check besides the forums regarding dynamic httpstreaming

View 2 Replies

IDE :: Resize If Browser Window Is Smaller But Not Go Bigger Than Pixel Size?

Feb 10, 2009

what I want to do is publish my flash file so that it scales down but not up!So if a browser window happens to be smaller than the pixel height, the movie is scaled down but if the browser window is bigger than the pixel size, the movie is not resized and just centered.

View 2 Replies

ActionScript 3.0 :: Prevent Scrolling On Textfield Smaller Than It's Auto-Size

Apr 18, 2010

if it's possible to prevent a textfield from auto-scrolling on highlight when it's height is smaller than it's autoSize height. selectable = false is not an option, and the smaller height is a requirement, can't make it proper height and then mask it.

View 4 Replies

ActionScript 2.0 :: Only Show Image On Smaller Image Rollover

Feb 6, 2009

i want to show a bigger image when the cursor is over the smaller version.

View 9 Replies

ActionScript 3.0 :: Flash Senocular's TransformTool - MovieClip Is Relocated Much Smaller Than Its Original Size ?

Jul 5, 2010

I see a number of cool sites and examples using Senocular's TransformTool. Most of them look and function really well. I've downloaded and reviewed the code for a number of different examples.I can see how everyone else's works.I'm having difficulty with 2 points:

1. When I select a movieClip, the TransformTool appears in the correct spot and in the correct dimensions. But the movieClip itself is relocated much above the TransformTool and is MUCH smaller than its original size and the current (and correct) dimensions of the TransformTool. Selecting one of the handles and dragging stretches the movieClip but does not make it the same dimensions as the TransformTool

2. Releasing one of the handles seems to cause the handle to behave in the same way the movieClip did -- you can resize and move the handle.

View 4 Replies

Flex :: Know If An Image Needs To Be Scaled Down Or Not?

Jul 15, 2010

I'm trying to create in Flex a Tile view that shows some images that a user has. The images don't have the same size, some are small and some are big.

What I'm trying to do is to use a List and create an ItemRenderer that has an Image property which displays the user images (the images are passed to the source property of the Image Object), I want the big images to scale down to the size of the tile so I set the 'scaleContnet' property of the Image Object to true, but this causes the small images to scale up to the size of the tile, this is not the behavior I want.

all the images are Embeded into Class objects and are passed as arguments to the ItemRenderer, how can I know in the ItemRenderer if I need to set the 'scaleContnet' property of the Image Object to true (for big images) or false (for small images)?

View 2 Replies

ActionScript 3.0 :: Get Scaled Copy Of BitmapData Of An Image?

Apr 6, 2011

For the class  spark.components.Image
 
I can access the bitmapData object  (readonly) (unscaled). I know the scaling factors of the Image.
 
How  can I get a scaled version of the bitmapData?

View 3 Replies

Web Development :: Scaled Image Not Saving When Cropped In AS3

Jun 6, 2011

When I try to save a cropped image that I have scaled, my save function ceases to work, but works perfectly fine when the image is not scaled.

Here's my code:
var loada = new Loader();
loada.load(new URLRequest("img_one.jpg"));
loada.x = 205;
loada.y = 110;
loada.cacheAsBitmap = true;
[Code] .....

View 1 Replies

Actionscript 3 :: Resulting Scaled Image Has Aliasing And Is Not Of Good Quality?

Aug 5, 2010

I have a flash application in which I need to scale a MovieClip.This MovieClip contains an image (in a Loader) with a resolution of 1024x768 (which is the size of the MovieClip as well).When I want to scale this MovieClip to 80% I do:

myMovieClip.scaleX = 0.8;
myMovieClip.scaleY = 0.8;

The problem is the resulting scaled image has aliasing and is not of good quality. Is there a way to change the scaling algorithm used to get a better image?Or is there a better way to scale MovieClips? I can't rely on bitmap data because this MovieClip may contain another SWF with video for example and it must scale regardless of its internal content.

View 1 Replies

ActionScript 2.0 :: Make An Image Go Smaller As The Y Value Lowers?

Mar 22, 2004

ive seen this done before but i dont know the code, i want to have an image that is moved with the arrows decrease in size as the y value gets lower...so kinda like a 3d type of deal so the farther back you go the smaller you are...

View 3 Replies

ActionScript 2.0 :: Make An Image Go Smaller As The Y Value Lowers

Mar 22, 2004

ive seen this done before but i dont know the code, i want to have an image that is moved with the arrows decrease in size as the y value gets lower...so kinda like a 3d type of deal so the farther back you go the smaller you are...

View 3 Replies

ActionScript 3.0 :: When A Smaller Image Is Loaded The Big One Stays Behind For One Slide More

May 9, 2010

I'm using some action script code for a slide. The problem is that when a smaller image is loaded, the big one stays behind for one slide more. Maybe this happens with all slides but is only visible when a smaller one is loaded... What could be done? The code is:

[Code]...

View 7 Replies







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