views:

28

answers:

1

Is that kind of job easy to do in flash?

A: 

depends on your definition of 'zoom'. but then i guess you can just use a really high def image, then show it small. to zoom it, just increase the dimensions of the image via width, height.

corroded
Sorry to mention late,I want to zoom partly.
flash
so you just want to zoom in on a certain portion? yup just do an increase in width + height, then just show a portion of that using a mask.
corroded
Zooming images by mere scaling is not much of a good idea. 1. it performs poorly, 2. as soon as the bitmap is scaled to exceed 5000 px (width or height) it is no longer rendered. The best way to do this is to copy the visible pixels into a new BitmapData and scale that one.
back2dos