Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fade_in(evt:MouseEvent) {
- stop();
- if(this.currentFrame == 1 || this.currentFrame == 10) {
- this.gotoAndPlay(1);
- } else {
- gotoAndStop(10);
- }
- }
- function fade_out(evt:MouseEvent) {
- stop();
- if(this.currentFrame == 10) {
- this.gotoAndPlay(10);
- } else {
- gotoAndStop(1);
- }
- }
Add Comment
Please, Sign In to add comment