Sorry I didnt understand your problem....
What actually you want to accomplish on clicking those buttons...
Anyways,Here is the code for button actions...
Code:
btn1.onPress=function()
{
//Your action here...
}
btn2.onPress=function()
{
//Your action here...
}
Btw,You can change the speed by changing the FrameRate(fps) near the stage settings.