or any help!
Sascha
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Webdevotion
Sent: Sunday, 07 January, 2007 21:53
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to clear a TileList of its items?
Hey Sascha,
Try to compile and use my e
Please look into my example more closely.
When you click the button I first clear the list and then fill it again with
new items from an arraycollection ; )
collection = new ArrayCollection(); // clears the list
collection = new
ArrayCollection({first:john},{first:john},{first:john},{first:john},
Hey Sascha,
Try to compile and use my example. Just create a new Flex Project.
Maybe you ran into a debug error. Please be sure that all your debug
sessions have stopped in the debugger by pressing the red square button.
Sometimes I have to restart my Builder in order to get rid of those compil
hints!
Sascha
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Webdevotion
Sent: Sunday, 07 January, 2007 21:56
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to clear a TileList of its items?
Oh yes,
To remove all items from a tilelist you
Oh yes,
To remove all items from a tilelist you just use
collection = new ArrayCollection();
In my example the dataprovider is refilled as a proof of concept.
Commenting the line:
collection = new
ArrayCollection([{first:'John'},{first:'John'},{first:'John'},{first:'John'},{first:'John'},{firs
at mx.core::UIComponent/::callLaterDispatcher()
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Clint Modien
Sent: Sunday, 07 January, 2007 14:03
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to clear a TileList of its items?
Odd.
ideas?
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Clint Modien
*Sent:* Sunday, 07 January, 2007 10:40
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] How to clear a TileList of its items?
I would try any new non-null comple
Thanks Clint, but all of them result in the same exception. Any other ideas?
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Clint Modien
Sent: Sunday, 07 January, 2007 10:40
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to clear a TileList
I would try any new non-null complex type:
new Object();
new Array();
new ArrayCollection();
On 1/5/07, Sascha <[EMAIL PROTECTED]> wrote:
I'm trying to initialize a TileList after items were put into it so that
it
is empty again and I can load new items into it after that. I'm setting
the
Ti
I'm trying to initialize a TileList after items were put into it so that it
is empty again and I can load new items into it after that. I'm setting the
TileList dataprovider to null but when I then try to load new items into it,
it gives me an exception: Parameter child must be non-null.
What would
10 matches
Mail list logo