Hi:
I run the following code snippet:
import mx.collections.ArrayCollection;
.......
<mx:List x="35" y="97" width="355" height="316" id="listChat"
dataProvider="{items}">
<mx:itemRenderer>
<mx:Component>
<mx:Canvas>
<cmp:ChatLine id="complete" x="0"
y="0"></cmp:ChatLine>
</mx:Canvas>
</mx:Component>
</mx:itemRenderer>
</mx:List>
.......
Further on I declare:
[Bindable]
public var items:ArrayCollection = new ArrayCollection()
I get the following error:
-> 1046: Type was not found or was not a compile-time constant:
I'm importing -> import mx.collections.ArrayCollection;
I'm using a custom component named: cmp
I remove [Bindable] and everything works OK but I get the following
warning:
-> Data binding will not be able to detect assignments to "items".
Any help/pointers greatly appreciated.
Cheers,
Dave Cook
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/