Slider used as a canvas size modifier

Because I do not saw this kind of object, I am thinking using a Slider to change the size (in %) of a canvas (from 10% to 100% of the image size) and enlarge the image at the same rate.

Can I use it for that ?

At first glance yes, but what do you think?

Yes, you can do this. But since a canvas can detect mouse/touch events, maybe you don’t even need a slider to do this.

There’s an example of using a Slider to zoom a Canvas here:

Examples/Graphics and Multimedia/CanvasZoom

Thanks Paul.

Zoom: Funny, I was watching the Flash TV show right now ! :wink:

Nice. I recall this image (this example ?). I will make good use of what I learn from the example.

One more thank you Paul.