var inputText: Number; submit_btn.addEventListener(MouseEvent.CLICK, playBtnClick); function playBtnClick(e: MouseEvent): void {box_mc.rotation = inputText if (inputText < 1) { box_mc.rotation = 5 } else {box_mc.rotation = 0 }}
2.1m questions
2.1m answers
60 comments
57.0k users