2 Replies Latest reply on Aug 27, 2008 11:55 AM by Gregory Lafrance

    ActionScript to Flex

    cityofangels36
      Hi guys,

      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 project.

      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 flash.