簡単で便利で高機能なTweener

ちょいとTweenerを勉強しているんですが、便利なTweenerがあったので紹介とサンプルです。
http://moeten.info/flex/20080716_tweenTest2/bin-release/main.html
画面をクリックでスタート

よく使われているTweener

拡張されているTweener

HydroTweenの使い方。

//HydroTweenの場合
var seq:SequenceCA = HydroTween.sequence(
  //回転
  {
    target:myPanel,
    x:0 , y:0, z:0,
    rotationX:-10 , rotationY:20 , rotationZ:10,
    seconds:1,
    easing:Quadratic.easeInOut
  },
  //回転を戻す
  {
    target:myPanel,
    rotationX:0,rotationY:0,
    seconds:1,
    easing:Bounce.easeOut
  }
);

簡単に設定+順番に実行することができます。
Papervision3Dでテクスチャにフィルタを適用する場合、以下の設定をするとフィルタが適応されるっぽいです。

myPlane.useOwnContainer = true;
  • 用意されているTweenの種類
    • Back
    • Bounce
    • Circular
    • Cubic
    • Elastic
    • Exponential
    • Linear
    • Quadratic
    • Quartic
    • Quintic
    • Sine

設定できるプロパティ一覧。

  • Basic
    • x
    • y
    • scaleX
    • scaleY
    • width
    • height
    • rotation
    • alpha
  • BevelFilter
  • BlurFilter
  • DropShadowFilter
    • DropShadow_alpha
    • DropShadow_angle
    • DropShadow_blurX
    • DropShadow_blurY
    • DropShadow_color
    • DropShadow_distance
    • DropShadow_quality
    • DropShadow_strength
  • GlowFilter
    • Glow_alpha
    • Glow_blurX
    • Glow_blurY
    • Glow_color
    • Glow_quality
    • Glow_strength
  • Image
    • matrix
    • brightness
    • contrast
    • saturation
    • hue
    • tint
  • Hex
    • color
  • Sound
    • volume
    • pan
  • Text
    • text
  • Papervision
    • z
    • rotationX
    • rotationY
    • rotationZ
    • scale
    • scaleX
    • scaleY
    • scaleZ
    • sceneX
    • sceneY
    • sceneZ

簡単に画像処理できるのがうれしい(^−^)