+2  A: 

It's because you have registered the event listener for CustomPageClickEvent on the Panel, but you're dispatching it from DrawPlaybook

Just change this:

var eventObj:CustomPageClickEvent = new CustomPageClickEvent("panelClicked");
eventObj.panelClicked = panel;
dispatchEvent(eventObj)

to this:

var eventObj:CustomPageClickEvent = new CustomPageClickEvent("panelClicked");
eventObj.panelClicked = panel;
panel.dispatchEvent(eventObj)

... or change the event listener to this.addEventListener(CustomPageClickEvent.PANEL_CLICKED, onCustomPanelClicked);.

Let me know if that works.

viatropos
Changing the event listener to : this.addEventListener(CustomPageClickEvent.PANEL_CLICKED, onCustomPanelClicked);works. Thanks a lot for your help.