How can I reload a datagrid in flash action script, after an xml file has loaded
Posted
by optician
on Stack Overflow
See other posts from Stack Overflow
or by optician
Published on 2008-10-31T01:24:50Z
Indexed on
2010/06/12
17:02 UTC
Read the original article
Hit count: 290
Hi Everyone,
Does anyone know how to change the rowcount of a datagrid in flash after it has been created on the stage.
I am loading an xml file externally that contains the number of rows the datagrid should have, but the problem is that becuase this file is not loaded at runtime, it just picks the default 3 items. Maybe I have to reload the datagrid on the stage, or loop until it is defined.
Does anyone have experince of this.
Regards,
Chris
© Stack Overflow or respective owner