I have built a calculator in actionscript3 in flash. However,
I now need to use it in a flex app and was thinking the best way to
do this would be to create an actionscript class in my flex
I have no idea how to do this though. In the actionscript I
am calling on the instances which are obviously not available in
the flex class. I really cant get my head around classes in flex so
any help would really go along way to getting me there.
I have a movieclip called calculator and within that a number
of buttons that have the functions on them. Can I import just
calculator into flex or do I have to import each button separately?
attactched is the actionscript 3 actions layer that I have in
If the calculator is a standalone applet that does not need
to talk to Flex then you could just generate the swf in flash and
load it in Flex using a SWFLoader. The SWF would just be placed in
your Flex Projects assets or where ever you wanted it.