Ah, I understand a message of "Incompatible override". It works. Thank you for your replay!!
--- In flexcoders@yahoogroups.com, "Jason Y. Kwong" <[EMAIL PROTECTED]> wrote: > > The function signatures have changed. eg: > > callProperty(name:Object, ... args):* > > has changed to: > > callProperty(name:*, ... args):* > > > On 4/4/06, sn197412 <[EMAIL PROTECTED]> wrote: > > > > Hi. > > > > I'm trying to compile a [EMAIL PROTECTED] > > But I got errors every "override" lines. > > What is "Incompatible override"?? > > > > > > package > > { > > import flash.util.Proxy; > > import flash.util.flash_proxy; > > import flash.util.trace; > > > > use namespace flash_proxy; > > > > public dynamic class Person extends Proxy > > { > > > > protected var name:String; > > protected var age:uint; > > > > public function Person( name:String, age:uint ) > > { > > this.name = name; > > this.age = age; > > } > > > > flash_proxy override function callProperty(name:Object, ... args):* > > { > > trace("callProperty: " + name); > > return super[name].apply(null,args); > > } > > > > flash_proxy override function setProperty(name:Object, > > value:Object):void > > { > > trace("setProperty: " + name); > > super.setProperty(name, value); > > } > > > > flash_proxy override function deleteProperty(name:Object):void > > { > > trace("deleteProperty: " + name); > > super.deleteProperty(name); > > } > > > > flash_proxy override function hasProperty(name:Object):Boolean > > { > > trace("hasProperty: " + name); > > return super.hasProperty( name ); > > } > > } > > } > > > > > > > > > > > > -- > > 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 <*> 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/