flex - Simpliest ancestor for a clickable, hand-drawn component? -


I am creating a component that would be a big plus or a big minus. I do not want to use a bitmap because I can also draw it using the graphics class, but the component should be clickable (not the size class).

This will be part of an item renderer, so I want to keep it as light weight as possible.

I thank you for any thoughts

A Sprite Object Suggesting to create and highlight zero and plus arrows for its graphics object. Then you have to add EventListener (Mouse Event Clip, some functions); You will need it in its constructor or anywhere.

At that time you can set the cache bitmap to the right, so that each frame can not be rebuilt.


Edit: Per @jeremybrown you must use the Sprite Asset class if you are working in Flex, apparently very similar, but the second 2 levels of intangibles are added .


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -