[AS 2.0] for..in 구문을 이용해서 속성값 확인

ActionScript 2.0 — Tags: , — Siaa @ 11:17 am

AS 2.0에서 for..in 구문을 이용해서 모든 속성값을 확인하는 방법.
(more…)

Share

[AS 2.0] Elastic의 기본

ActionScript 2.0 — Tags: , , — Siaa @ 11:14 am
var SpeedX:Number = 0.2;  //탄성움직임의 속도
var TargetX:Number = 100;  //탄성움직임 목표값

obj._x = obj._x + SpeedX*(TargetX - obj._x);
Share
« Previous Page
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2012 blog.flasia.com | powered by WordPress with Barecity