add [Event(name="myevent")]  on top of class definition

e.g.
[Event(name="myevent")]
public class MyPanel extends Panel
{
  private function somefunction() : void
  {
          ....
          this.dispatchEvent(new Event("myevent"));
  }
}
        

Thanks
Bhuvan
http://flex-apollo.blogspot.com


        


On Jul 2, 2007, at 11:01 PM, dorkie dork from dorktown wrote:

What do I need to do to have my event show up in code hinting such as
<fc:mycomponent click="{}" myevent="{}"/>



Reply via email to