开发者

What is the best way to make a zoom-in effect on Flash?

I have a world map and want to create a zoom-in effect. Ideally, it would be able to have a "magnifying glass" looking cursor that when clicked, it would zoom in on that area of the 开发者_开发问答map.


You can do that with four things:

X Y scaleX scaleY

Oh, and mouse event listeners, of course.


or you can play about with flash's inbuilt tween class:

import fl.transitions.Tween;
import fl.transitions.easing.*;
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜