Well if you're working against MXML and don't also have a compiled .SWF for that application, you're just going to have to hard-reference everything you might need, or load it from the Flex library SWC (a SWC is just a .SWF and an XML file in a zip)
Failing that, since it sounds like you're doing analysis, just run your code against all the UIComponents in the framework, and just keep the data :) -Josh 2009/1/16 enriirne <[email protected]> > @Howard: > > > Is this in a SWF that's loaded into another SWF? If so see > no, it's a simple line on an empty application > > @Josh: > > symbol, the class won't be compiled in. Try adding a reference to > Ok, it works, but my TextInput was just an example. Mine is a problem > with reflection: I made a recursive descent function that extracts all > events dispatched by a control. The problem is that describeType needs > an object, and I haven't found a way to get an instance of a non > imported thing. Note that I take the control's name reading an mxml > application as an xml file (in air, of course) > > This must be a problem regarding the compiler domain. I don't know if > I can dinamically create something that resides in a non imported > module. > > As a workaround, I'll create an instance for every controls :) > > Enri > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Like the cut of my jib? Check out my Flex blog! :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [email protected] :: http://flex.joshmcdonald.info/ :: http://twitter.com/sophistifunk

