David, I *believe* that the only visibility checking is done at compile time. Classes are finally parsed into hierarchy of prototyped objects, so you can actually read/add/modify/delete any members of any class at runtime.
Best, Aldo On 9/22/05, David Harris <[EMAIL PROTECTED]> wrote: > Hey Guys, > > I have a class with something like this in it.... > > private var _myVar:String = "bob"; > > My Class is an MXML file that has a mx:Box as its base. > > When I create one, and try to reference myInstacne._myVar, I get "bob".... > > I thought making a variable private meant it was ONLY avalible inside > that class, and it would be up to me to write a getter and setter > function for _myVar if required... > > am I missing something? > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > -- ::::: Aldo Bucchi ::::: mobile (56) 8 429 8300 ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

