well i guess it could be a problem without using greensock too, but i thought cause im using greensock for my tweens you guys might be able to help me out better.
i cant make a sample fla that fast but instead i post some code heres what i mean:
public function blit(o)
var imgSheet:BitmapData=new sponsorsSheet;
var imgHolder=new BitmapData(400,400,true);
objectHolder.addChild(new Bitmap(imgHolder)); // the objectHolder is the sprite im animating.
//first timelinetween i add this image:
IMG = new blitSprite(imgSheet, R.img1, imgHolder);
//when its rendered by copypixel method i start a timelinetween that runs from alpha 0 to 1 and from //1 back to 0 to make a fade in / fade out animation.
//than onComplete i want my second image to fade in / out so i first clear the Rectangle:
imgHolder.fillRect(R.img1, 0x00FF00); // turns it green for testing purpose than when i add img 2:
IMG = new bitSprite(imgSheet, R.img2, imgHolder);
it all seems to work but when i start the fade tween the img1 apears in the alpha cause simply filing the rectangle doesnt seem to extualy clear the older image but just putting anotyer layer of paint over it. so instead of using the. Fade animation on a sprite is there any way i could apply it to the bitmap (img1, img2) itself?