My application is actually based on the dashboard sample that is provided when you download Flex Builder. I display different data in various views according to the actions of the user. When I go past from a view to another, I empty the arrayCollection. But, when the charts are finally displayed, the arrayCollection contains one element that corresponds to the first element of the data that was previously in the arrayCollection.
That's the first thing. The second thing is this happens only if you do a back and forth between the two views and you modify the arrayCollection on the first view then go to the second view, modify a second time the arrayCollection and go back to the first view. At this time, the arrayCollection contains the first element of the data of the second view...
That is quite complicated, I agree. It's also quite complicated to explain especially when english is not your mother tongue. But I tried many ideas and the problem remains...
Any ideas ?
--- In [email protected], Tom Chiverton <[EMAIL PROTECTED]> wrote:
>
> On Thursday 20 July 2006 15:08, cvich12 wrote:
> > Any idea of what could cause this ?
>
> Action script and events are all asynchronous - the order things get logged in
> the debugger need not be the order they actually happened :-)
> Do you have something that goes off and fills in the dataProvider that could
> be firing ?
>
> --
> Tom Chiverton
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___

