適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
mx.effects.easing 

Elastic  - AS3 Flex

套件mx.effects.easing
類別public class Elastic
繼承Elastic Inheritance Object

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The Elastc class defines three easing functions to implement motion with Flex effect classes, where the motion is defined by an exponentially decaying sine wave. For more information, see http://www.robertpenner.com/profmx.



公用屬性
 屬性定義自
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
公用方法
 方法定義自
  
easeIn(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number
[靜態] The easeIn() method starts motion slowly, and then accelerates motion as it executes.
Elastic
  
[靜態] The easeInOut() method combines the motion of the easeIn() and easeOut() methods to start the motion slowly, accelerate motion, then decelerate.
Elastic
  
easeOut(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number
[靜態] The easeOut() method starts motion fast, and then decelerates motion as it executes.
Elastic
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
會傳回指定之物件的基本值。
Object
方法詳細資訊

easeIn

()方法
public static function easeIn(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The easeIn() method starts motion slowly, and then accelerates motion as it executes.

參數

t:Number — Specifies time.
 
b:Number — Specifies the initial position of a component.
 
c:Number — Specifies the total change in position of the component.
 
d:Number — Specifies the duration of the effect, in milliseconds.
 
a:Number (default = 0) — Specifies the amplitude of the sine wave.
 
p:Number (default = 0) — Specifies the period of the sine wave.

傳回值
Number — Number corresponding to the position of the component.

easeInOut

()方法 
public static function easeInOut(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The easeInOut() method combines the motion of the easeIn() and easeOut() methods to start the motion slowly, accelerate motion, then decelerate.

參數

t:Number — Specifies time.
 
b:Number — Specifies the initial position of a component.
 
c:Number — Specifies the total change in position of the component.
 
d:Number — Specifies the duration of the effect, in milliseconds.
 
a:Number (default = 0) — Specifies the amplitude of the sine wave.
 
p:Number (default = 0) — Specifies the period of the sine wave.

傳回值
Number — Number corresponding to the position of the component.

easeOut

()方法 
public static function easeOut(t:Number, b:Number, c:Number, d:Number, a:Number = 0, p:Number = 0):Number

語言版本: ActionScript 3.0
產品版本: Flex 3
執行階段版本: Flash Player 9, AIR 1.1

The easeOut() method starts motion fast, and then decelerates motion as it executes.

參數

t:Number — Specifies time.
 
b:Number — Specifies the initial position of a component.
 
c:Number — Specifies the total change in position of the component.
 
d:Number — Specifies the duration of the effect, in milliseconds.
 
a:Number (default = 0) — Specifies the amplitude of the sine wave.
 
p:Number (default = 0) — Specifies the period of the sine wave.

傳回值
Number — Number corresponding to the position of the component.




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。