It should be fairly simple.

On clicking of a button, change the mouseCursor using the following --

[Bindable]
[Embed(source="assets/myCursorImage.png")]
private var myCursorIcon:Class;

Then after you have clicked the button --

CursorManager.setCursor(myCursorIcon);

You'll have to handle some scenarios if you are trying to make something
similar to mspaint. like handling the rollover and rollout of the drawing
canvas to remove and add the cursor.

But now you have the idea.

Cheer.
V

On Mon, May 2, 2011 at 5:33 AM, Navin <navin.fl...@gmail.com> wrote:

> How to show particular symbol when a button is pressed?
> For Eg:
> If you look in to paintbrush when ever we select a line button
> corresponding a star icon appears in the drawing area.
>
> Anyidea how to do this in flex.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to flex_india@googlegroups.com.
> To unsubscribe from this group, send email to
> flex_india+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>


-- 
Vikas

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to