Hi Folks,

I am quite new to SAS, so please excuse if the following is a bit of a "no-brainer".

What might be the reason, why the first code-Snippet triggers my function, but the second doesn't.

Code:
1) 
[...]
EventBus.addEventListener("allDataLoaded",onDataComplete);

2)
[EventHandler(name="allDataLoaded")]
protected function onDataComplete(event:Event):void {...}
Many Thanks,
Robson