PureMVC Architects Lounge

Announcements and General Discussion => Getting Started => Topic started by: justSteve on April 06, 2008, 04:48:45



Title: Any samples of dynamic notification handling?
Post by: justSteve on April 06, 2008, 04:48:45
The HelloFlash demo shows a dynamic mediator being registered. Is there anything listing how to handle a dynamically named body property being passed to a notification handler?

A proxy constructor that looks like
:
public function AssetProxy( swf2Load:String ):void {
//rename name vars
NAME = swf2Load + "Proxy";
SRNAME = swf2Load + "SRProxy";

this.swf2Load = swf2Load;

super( NAME );
this.load();
}

Would like to send the value of 'swf2Load' as the body payload of a sendNotification.

thx
--steve...


Title: Re: Any samples of dynamic notification handling?
Post by: puremvc on April 07, 2008, 12:52:06
:
sendNotification(NOTE_NAME, this.swf2Load)-=Cliff>