Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Newbee needs help  (Read 8407 times)
Tipz
Full Member
***
Posts: 20


View Profile Email
« 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 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, am using flashdevelop and swc to import components. Could anyone please direct me.

Cheers

Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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>
Logged
Ondina
Sr. Member
****
Posts: 86


View Profile Email
« Reply #2 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.
Logged

~ Ondina ~
Tipz
Full Member
***
Posts: 20


View Profile Email
« Reply #3 on: March 08, 2009, 10:51:23 »

Thanks a lot man. ;D It should have double checked.  :-[

Cheers
Logged
Pages: [1]
Print