Event button in flash drives function in flex

hello guys,

I would like to use a button made ¿¿in flash in a Flex 3 application, clicking this button will trigger a function in flex opening a simple alert. how can I make this implementation?
eduardo12foxAsked:
Who is Participating?
 
multiakiCommented:
if i understood correctly.
first create button in flash and export into actionscript in properties of that button.
You should export button from flash as swc file. you can select it in publish settings.
then include button.swc button into libs folder.
then you can create a class of that folder.
then you can addeventlistener to that class object.

here is detailed explanation of using swc file in Flex.
http://troyworks.com/blog/2010/03/04/how-to-create-swc-actionscript-libraries/
0
 
eduardo12foxAuthor Commented:
thanks!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.