전체 글 63

actionscriot 3.0 시계애미메이션 구현 [http://okgosu.net/zbxe/21095] 것퍼온것입니다.

//혹시 저작권에 문제가있다면 댓글남겨주시면 지우도록하겠습니다. package { import flash.display.Sprite; import flash.events.Event; [SWF(width=800, height=480,backgroundColor=0x000000)] public class watchExam extends Sprite { private var needle:Sprite = new Sprite(); public function watchExam() { this.drawWatch(); needle.addEventListener(Event.ENTER_FRAME, function(event:Event):void { needle.rotation+=1; }); } private functi..

actionscript3.0 2011.07.25

actionscript3.0 컨테이너 안의 객체 집합의 제어 및 이동, 회전, 축소

package { import flash.display.Shape; import flash.display.Sprite; import flash.events.Event; import flash.events.MouseEvent; public class RotatingRectangles2 extends Sprite { public function RotatingRectangles2() { var rect1:Shape = new Shape(); rect1.graphics.lineStyle(1); rect1.graphics.beginFill(0x0000FF,1); rect1.graphics.drawRect(0,0,75,50); var rect2:Shape = new Shape(); rect2.graphics.li..

actionscript3.0 2011.07.25