root/as3/BetweenAS3/trunk/NOTES

リビジョン 3019, 1.7 kB (コミッタ: yossy, コミット時期: 3 年 前)

BetweenAS3: Merged "Dramatic Before After" branch to trunk.

Line 
1 BetweenAS3 Notes
2 ========================================
3
4 FAQ
5 --------------------
6
7  Q. How to do filter tween?
8  A. Do the following:
9  
10      BetweenAS3.tween{mc, {_glowFilter: {blurX: 32, blurY: 32}});
11  
12     The following properties for filter are supported.
13  
14      * _bevelFilter
15      * _blurFilter
16      * _colorMatrixFilter
17      * _convolutionFilter
18      * _displacementMapFilter
19      * _dropShadowFilter
20      * _glowFilter
21      * _gradientBevelFilter
22      * _gradientGlowFilter
23      * _shaderFilter
24
25  Q. How to do ColorTransform tween?
26  A. Do the following:
27  
28      BetweenAS3.tween(mc, {transfrom: {colorTransfrom: {redOffset: 255}}});
29
30  Q. How to do SoundTransform tween?
31  A. Do the following:
32  
33      BetweenAS3.tween(sc, {soundTransform: {volume: 0.0}});
34
35  Q. How to set delay?
36  A. By using BetweenAS3.delay, add delay to tween.
37  
38      BetweenAS3.delay(BetweenAS3.tween(mc, {x: 100}), 1.0); // Delay 1.0 sec
39
40  Q. How to do bezier tween?
41  A. Do the following. Pass control points in argument 4. Set Array of control points for each property.
42  
43      BetweenAS3.bezier(mc, {x: 385, y: 207}, null, {x: [58.05, 145.9, 246.7, 345.55], y: [61.4, 80.65, 167.05, 209.3]});
44
45 Tips for Performance
46 --------------------
47
48  * Tween for the following classes and properties are optimized. (excluding using bezier tween or physical tween)
49   * DisplayObject
50    * x
51    * y
52    * z
53    * scaleX
54    * scaleY
55    * scaleZ
56    * rotation
57    * rotationX
58    * rotationY
59    * rotationZ
60    * alpha
61    * width
62    * height
63   * Point
64    * x
65    * y
66  * If you tween massive objects, do not use BetweenAS3.parallel.
67  * When you tween a lot of properties with physical tween, performance is not good than standard tween.
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。