Home > ActionScript, Adobe, Flex > Flex- TitleWindow Close Button Hand Cursor

Flex- TitleWindow Close Button Hand Cursor

I had requirement to bring the hand pointer on title window (Flex) close button when I am using an image to show the close button and here is the code (function) you need to write and call it on creationComplete Event.

private function init():void

{
if(mx_internal::closeButton!=null)
mx_internal::closeButton.buttonMode = true;
}

Advertisements
Categories: ActionScript, Adobe, Flex
  1. No comments yet.
  1. No trackbacks yet.

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: