Creating a borderless DateField control in Flex

1. Creating a Package for overwrite Border class method:

import mx.skins.Border;

public class BorderlessDateField extends Border
override protected function updateDisplayList(w:Number, h:Number):void
super.updateDisplayList(w, h);


2. Referancing the ‘BorderlessDateField’ class in styleSheet:


3. Calling “scBorderlessDateFieldText” stylesheet class to Datefield Control definition.


Leave a Reply

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

You are commenting using your 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 )

Google+ photo

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

Connecting to %s