I have a sprite which I draw a white rectangle on (below) and want to use TweenLite to fade the sprite in and out but it either shows or hides the the sprite. animating the sizing such as scaleX works fine just the alpha. any ideas?
private function Draw():void { panel.graphics.beginFill(0xFFFFFF); panel.graphics.drawRect(0,0,367,135); panel.graphics.endFill(); }
public function FadeIn():void { trace("fadeIn"); panel.alpha=0; TweenLite.to(panel, 2, {alpha:100}); }