Added that but still:
hey
TypeError: Error #1009: Cannot access a property or method of a
null object reference.
at crap/sendIt()[/Users/grimm/Documents/__WORK/FLEX/
crap;;crap.mxml:42]
at crap/___Button1_click()[/Users/grimm/Documents/__WORK/FLEX/
crap;;crap.mxml:25]
at [mouseEvent]
Maybe someone from Adobe can tell me what I'm doing wrong? What's the
null object reference here?
On Aug 30, 2007, at 7:22 AM, ronnlixx wrote:
I'm not sure, but I think your missing a reference to the event:
<mx:Button click="sendIt(event)" label="Click" x="335" y="259"/>
public function sendIt(e:Event):void{
temp.send({first_name: "first name"});
}