ActionScript 3.0 :: Vectors Become Pixelated When Scaled?

Nov 16, 2009

I'm trying to scale down some vectors but when i do they become pixelated. So I tried putting then in a container and scaling down the container, but pixelation still occurs.can anyone tell me why this is happening and a possible work around?Here is the function from my class:

private function addItems():void
{
addChild(itemsContainer);

[code].......

View 3 Replies


Similar Posts:


Actionscript 3.0 :: Vectors Become Pixelated When Scaled

Nov 16, 2009

I'm trying to scale down some vectors that have a z position set (other than zero) and they are becoming pixelated. So flash is obviously bitmapping the vectors.

Does anyone know of a work around to stop the pixelation?

Here is the function from my class:

private function addItems():void
{
addChild(itemsContainer);
// make the items.

[Code].....

View 1 Replies

Professional :: Pixelated Images When Scaled Down

Mar 27, 2008

I have scaled down some JPG's in flash and they look fine but when I publish to a SWF they look pixelated. I've read other threads and done what is suggested i.e. Smoothing on or off, JPG's instead of PNG's and quality at 100% with no success. I know that Flash isn't a resolution based application and bitmaps are but the images look fine in the Flash IDE.

View 6 Replies

ActionScript 3.0 :: JPG/PNG Encoding And Vectors?

Dec 4, 2010

So I have recently created a Tshirt design application where a user can draw on a tshirt / add text / upload images. Though I am having a few problems. Problem #1: Using the pen tool I can only allow users to draw and reset the drawing using the graphics class, no idea how to create an eraser tool

Q1 - Is there any way to create the eraser? Problem #2: Once a user saves the shirt it is later encoded into a JPG or PNG With no way of editing the shirt in the future.

Q2 - I thought of saving the locations of the shapes / items they uploaded onto the shirt and colors and later re-creating the shirt once loaded. But ran into one problem that is I cannot save the drawing they did using the pen tool, only the location of the objects (MC's) is there any better way to creating this?

View 5 Replies

PNG Images Pixelated When Tweening

Dec 3, 2009

I have imported two images from PS to Flash in PNG format. They are the perfect size and ready to use (i.e. not scaling these images). When I convert them to movies, the animation looks great in Flash, but when I export them they only look good when I have the HTML settings set to "Best". If I don't have this setting on, it looks like crap (i.e. very jagged). These are photos btw, not vector images or shapes.

The reason I want this to be optimized without the control of HTML is because I am creating web banners for advertising. When I submit my swf file to the webmaster, they basically will embed the swf with whatever settings they choose. If they don't have the setting on "Best", the file looks like crap. Allow smoothing is on.

1. When I import the PNG image, can I safely select JPG compression via the Bitmap Properties? Or do I need to keep it as lossless? If I select JPG, I can considerably reduce the filesize, although I'm not sure if that causes the images to look jagged as well.

2. Is there anything I can do outside the HTML settings to display my animations without the jagged edges? I need to keep my filesize under 50Kb which is pretty hard when working with photos and animation etc.

View 3 Replies

ActionScript 3.0 :: JPG Loaded Via XML Pixelated

Jul 10, 2010

I am making a simple little movie that reads an XML file, gets the url of the most recent nodes image and displays it.I have everything working, but the image gets pixelated when it gets sized down, and I cannot figure out how to enable smoothing with my code.I am new to A.S. so I am fumbling my way through something this advanced. From my reading I think I cannot enable smoothing because I am using a UILoader to display the image?[code]

View 6 Replies

External Jpg Looks Pixelated When Called?

Apr 15, 2008

I am calling a group of "large" jpgs into a slide show viaxml at runtime.The files are at size and with no compression as they are seelocally on a touchscreen.They look good in Pshop on screen, but when viewed in the swfthey have odd edges in t etext areas or anywhere there is adramatic shift in color or contrast. It looks like compressionissues, but I have been through each file multiple times andnothing seems to be wrong.Is there a limit to what file size can be imported andmanaged clearly by flash?Movie is 1924 x 1200 and the slideshow running in the windois 1277x959(rgb,jpg,files@72DPI)Image quality is very important on these because they are on

View 2 Replies

ActionScript 3.0 :: 3D Objects Become Pixelated?

Sep 11, 2009

why a vector in a movieclip becomes pixelated when the movieclips z value is set to a nagative value?for example:mcSphere.z = -500; looks awful.

View 1 Replies

IDE :: Play The Swf, The Resolution Gets All Pixelated?

Jan 15, 2009

I'm having problems with image resolution...I'm using .png files, and the color/reso looks great in the flash file, but when I play the swf, the resolution gets all pixelated.

View 1 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

Shape Tween Grayed Out Between 2 Vectors

Sep 2, 2009

I have two vector graphics I imported to my stage and want to do a shape tween between them. But shape tween is grayed out. The images are imported Illustrator EPS's. I attached two screenshots.

Attachments: Picture 1.jpg (144.1 K)
Picture 2.jpg (141.9 K)

View 1 Replies

ActionScript 1/2 :: Any Way To Transform TextField To Vectors?

Oct 11, 2009

I very often use animated text (rather for menu titles than paragraphs) in my flash works and the render of fonts is usually quite irregular. What I now do is convert the alphabet + figures of the font I am using to vectors (Ctrl + B) on the scene and then make movieclips with each letter, which I store in the library ready for AS to call them. The rendering quality is comparably better. The truth is I've never had to make more than, say 50 clips "by hand", but it would still make my life easier and save me dull time/work if there was a way with AS to transform a text field to vectors...

View 5 Replies

Flex :: Access The Vectors Of A Font?

Dec 18, 2009

How would you define/create generative typography ? I thought also of some sort of "intelligent" adaption. For example a font that uses serifs in certain condition or not... Are there some findings in how you could access the vectors of a font in actionscript ?

View 2 Replies

Actionscript 3 :: Vectors: Using Getters And Setters?

Jan 7, 2010

Is there a way to use getters and setters for Vectors?Say, in my Main class, I would like to write

myVector.push(item);

and in another class, I have written:

public function get myVector():Vector.<int> {
return _opponentCardList;
}
public function set myVector(myVector:Vector.<int>):void {
_myVector = myVector;
}

This doesn't really work as you have to set _myVector to a Vector. But what if you just want to push(), pop() or splice?

View 1 Replies

Actionscript 3 :: FullScreenSourceRect Is Pixelating Vectors

Sep 21, 2010

I'm currently developing a Flash website that incorporates an flv player. The controls on the player's skin are all vectors. I've set it up so that when you hit fullscreen on the player controls a fullScreenSourceRect is created which is working great. However when the the player is full screen, the once crisp vectors are now pixelated as if they were a bitmap.

View 3 Replies

Actionscript 3 :: Modify Vectors At Runtime

Mar 3, 2011

Is there any way to modify the vectors of a DisplayObject at runtime? I import a Sprite or MovieClip on my application, and I want to be able to modify the vectors that composes it. A close approach is to use Graphic class, but it always renders below the Sprite, it can't clear the original graphic, and it can't modify the vectors, only draw new things. And if this is totally impossible, I would like to know how I can call Sprite.graphics.drawXXX, so that the graphics are rendered above the Sprite.

View 1 Replies

Actionscript :: Bitmaps Faster Than Vectors?

Apr 11, 2011

I'm working on a project which draws circles continuously at framerate and animates them around the stage and I'm running into performance issues.

I'm already converting all objects to bitmapData as soon as they become static. My question is, will converting the circles to bitmapData as soon as they are drawn increase performance? In other words, is animating say, 200 bitmaps (with transparency) faster than 200 vector circles?

Are there any drawbacks to this technique? (I'm thinking opacity problems maybe?)

If they were more complex shapes than circles would the answer be different?

View 3 Replies

Actionscript 3 :: Serializing Vectors In A Sub-class

May 11, 2011

I'm trying to serialize data in AS3 but am running into a frustrating problem. Originally I had problems with "myObjClass" not being convertible, but after I discovered "registerClassAlias" I got things working allright. Some time later, I added vectors to the myObjClass. I ran into trouble with Vector Strings before, as was reported here:

[Code]...

View 4 Replies

ActionScript 3.0 :: Serializing A Vector Of Vectors?

Jun 6, 2010

I'm trying to serialize a vector of vectors:

Code:
package
{

[code]......

View 1 Replies

ActionScript 3.0 :: Alternative To Vectors / Arrays

Nov 20, 2010

I'm programming in AS3 using CS3, which only seems to publish using versions of flash up to and including V9.Anyway, I'd like to use some vectors of integers in my program, but these seem only available in Flash Player 10. I'd rather not use Arrays as these cannot be assigned "types" and are a bit slow and clunky.Is there an alternative to the vector class (i.e. arrays for which we can assign types)? If not, is there a way that I can bring flash player 10 into the File >> Publish Settings menu so that I can use vectors?To me this is a remarkable issue to have, because typed arrays are an essential part of any serious programming.

View 4 Replies

ActionScript 3.0 :: Declaring And Populating 2D/3D Vectors?

May 30, 2011

I'm trying this for creating and populating a 2D Vector of Integers:

Code:
var vector2D:Vector.<Vector.<uint>> = new Vector.<Vector.<uint>>
[
new <uint>[1, 2, 3, 4, 5, 6, 7, 8, 9],
new <uint>[10, 11, 12, 13, 14, 15, 16, 17, 18]
];

And well, that's not working...For this program I'm working on I'll also need to declare and populate a 3D vector.

View 9 Replies

Flash Gallery - Images Look Pixelated

Nov 17, 2009

I created a flash image gallery for my site but the images look pixelated. I really don't like the way they look. Im fairly new to web design and very new to flash.

View 3 Replies

Dynamically Loaded Images Are Pixelated?

Aug 8, 2011

I've used AS2.0 to build my site. I have several .jpgs that I'm loading dynamically on my flash site from my server. For some reason only some of the .jpgs are loading pixelated. I've tried to look up solutions to this, but I'm not exactly sure where a quality=best or smoothing=true script should be placed. And I'm equally as puzzled as to why only some of my .jpgs are loading pixelated? This is very frustrating, this is the code I'm using to load my images:

loadMovie("Wave.jpg", _root.image_box_9);

View 1 Replies

Create Drop Shadow Becomes Very Pixelated?

Mar 25, 2010

First i made the images with drop shadows in Illustrator and they looked fine there. When i copied them in to Flash they became pixelated.

I then got rid of the drop shadow in Illustrator and re-made it directly in Flash using the Filter/Drop Shadow property. It still is coming out very pixelated, even on "high quality" setting.

View 3 Replies

ActionScript 1/2 :: Dynamically Loaded .jpg Are Pixelated?

Aug 8, 2011

For some reason only some of the .jpgs on my flash site that are being loaded dynamically are loading pixelated. I've tried to look up solutions to this, but I'm not exactly sure where a quality=best or smoothing=true script should be placed. And I'm equally as puzzled as to why only some of my .jpgs are loading pixelated?

On the timeline where the movieclip is located I have the following code:loadMovie("Wave.jpg", _root.image_box_9); On the movieclip itself I have this code in order to create a fade in:
 
onClipEvent(load){this._alpha = 0;speed = 10; // change this to change fade speed}onClipEvent(enterFrame){loaded = this.getBytesLoaded()/this.getBytesTotal();if(loaded == 1){this._alpha += speed;} else {this._alpha = 0;}if(this._alpha >= 100){this._alpha = 100;}}

View 4 Replies

IDE :: Tweened Images Pixelated After Publishing

Jan 20, 2009

I'm creating a very basic tween of an image which scales down to half it's size. It looks fine in Flash but when published the scaled down image looks like crap, all pixelated. I've done this hundreds of times in other versions with no problems except now. The publish setting for jpeg is set at 100% etc...

View 1 Replies

IDE :: Converting Flash (FLA) To Animated GIF Becomes Pixelated

Jan 28, 2009

I've got a FLA file making an animated banner. When I export it as an animated GIF, the background (which originally is a solid color) has either dots or crosses making up the color. I've tried different settings such as dithering, changing the palette but have had no luck. And I'm using one of the 256 colors. Using a FLA that did have a good solid bg converted animated GIF, I tried to export that one as well and it comes up with the same problem. So that means it's not the color/fla that is wrong, but is my exporting to animated gif method.
Attached is how the background turns out:

View 1 Replies

IDE :: File - Resized (smaller) Look Pixelated?

Mar 18, 2009

Why when I take a file that's huge and resize it smaller does it look so pixelated? I have on smoothing and the file looks great until I make it smaller.

View 2 Replies

IDE :: Flash Video Export Pixelated?

Oct 15, 2009

I'm exporting some 1280x720 HD vid from a typical vector cartoon made in flash. I've used PNG, Animation, and 8bit Uncompressed and still my vid looks pixelated in the fine details. Exporting a still the same size gives clean results. Any magic setting I'm missing to make this look better?

Adding example of pixelated fine lines in uncompressed video.

View 1 Replies

IDE :: Import To Flash Graphic Pixelated

Dec 7, 2009

I am facing a problem: graphic pixelated issue. I have created some images in photoshop and want to import to flash. However i realized from my fren that it has got to do with photoshop which is in raster type while flash it in vector style that's why it appears to be pixelated in flash.

View 2 Replies







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