Put more of the code of your class up... serviceProxy or params could be what's null...
--- In flexcoders@yahoogroups.com, Webdevotion <[EMAIL PROTECTED]> wrote: > > Hello, > > I've been staring into the dark since yesterday on this one. > I extend Proxy and implement IEventDispatcher > > > public dynamic class RemotingProxy extends Proxy implements > IEventDispatcher{ > // my class > } > > > > somewhere in my class I have the callProperty method > > > flash_proxy override function callProperty( methodName:* , ... args ):* > { > return serviceProxy[methodName.toString()].apply(serviceProxy,params ); > } > > I always run into this compilation error. > Error: TypeError: Error #1009: Cannot access a property or method of a null > object reference. >