Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
//On the button...
on(press){
_level0.moveX = true;
}
on(release){
_level0.moveX = false;
}
//And on the symbol itself...
onClipEvent(enterFrame){
if(_level0.moveX == true){
_x +=5;
}
}