You have to assign an instance of your class, not the class itself

From: [email protected] [mailto:[email protected]] On Behalf 
Of Amy
Sent: Friday, January 09, 2009 2:13 PM
To: [email protected]
Subject: [flexcoders] Wierd error 1067 on extended DefaultDataDescriptor


I have a class, LazyLoadingDataDescriptor, which extends
DefaultDataDescriptor. I'm getting a compiler error 1067: Implicit
coercion of a value of type Class to an unrelated type
mx.controls.treeClasses:ITreeDataDescriptor.

Since this is extending a class that implements ITreeDataDescriptor2,
shouldn't I be able to set it as the DataDescriptor of a tree?

TIA;

Amy

Reply via email to