This content has been marked as final. Show 3 replies
I don't know the basics of the Google system, which is not flash. But they could have more images cached for every zoom, because you can see that they have several fixed zoom levels, so they could produces images for every zoom level.
In flash you can't recalculate an image, because the image is bitmap is not vector so it can't be recalculated. One way to do it is to have images for every zoom level, and obviously have some defined zoom levels.
Hope that helps.
thanks for the tip, I was thinking about that but wasn't sure how to do it.
So let me know if I'm wrong but for exemple I would have to say that everytime the user zooms in or out the object's scale gets +5 or +10 for exemple and when it's zoomed it loads the image corresponding to the zoom level ?
you can use the bitmapdata class to smooth bitmaps when scaling. the draw() method allows bitmap smoothing when using a source and destination bitmap. (so, you'll need to create a destination bitmap).
or, you could load your bitmap into a target movieclip and enable the forceSmoothing property of your target movielcip.