PureMVC Architects Lounge

PureMVC Manifold => Standard Version => Topic started by: Tipz on March 08, 2009, 01:26:25



Title: Newbee needs help
Post by: Tipz on March 08, 2009, 01:26:25
Hi guys, am new to pure MVC. I have been following http://hubflanger.com/building-a-flash-site-using-puremvc/comment-page-2/#comment-530 (http://hubflanger.com/building-a-flash-site-using-puremvc/comment-page-2/#comment-530) to create my first pure MVC app. Its a simple application on data load, populate stage with button and text box. On button click populate the textbox.

For some reason the handleNotification method is not being called in the stageMediator and am stuck  :-[.
Here is the code http://www.6thproject.com/MVCtest.zip (http://www.6thproject.com/MVCtest.zip), am using flashdevelop and swc to import components. Could anyone please direct me.

Cheers



Title: Re: Newbee needs help
Post by: puremvc on March 08, 2009, 05:47:59
Would love to help out here but I'm on a phone and can't check out your zipfile. Also its difficult to find time to go around the net debugging projects. If you could just tell us a little about your project setup, I might be able to help.

Thanks,
-=Cliff>


Title: Re: Newbee needs help
Post by: Ondina on March 08, 2009, 07:38:56
Hi Tipz

In the SiteDataProxy you have:

sendNotification(NAME,ApplicationFacade.INITIALIZE_DATA);

I changed it to:

sendNotification(ApplicationFacade.INITIALIZE_DATA);

and the handleNotification in StageMediator is getting its Notification now.


Title: Re: Newbee needs help
Post by: Tipz on March 08, 2009, 10:51:23
Thanks a lot man. ;D It should have double checked.  :-[

Cheers