comboBox style it custom

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.