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 }}
1.4m articles
1.4m replys
5 comments
57.0k users