I have a flex application. The swf reads xml file, and draws 12 concentric rings(sun signs). The swf then reads xml data and plots users as dots on the respective sun sign circle.The problem is, when swf loads, the circles and dots donot get displayed as the swf reads xml data. I have to refresh/reload the page in order to see the graph(circles and dots). Once it gets cached then no reload is needed.
Could you suggest a way to refresh/reload or display swf only after circles etc are drawn?
The app link is :www.udayjoshi.com/displayRashi.html.
The code is pasted below.
Try using applicationComplete in place of initialize and see if that helps at all.
BTW a function name of Rashi is pretty confusing (it looks like a class constructor) try and keep function calls beginning with a lowercase letter.
Tried applicationcomplete but doesnot work. I am playing with initialize, creationComplete, applicationComplete but the problem is not solved.