This content has been marked as final. Show 3 replies
If you move the loadData() to creationComplete in the application tag,, do you still get this error?
Yes, I do. The only way to prevent the message is to have the Array that is throwing the error contain values initially, before making the call to the remote object. This works, sort of, but if I have to do that what's the point in getting the values out of the database to start with.
In addition, if I do it that way the graph shows the initial values in the array, not the values retrieved from the database. I have to force the graph to redraw before it will show the retrieved values.
I have to say, because of this and other things I've run into with Flex I am not impressed at all. It's clumsy, cumbersome and poorly thought out. At least with Java I can say "Do this before you do that," but I don't even have that much control with Flex.
I guess no one has any suggestion? This has become a significant
problem and I need a solution if possible.