Hi,

I guess a better question is when do I use :

[Event(name="eventName")]

as opposed to:

[Event(name="eventName",type="flash.event.event")]   (this gives me that
error in my original post )

Thanks


--- In [email protected], "malik_robinson" <[EMAIL PROTECTED]>
wrote:
>
>
> Hi,
>
> I am getting this error:
>
> Event Type 'flash.event:event' is unavailable
>
> I have this function in my "Services.mxml" file:
>
> private function loginUser_result( event:ResultEvent ) : void {
>
>
>
> dispatchEvent( new Event("userAuthenticated") );
>
>
>
> }
>
> Then in my main MXML file I have:
>
> <ds:SupportService id="svc"
>
>           userAuthenticated="mx.controls.Alert.show('Your are now
Logged
> In');"
>
> />
>
> Any idea on why I may get this error?
>
> Thanks
>
> Malik
>


Reply via email to