Get Adobe Flash player

Reverse Frames With Action Script 3.0

July 15th, 2010 | Comments Off
category: Software

1
2
3
4
5
6
7
8
9
10
11
12
13
// place on timeline of object to reverse
this.addEventListener(Event.ENTER_FRAME, rr);
function rr(event:Event):void
{
    if(currentFrame > 1)
    {
        this.gotoAndStop(this.currentFrame - 1);
    }
    else
    {
        this.gotoAndStop(1);
    }
}
GD Star Rating
loading...


Comments are closed.



Content

Need to pay for services?


Banner    

Contact me


  

Socially you can find me here


                 

        


Need to pick up a few things before you leave?


Grasshopper - The Entrepreneur's Phone System   Affordable Premium Custom Flash Photo and Video Gallery Templates
2010 Copyright © Todd Vaughn. All rights reserved. Register