开发者

Flex Pan & Zoom with vector images

开发者 https://www.devze.com 2023-01-06 01:25 出处:网络
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 thi

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消