2강. 속성값 적용하기
>>> 위치,각도 속성변경 ex up_btn.addEventListener(MouseEvent.CLICK, onUp); function onUp(e:MouseEvent):void{ bug_mc.y = bug_mc.y - 1; bug_mc.rotation = 0; } down_btn.addEventListener(MouseEvent.CLICK, onDown); function onDown(e:MouseEvent):void{ bug_mc.y = bug_mc.y + 1; bug_mc.rotation = -180; } left_btn.addEventListener(MouseEvent.CLICK, onLeft); function onLeft(e:MouseEvent):void{ bug_mc.x = bug_mc.x ..
Programming/ActionScript3.0
2010. 12. 27. 00:54