mysticBoer Report post Posted May 30, 2008 Ok, since a chart is basically a flash movie, I'm trying to implement the flash zoom functionality using the following JavaScript: function ZoominFlashMovie() { var flashMovie=getFlashMovieObject("ChartId"); flashMovie.Zoom(90); } function ZoomoutFlashMovie() { var flashMovie=getFlashMovieObject("ChartId"); flashMovie.Zoom(110); } function getFlashMovieObject(movieName) { if (window.document[movieName]) { return window.document[movieName]; } if (navigator.appName.indexOf("Microsoft Internet")==-1) { if (document.embeds && document.embeds[movieName]) return document.embeds[movieName]; } else // if (navigator.appName.indexOf("Microsoft Internet")!=-1) { return document.getElementById(movieName); } The 'Zoom In' functionality works fine, and I get the desired result. When I use the 'Zoom Out' functionality however, it does not zoom out the full extent. It stops at the second zoom level - as shown in the attachments. Attachments: Step 1 - The way the chart is initially loaded Step 2 - After zooming in once or twice Step 3 - After repeatedly clicking the zoom out button This also happens if I apply the functionality on the FusionCharts samples... Any ideas? Share this post Link to post Share on other sites
Pallav Report post Posted June 3, 2008 The zoom that you're using here is actually zooming the entire Flash movie (from Adobe Flash Player API) - as such it's not controlled by FusionCharts. Share this post Link to post Share on other sites
mysticBoer Report post Posted June 4, 2008 Yes, I know it's not a FusionCharts thing. What is weird though is that when I use another flash movie (non-fusioncharts) it works fine. Share this post Link to post Share on other sites