# Image looks pixelated on Flash file

**URL:** <https://forum.kirupa.com/t/image-looks-pixelated-on-flash-file/635287>\
**Category:** Uncategorized\
**Created:** [September 19, 2016, 12:20pm UTC](https://forum.kirupa.com/t/image-looks-pixelated-on-flash-file/635287 "2016-09-19T12:20:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rekasalamon](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rekasalamon](https://forum.kirupa.com/u/rekasalamon)\
**Post date:** [September 19, 2016, 12:20pm UTC](https://forum.kirupa.com/t/image-looks-pixelated-on-flash-file/635287/1 "2016-09-19T12:20:52Z")

</div>

Hi All,

I have got a flipping image effect built with AS3, but somehow the images look pixelated and I am not sure where to change my code:  
/\* \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

import fl.transitions.easing.\*;

import flashandmath.as3.TweenFlipCS4;  
import flash.display.Bitmap;

var card1:TweenFlipCS4;

var card2:TweenFlipCS4;

var card3:TweenFlipCS4;

card1=new TweenFlipCS4(“[http://arc.imshealth.com/gm/document-1.9.9242239/business\_pic.png","http://arc.imshealth.com/gm/document-1.9.9242242/business\_text.png](http://arc.imshealth.com/gm/document-1.9.9242239/business_pic.png%22,%22http://arc.imshealth.com/gm/document-1.9.9242242/business_text.png)”);

this.addChild(card1);

card2=new TweenFlipCS4(“[http://arc.imshealth.com/gm/document-1.9.9242246/learmnindev.png","http://arc.imshealth.com/gm/document-1.9.9242247/learmnindevtext.png](http://arc.imshealth.com/gm/document-1.9.9242246/learmnindev.png%22,%22http://arc.imshealth.com/gm/document-1.9.9242247/learmnindevtext.png)”);

this.addChild(card2);

setCardsPosAndProps();

function setCardsPosAndProps():void {

```
card1.x=30;
card1.y=42;
			   
card1.setFunc(Bounce.easeOut);
card1.setSpeed(2);

card2.x=105;
card2.y=42;
			   
card2.setFunc(Bounce.easeOut);
card2.setSpeed(2);

}

```

How do I need to change the code in order to get the images not pixealted?  
Many thanks.
