Re: [flexcoders] document[value]

2008-08-03 Thread Josh McDonald
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 whate

[flexcoders] document[value]

2008-08-03 Thread flexaustin
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?