thats the catch!
thanks

On Thu, Feb 14, 2008 at 2:25 PM, rueter007 <[EMAIL PROTECTED]> wrote:

>   type property in the metadata should be the name of the event with the
> complete package structure.
>
> <mx:Metadata>
> [Event(name="itemRollOver", type="com.myCompany.MessengerEvent")]
> </mx:Metadata>
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, learner
> <[EMAIL PROTECTED]> wrote:
> >
> > 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