When I try to do this in an AS CDATA block, it tells me I can't have a class declared within a class (the MX:Application itself). Makes sense. But where and how do I do it?
+1
A:
You create a new file with a .as extension, and put your class definition in there.
Wesley Petrowski
2009-12-07 18:11:15
+1
A:
You may want to watch the screencast for the Components chapter of First Steps in Flex. It walks through how to do this.
James Ward
2009-12-07 18:19:05