I've looked at http://www.adobe.com/devnet/flex/samples/fig_panzoom/ for pan & zoom, and it does a very good job of it. However, it only works with raster images. Does anyone know how to modify this for vector images (SVG converted to SWF).
My limited attempts have not gone well, as the Imageviewer.as class is clearly designed around bitmaps.
I can load the SVG images in an开发者_Python百科 Image, but I'd really like to pan & zoom too.
Thanks.
Have you looked at OpenZoom? AFAIK it supports anything that can be loaded on the stage.
精彩评论