AMFPHP runs on the server side so it has no bearing on your error. What happens at Kategori.mxml lines 56 and 109?
Have you tried setting a breakpoint on line 55 and seeing what object is null? --- In flexcoders@yahoogroups.com, "yonghan79" <yongha...@...> wrote: > > Hi all,i want to ask.Does anyone ever before creating application using > amfphp within modules?Right now i'm trying to create an aplication using > amfphp,and access the methods within modules..When i run try to save data,i > got errors like this : > > TypeError: Error #1009: Cannot access a property or method of a null object > reference. > at modules::Kategori/addKategori()[C:\Documents and Settings\handoyo\My > Documents\Flex Builder 3\administrator\src\modules\Kategori.mxml:56] > at modules::Kategori/___Kategori_Button1_click()[C:\Documents and > Settings\handoyo\My Documents\Flex Builder > 3\administrator\src\modules\Kategori.mxml:109] > > Can someone point me please?Thanks a lot.. >