flash AS question
flash AS question
Out of context: Reply #10
- Started
- Last post
- 40 Responses
- Pixter0
addEventListener(Event.ENTER_FRA... decrease);test.scaleX=test.scaleY=1.5;
test.alpha=0;function decrease(e) {
//scale
test.scaleX=test.scaleY-=.01;//fade in and out
if (currentFrame<30) {
test.alpha = currentFrame/30;
}
if(currentFrame>totalFrames-30){
test.alpha = (totalFrames - currentFrame)/30;
}//clear memory
if (this.currentFrame==this.totalFr... {
removeEventListener(Event.ENTER... decrease);
}}