I am having a requirement where in I will give the input as
flex file(mxml file) and I need to come up with the array of
components belonging to the mxml file, like names of all the data
grids, buttons, textboxes, arrays, collections etc...etc...
This is simillar to Java reflection to introspect a Java
Object, In simillar terms is there any programtic way of
introspecting a mxml file to find its components and controls?.
Being a Flex newbie this seems to me as a very complex
Hope there are folks who are experts and this kind of
requirement is a routine one !!.
I have never heard of such a thing. An MXML file is XML, so
using an XML parser, such E4X, could go a long way to do this. But
you would have to do something about components inside of
<mx:Script> blocks which would be in ActionScript