Also, you say “push” into the
array, maybe it needs to be addItemAt into the array? From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tracy Spratt Maybe there is an instantiation issue
wherein the un-instantiated views are inhibiting the rendering of the visible
view. Set creationPolicy=”all” on
the ViewStack and see if the behavior changes. From: My mxml file loads, the parent tag calls a
method on creationComplete that goes to my server and gets XML…on result
of that method call, on the front-end I take that XML, parse it and generate a
series of objects and keep pushing them into an array. I have a
viewstack…the first child of the viewstack is a column chart whose
dataprovider is this array that’s getting pushed these objects being created
on the fly by my xml parsing routing. The second child of the stack is a
datagrid, whose dataprovider is ALSO the array. When the page loads, I
get the XML successfully, I parse it successfully…but my chart does not
build based on the elements of this array…if I change the view to see the
raw data in the datagrid, the data IS in the datagrid, if I go back to the
chart, the chart is still not there…if I go back to the datagrid and sort
one of the columns, and then I go back to the chart…the chart now miraculously
is built with the data. What do I need to do to ensure that the
chart is built immediately upon the completion of my method that parses the XML
sent from the server and populates the array of objects that is the
dataprovider of my chart? robert l. brueckmann senior web developer merlin securities p:
212.822.4821 This message contains information
from Merlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this information
and note that such actions are prohibited. If you have received this
transmission in error, please notify the sender immediately by telephone or by
replying to this transmission.
Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed by Merlin Securities, LLC and may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com ---- LSpots keywords ?> ---- HM ADS ?> YAHOO! GROUPS LINKS
|