Title: Reserved notification constants Post by: flexphp on April 22, 2008, 01:58:02 Hi all,
I just spent 3 days on a bug, so hope this will make life easier for someone... ApplicationFacade.FILTER (filter) ApplicationFacade.SORT (sort) Do not work when registering a mediator with these words in the list of notification interests PureMVC -> view.as line 89 consider them as function name and the compiler cannot cast them to Array... Cheers, Patrick Title: Re: Reserved notification constants Post by: puremvc on April 22, 2008, 11:03:31 var observers:Array = observerMap[ notificationName ]; 'Very interesting. if Notification name is filter or sort, AS3 is accessing observerMap.filter() or observerMap.sort(). Looks like we must consider these reserved constants. Thanks for posting this, Patrick. Sorry it caused you so much grief. -=Cliff> |