1 Reply Latest reply on May 15, 2007 12:16 PM by ashar2005

    placing actionscript 3

    jak9942 Level 1

      I am very new to flex 2 and i am converting a flash project into flex. How do i place actionscript into a flex application? and does it use different rules to how flash uses it? this is probably very simple but i cannot find any webpages on this.
        • 1. Re: placing actionscript 3
          1. Flex only uses Actionscript 3, so if you have a flash project with AS2 you
          may need to recode some things.

          2. In your MXML file, put a <mx:Script> tag. This will automatically put a
          closing </mx:Script> tag along with a CDATA declaration.

          3. Put your actionscript inside of the CDATA declaration in the script section.