1 Reply Latest reply on Mar 13, 2008 6:31 AM by Gregory Lafrance

    Use AS class in my MXML file (with full access)


      I have a MXML file which has some controls (for example one Button). Now i want to create an AS class with many methods and i want to use this class in my MXML file. But i don't know how i can specify the scope of this Button to be accessable in AS class?

      Of course i can have methods in AS class like setButton ... but if i have many controls. Maybe exists other possibility to user in AS file controls from MXML file?