Hello Wesley and others,
I have prepared a simple test case to demo my problem -
I'm trying to create a custom component which is being
fed with XML repeatedly coming from server.
My problem is that the CollectionEvent listener isn't fired.
Games.mxml:
?xml version=1.0 encoding=utf-8?
mx:VBox
Okay from the looks of things. You want the even to change when you change
the XML in the games variable? The collectionChange event is fired when you
change something in the existing collection. Your changing the collection
itself. This means that your listening to a change in a subsequently
Hello Wesley,
On Sun, Aug 22, 2010 at 12:47 AM, Wesley Acheson
wesley.ache...@gmail.com wrote:
This means that your listening to a change in a subsequently unbound
collection.
oh ok thanks, this makes sense.
In that case I probably don't need any events at all,
because I read the XML data
Alex
I don't know I'm not really all that used to e4x. have you tried tracing
each step when running in debug?
as in
trace (_xlist.toString());
trace (_xlist.game.toString());
trace (_xlist.game.length.toString());
On Sun, Aug 22, 2010 at 1:13 AM, Alexander Farber
alexander.far...@gmail.com
when are you expecting to see the event tiggered. I don't see anywhere it
would be triggered in this code.
On Thu, Aug 19, 2010 at 12:40 AM, Alexander alexander.far...@gmail.comwrote:
Hello,
I have 2 problems with my custom component (code below), which works ok
otherwise. It represents a
Hello,
I have 2 problems with my custom component (code below), which works ok
otherwise. It represents a list of games, with up to 3 players. I feed it with
XML data being pulled from server:
game id=42
user .
user .
user .
/game
game id=47
user .
/game
game id=56
6 matches
Mail list logo