WHAT'S NEW?
Loading...

colorpicker


Tutorial Details
  • Judul: colorpicker
  • Difficulty: Beginner
  • Platform: Flash (Flash Player 10)
  • Bahasa Scripth: AS3
  • Software : Flash Professional CS4/Flash Professional CS5
  • Estimated Completion Time: 15 minutes
  • Created:Ricko Nada (Pustaka Flash)





live demo :

Scripth yang digunakan :
import fl.controls.ColorPicker;
import fl.events.ColorPickerEvent;
import flash.geom.ColorTransform;

var myColor:ColorTransform = box.transform.colorTransform;

kotakColorPicker.addEventListener(ColorPickerEvent.CHANGE, changeColor);

function changeColor(ColorPickerEvent):void{
myColor.color = kotakColorPicker.selectedColor;
box.transform.colorTransform = myColor;
}



0 komentar:

Post a Comment