Sorry,i didn't use debug before...It return source not found..But when i didn't use modules,it works fine with saving data to database...
On 8/4/09, Yesaya handoyo <yongha...@gmail.com> wrote: > amf is the id for the amfphp service,i try to set breakpoint there.But > it doesn't break..I just have to click on the line right to set > breakpoint? > > On 8/4/09, valdhor <valdhorli...@embarqmail.com> wrote: >> OK, so what is amf and where is it initialized? >> >> If you put a breakpoint on line 55 and then when it breaks, is amf null? >> >> --- In flexcoders@yahoogroups.com, Yesaya handoyo <yongha...@...> wrote: >>> >>> I haven't try to set breakpoint on line 55...Should i pass the string >>> to the main application first instead of directly accessing methods >>> within modules??Also i put the code of line 55 and 109 here >>> http://www.pastebin.org/6427 >>> >>> On 8/4/09, valdhor <valdhorli...@...> wrote: >>> > 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" <yonghan79@> 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.. >>> >> >>> > >>> > >>> > >>> >> >> >> >