http://www.adobe.com/devnet/flash/articles/skinning_flash_cs3_03.html

combo box as3 componet flash customize

The combo box one with code and one with movieclips.

So I was looking around for a simple way to style,¬†Programatically,¬†a combo box… I spent a good part of an hour trying and searching then trying something new till I hit upon the solution above.

Customize Combo Box, ComboBox, Component.

// flash as start here……………..good luck…………………………

package {
import flash.display.Sprite;
public class CBUpSkin2 extends Sprite {
private var _rectangle:Sprite;
public function CBUpSkin2() {
_rectangle = new Sprite();
_rectangle.graphics.beginFill(0xCC0000,1);
_rectangle.graphics.drawRect(0, 0, 100, 20);
_rectangle.graphics.endFill();
addChild(_rectangle);
}
}
}

Leave a Reply... or a picture...