you have variable declared, but when the list instance tries to access the value at myDP, it doesn't exist.
try assigning a default value [Bindable] public var myDP:ArrayCollection = new ArrayCollection() On Fri, May 14, 2010 at 1:37 PM, tex_learning_flex < [email protected]> wrote: > > > I have in my base mxml file: > > [Bindable] > public var myDP:ArrayCollection; > > which is a DataProvider > > elsewhere I have an mxml component file with a Spark List. I the list I > have specified: > > <s:List > id="list" > dataProvider="{myDP}" > itemRenderer="assets.Renderer" > > > > this file is throwing the following error: > > 1120: Access of undefined property myDP. > > any idea what might be wrong? > > >

