hi all ,

I am getting this compile time error:

"Event type 'MessengerEvent:ITEM_ROLL_OVER' is unavailable.  "

and the code that I have written is:

contentholder.mxml :


<mx:Metadata>
        [Event(name="itemRollOver", type="MessengerEvent.ITEM_ROLL_OVER")]
</mx:Metadata>

function  somef(){
    dispatchEvent(new MessengerEvent(MessengerEvent.ITEM_ROLL_OVER));
}




in main.mxml  :

<mycomp:ContentHolder width="100%" id="contentHolder"
itemRollOver="showFlyOut(event)"/> // this is where i am getting error


can any body tell me what is the problem?

Reply via email to