1 Reply Latest reply on Dec 6, 2007 5:47 PM by joan_lafferty

    TextEvent Error

    murugast
      Hey , Thanks
      I having component with textevent

      EG.
      <mx:Metadata>

      [Bindable]
      [Event('flipped', type='flash.events.TextEvent')]
      </mx:Metadata>

      i used this for Creating text event . But when i add this component to my app

      it is not showing this events in list , and also if i manually add this ,

      Eg.
      (flipped="onFlip(event)" )


      and function

      private function onFlip(event:TextEvent){

      }


      It showing error

      1118: Implicit coercion of a value with static type flash.events:Event to a possibly unrelated type flash.events:TextEvent.




      Can you help me in it