Here is my new Actionscript 3.0 Advanced color picker component. this is an extended version of flash fl colorpicker Component. it includes a RGB Color picker.Please comment your suggestions
How to Use Actionscript 3.0 color picker
Download Actionscript 3.0 Colorpicker MXP File
Download Actionscript 3.0 Color picker swc Component
How to Use Actionscript 3.0 color picker
import com.anilmathewm.components.* import fl.events.ColorPickerEvent var cp:ColorPicker=new ColorPicker(); addChild(cp); var clip:MovieClip; cp.addEventListener(ColorPickerEvent.CHANGE,onColorChange); function onColorChange(e:ColorPickerEvent){ //trace(e); var ct:ColorTransform=new ColorTransform(); ct.color=e.color; clip.transform.colorTransform=ct; }
Screen Shots
Download
Download Actionscript 3.0 Color picker ExampleDownload Actionscript 3.0 Colorpicker MXP File
Download Actionscript 3.0 Color picker swc Component
0 comments:
Post a Comment