I didn't think includes could be done at run time, although I never tried it. I assume you are having trouble getting it working or else you wouldn't have asked the question. Can you expand on your use case? Maybe there is a better / different / alternative way to approach the issue.
sailorsea21 wrote: > Hi everyone, is it possible to do something similar to this on the MXML file: > > include this[parentApplication.filename + ".as"]; > > I want to dynamically include an ".as" file depending on what is received > from my AMFPHP object... > > If this is not possible, is there a simpler way to accomplish this? > > Thanks. > > -David > > > > ------------------------------------ > > -- > 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 > > > > > -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust

