note for flex4- animation
An effect is an ActionScript class that defines changes in a visual component's position, visibility, scaling, and other properties over a period of time. The Flex framework includes many pre-built effect classes that can be applied to vusual components and played with explicit ActionScript statements or upon certain built-in effect triggers.
Animate: changes any arbitrary set of properties
AnimateColor: changes a color property from a starting to an ending color
AnimateFilter:
AnimateShaderTransition: perform an animation between two bitmaps
AnimateTransform: combines multiple transform into a parallel effect
CrossFade:(淡入淡出)
Fade
Move: change the component's x, y properties
move3D: change x,y,z
resize:
rotate
rotate3D
scale
scale3D
wipe
You declare an instance of Animate with a motionPaths property consisting of an Array of MotionPath instances. Each MotionPath object animates a single property, and includes a keyframes property that in turn is an array of Keyframe instances.Each keyframe defines a moment in time, set in milliseconds, and a new value for the named property.
Using the Rotate and Rotate3D effects:
The Rotate effect supports angleFrom, angleTo, and angleBy properties to control the direction and amont of rotation in two dimensions.
source="@Embed('***.jpg')" 与 source="***.jpg"有什么区别 ??
http://help.adobe.com/zh_CN/FlashPlatform/reference/actionscript/3/flash/display/Graphics.html
http://www.cnblogs.com/xiaogangqq123/archive/2011/06/03/2070673.html