Hi guys, I'm fairly new to Flex 2 and I'm in the process of developing an application that utilizes the DataGrid and Graphs. Anyhow, this is how my application flows.
I have my main application "CSVParser.mxml", a "Parser.as", and 2 components: "charts.mxml", and "users.mxml" so far. When the program starts, "Parser.as" process a csv file that I have locally and turns it into an Array object then the component uses that Array object as the dataProvider. The data then displays in the DataGrid. At the same time, I want to be able to reference that same Array object in another part of my application, my charts.mxml component. However, the problem seems to be that when I reference the Array object, it's null because data has not yet been yet. So my question is, how can I reference that Array object? Please take a look at my codes. main application: https://crux.baker.edu/~thuynh01/flex/CSVParser.mxml components: https://crux.baker.edu/~thuynh01/flex/charts.mxml https://crux.baker.edu/~thuynh01/flex/users.mxml https://crux.baker.edu/~thuynh01/flex/promotions.mxml parser: https://crux.baker.edu/~thuynh01/flex/Parser.as
