This is Flex2 Beta2. this.hasOwnProperty(arg) gives compile error.
this["hasOwnProperty"](arg) compiles and returns correct results. Seems like a bug to me. Dave Matt Chotin wrote: > 1.5 or 2.0? I think it should probably work. What if you do > this["hasOwnProperty"](arg)? Does it work or give you a runtime error? > > Matt > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of David Moylan > Sent: Monday, April 03, 2006 5:45 PM > To: [email protected] > Subject: [flexcoders] hasOwnProperty inheritance > > I have an object that is a child of the VBox class. VBox documentation > states that the hasOwnProperty() method is inherited from Object. > Shouldn't my class then be able to call hasOwnProperty()? I get compile > > error "Call to a possibly undefined method..." currently. > > Thanks. > > Dave Moylan > > > -- > 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 > > > > > > > > > -- > 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 > > * Visit your group "flexcoders > <http://groups.yahoo.com/group/flexcoders>" on the web. > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > > ------------------------------------------------------------------------ > -- 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/

