[flexcoders] I don't understand why I'm getting this compiler error

2009-02-20 Thread elevight
I'm getting a compiler message saying Event type 'events.CustomEvent' is unavailable, and I don't understand why. I'm hoping a second eye might catch the problem. My custom event class is called CustomEvent.as: (the dao.Person class is just a dummy class that stores a firstName, middleName,

Re: [flexcoders] I don't understand why I'm getting this compiler error

2009-02-20 Thread p...@vin Uttarwar
Hi, I think you are given wrong event type in this metadata tag, mx:Metadata [Event(name=testEvent, type=events.CustomEvent)] /mx:Metadata rather it should be complete package structure as, mx:Metadata [Event(name=testEvent, type=actionscript.CustomEvent)] /mx:Metadata Regards, *Pravin*