开发者

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

开发者 https://www.devze.com 2023-04-03 16:46 出处:网络
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 开发者_开发问答m

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

精彩评论

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