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

Show Posts

* | |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / General Discussion / Re: Problem with proxy on: April 02, 2010, 04:15:43
ai i forgot the super..  :-\

thnx  :) it's working now

2  Announcements and General Discussion / General Discussion / Re: Problem with proxy on: March 30, 2010, 02:14:56
Well thnx for the as3 lesson cliff ;)
But changing the class name will not help me solve my problem.

NAME could have been the problem so i changed it to GETUSER, but when i run the code:
:
if (!facade.hasProxy(GetUserProxy.GETUSER))
{
trace(facade.hasProxy(GetUserProxy.GETUSER));
facade.registerProxy( new GetUserProxy());
}
It still keeps returning me "false" every time i run this. I expect it to be false the first time offcourse, but after that i think i should be registerd? But it doesn't.
What am i missing?
3  Announcements and General Discussion / General Discussion / Problem with proxy on: March 29, 2010, 03:12:20
Greetings,

After developing with cairngorm for a long time i wanted to try out puremvc.
I understand most of the basics now but i'm having a problem with the proxy's.
When i register one, i can't check if i registered it.
:
if (!facade.hasProxy(getUserProxy.NAME))
{
trace(facade.hasProxy(getUserProxy.NAME));
facade.registerProxy( new getUserProxy());
}

If i run this code it keeps on saying it doesn't have the proxy yet and registers it again.
This way i can't get the data from my proxy.

But if i do the same with a mediator than this code works and i can retrieve the mediator.

Am i forgetting something special for a proxy?

Thanks in advance
Pages: [1]