ZaijiaN Report post Posted September 7, 2007 I have a page that has a tabular style: several "tab pages" occupy the same space, and you click on the tabs at the top to switch between the pages. When the tab link is clicked, all other tab pages are hidden via css (display:none) and the selected tag page is shown (display:block). Each of these tab pages have a FusionChart in them that uses a dataUrl. Now, when a tab page is shown, the FusionChart seems to start over, and re-gets the XML from dataUrl. That is not desired. I want it so that the FusionChart only goes to the dataUrl once, when the page is loaded, and not every time it is hidden and then shown. Is there a flashVar that will change this behavior? Or will I have to have all the tab pages shown simultaneously and use z-indices to control visibility? Share this post Link to post Share on other sites
ZaijiaN Report post Posted September 7, 2007 Ok, judging from this thread, it seems that the browser initiates the redraw. Is it possible in flash to cache the XML data retrieved from the dataURL? Or can you cache the rendered image and use that for the redraw, instead of going through all the steps to retrieve the XML, read it in, and animate? Share this post Link to post Share on other sites
Pallav Report post Posted September 10, 2007 I'm afraid the caching and re-drawing is all handled by the browser - as such you cannot control it in code. Share this post Link to post Share on other sites
ZaijiaN Report post Posted September 10, 2007 So there's no way for the flash applet to know if it's the first time it's been played vs. just a redraw? Share this post Link to post Share on other sites
Pallav Report post Posted September 16, 2007 Even the redraw is a re-load - as such the movie thinks that it has been loaded each time. Share this post Link to post Share on other sites