タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

Tweenerに関するyokozunatのブックマーク (6)

  • NUTSU » [jsfl]Tweenerの_bezier用パラメータ書き出し

    Tweenerにはベジェ曲線上をトゥイーンさせるプロパティ「_bezier」があるのだけど、曲線の座標を指定するのが面倒だったりなかったりします。できればガイドのように自分で描いた曲線をトゥイーンさせたい。で、ペンツールなどで描いた曲線からTweenerの_bezier用のスクリプト出力する簡単なJSFLをつくってみた。 とりあえず、できあがりはこんな感じ。グレーの曲線がペンツールで描いた曲線です。 手順としては、まず下のスクリプトを適当なファイルに保存します。例えば「makeBezierTweenOption.jsfl」とかいうファイル名で。 //**************************************************************************** // Script for Tweener _bezier Option // // sa

  • NUTSU » [jsfl]Tweenerの_bezier用パラメータ書き出し(改め)

    先日エントリーしたJSFLですが、どうも実装が緩いのでちろちろ手直し入れていて。改めてアップすることにしました。主なところは、曲線の情報を得るのに使っているEdgeというオブジェクトが、始点と終点の情報が他の曲線と比べて逆になる場合がある、ということの対応と、書き出す座標値の方向を順方向、反転方向選べるようにしたところ。 とりあえずこんな感じです。 //**************************************************************************** // Script for Tweener _bezier Option // author nutsu // version 0.2 // // sample output : { x:460, y:100, _bezier:[{x:250, y:200},{x:355, y:150}]

  • Tweener Documentation and Language Reference

    Transition Types When using the addTween and addCaller methods, several different transition methods may be used. They're defined by the transition parameter, and each of them define a different easing method. Check the table below for a complete rundown of the available methods. You may also print the table. You need to upgrade your Flash Player This is replaced by the Flash content. Bypass detec

  • Tweener Documentation and Language Reference

    Introduction Tweening parameters are properties that are available when creating a new tweening with the addTween or addCaller methods. Because both these methods rely on loose objects for their parameters, it's important to remember the name of the available parameters. For example: // Slide a movieclip to a new position in 0.5 seconds (AS2) Tweener.addTween(myMovieClip, {_x:10, time:0.5, transit

  • Tweener拡張で、MovieClipをMatrixで超変形をできるようにした | fladdict

    先日のTweener拡張、MatrixShortcut.as をさらに改造しました。 Tweenerの初期化後に、MatrixShortcuts.init() を呼ぶと、Tweenerにスペシャルプロパティが追加されます。 _matrix_a transform.matrix.a をトゥイーンする。 _matrix_b transform.matrix.b をトゥイーンする。 _matrix_c transform.matrix.c をトゥイーンする。 _matrix_d transform.matrix.d をトゥイーンする。 _matrix_tx transform.matrix.tx をトゥイーンする。 _matrix_ty transform.matrix.ty をトゥイーンする。 _matrix transform.matrixをまとめてトゥイーンする。 今回はさらに、俺至上便利

  • Tweener 特殊プロパティ一覧

    caurina.transitions.Tweener.properties の中にある 6つのasファイルから抜き出した。 それぞれ 〜.init(); が必要。 (例: ColorShortcuts.init();) AS2, AS3共通 ———————————————————————- ■ ColorShortcuts _color_ra _color_rb _color_ga _color_gb _color_ba _color_bb _color_aa _color_ab 色 16進数形式 (0×000000〜0xFFFFFF) _color _colorTransform 明度 _brightness _tintBrightness コントラスト _contrast 色相 _hue 彩度 _saturation _dumbSaturation

  • 1