AFAIK In an MXML component, document will usually point to the "defining" instance, which may be the application, or it could be another component.
And in actionscript, foo["bar"] is the same as: foo.bar So it's just dereferencing a public property of the document object with the name of whatever is in somevalue. -Josh On Mon, Aug 4, 2008 at 12:44 PM, flexaustin <[EMAIL PROTECTED]> wrote: > What does it mean when you see this code? document[somevalue] > > Is that finding some value in your mxml with the name somevalue? Does > document reference > the parent application file or the current file you scope is in? > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > 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." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

