class as3 to normal
Hi!, sooo anyone knows how to change as3 from a class file to normal? (on stage not on a .as file) ![]()
This is the class file:
package
{
import flash.display.Sprite;
import fl.events.SliderEvent;
public class Main extends Sprite
{
public function Main():void
{
//Listen for slider movement
slider.addEventListener(SliderEvent.CHANGE, changeFPS);
}
private function changeFPS(e:SliderEvent):void
{
//Change the frame rate using the slider value
stage.frameRate = e.value;
}
}
}
Taken from this guy: (ALL RIGHTS OF HIM)
