Public properties or setter methods will be available in MXML. You can annotate them with various forms on [Inspectable] to get useful code-completion as well. If you implement IMXMLObject, initialize() will be called once all the fields declared in the mxml tag have been set.
-Josh On Thu, Oct 30, 2008 at 3:45 PM, lagos_tout <[EMAIL PROTECTED]> wrote: > Hi, all. > > I have an AS3 class that I want to use in mxml instead of > actionscript. The AS3 class takes an argument. How do I pass an > argument when using the class in it's mxml form? Or do I have to > declare a public property on the class and pass the argument instead > as a property of the mxml tag? > Thanks much! > > LT > > > ------------------------------------ > > -- > 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/

