Back 클래스는 Flex의 Motion Effect클래스를 구현하는 3가지 펑션으로 정의되어 있다.
더 많은 정보가 필요하다면 http://www.robertpenner.com/profmx 에서 찾아 보기 바란다.
--------------------------------------------------------------------------------
**Public Methods
메소드는 다음과 같이 정의된다.
-
[static]easeIn(t:Number, b:Number, c:Number, d:Number, s:Number = 0):Number
The easeIn() method starts the motion by backtracking, then reversing direction and moving toward
the target. Back
-
[static]easeInOut(t:Number, b:Number, c:Number, d:Number, s:Number = 0):Number
The easeInOut() method combines the motion of the easeIn() and easeOut() methods to start the motion by backtracking, then reversing direction and moving toward target, overshooting target slightly, reversing direction again, and then moving back toward the target. Back
-
[static]easeOut(t:Number, b:Number, c:Number, d:Number, s:Number = 0):Number
The easeOut() method starts the motion by moving towards the target, overshooting it slightly, and then reversing direction back toward the target. Back
**메소드 상세설명
1. easeIn () method
public static function easeIn(t:Number, b:Number, c:Number, d:Number, s:Number = 0):Number
The easeIn() 메소드는 후퇴(퇴각)모션으로 시작하며 타켓 지점으로 방향을 바꾸어서 진행한다.
Parameters
t:Number — 특정시간, 위치를 구하고자 하는 고유시간
b:Number — 최초 초기화 되는 시작 값이다. 시작 _x좌표가 10 최종 타켓 _x좌표가 100 이라면 이 값은 10을 기입한다.
c:Number — 최종 변화되는 총량의 값이다. 시작 _x좌표가 10 최종 타켓 _x좌표가 100 이라면 이 값은 90을 기입한다.
d:Number — 모션의 동작시간으로 밀리세컨의 값이다.
s:Number (default = 0) — 타켓을 지나쳐갈 값의 양, 만약 이 값이 높다면 타켓 지점에서 많이 지나친후에 돌아오는
모습을 볼 수 있다.
Returns Number — Number corresponding to the position of the component.
2. easeInOut () method
public static function easeInOut(t:Number, b:Number, c:Number, d:Number, s:Number = 0):Number
The easeInOut()는 the easeIn() and easeOut()의 결합으로 최초 퇴각(후퇴)모션후 방향을 바꾸어 타켓방향으로 진행하며
타켓에서 약간 지나쳐간 후 다시 방향을 바꾸어 타켓지점으로 이동하는 모션으로 이루어져 있다.
Parameters t:Number — Specifies time.
t:Number — 특정시간, 위치를 구하고자 하는 고유시간
b:Number — 최초 초기화 되는 시작 값이다. 시작 _x좌표가 10 최종 타켓 _x좌표가 100 이라면 이 값은 10을 기입한다.
c:Number — 최종 변화되는 총량의 값이다. 시작 _x좌표가 10 최종 타켓 _x좌표가 100 이라면 이 값은 90을 기입한다.
d:Number — 모션의 동작시간으로 밀리세컨의 값이다.
s:Number (default = 0) — 타켓을 지나쳐갈 값의 양, 만약 이 값이 높다면 타켓 지점에서 많이 지나친후에 돌아오는
모습을 볼 수 있다.
Returns Number — Number corresponding to the position of the component.
3. easeOut () method
public static function easeOut(t:Number, b:Number, c:Number, d:Number, s:Number = 0):Number
타켓에서 약간 지나쳐간 후 다시 방향을 바꾸어 타켓지점으로 이동하는 모션으로 이루어져 있다.
Parameters t:Number — Specifies time.
t:Number — 특정시간, 위치를 구하고자 하는 고유시간
b:Number — 최초 초기화 되는 시작 값이다. 시작 _x좌표가 10 최종 타켓 _x좌표가 100 이라면 이 값은 10을 기입한다.
c:Number — 최종 변화되는 총량의 값이다. 시작 _x좌표가 10 최종 타켓 _x좌표가 100 이라면 이 값은 90을 기입한다.
d:Number — 모션의 동작시간으로 밀리세컨의 값이다.
s:Number (default = 0) — 타켓을 지나쳐갈 값의 양, 만약 이 값이 높다면 타켓 지점에서 많이 지나친후에 돌아오는
모습을 볼 수 있다.
Returns Number — Number corresponding to the position of the component.
back-5713.as

0