Fixed a bunch of bugs for the ZoomableImage class I posted some time ago.
You can find the old post here
Enjoy!
Fixed a bunch of bugs for the ZoomableImage class I posted some time ago.
You can find the old post here
Enjoy!
Hi everyone!
Today I release a new class, as previewed a few days ago.
The ZoomableImage class let you load an image and display it in a frame box of predefined dimensions. You can view this image only for a certain part, at the start. But you can click and drag it to view it all.
The class has several features, so you can view the docs to know them all. It is very customizable. And it is very easy to use.
Just by adding these few lines of code,
var zImage:ZoomableImage = new ZoomableImage("http://www.fuoridalcerchio.net/source/zoomableimage/image.jpg", {framewidth: 300, frameheight: 300, framealpha: 0.2, framecolor: 0x000000, overlay:true, zooms: [100, 50, 25]});
zImage.x = 200;
zImage.y = 200;
addChild(zImage);
you can use the class in every project.
Enjoy! Critics and advices are welcome, as usual!
How many times have you needed some “component” to achieve the effect of a magnyifing lens on a photo? Well, in my case, almost ever! :)
So i’m developing a simple class in AS3 to achieve this. With the ZoomableImage class, that will be released in a few days, you can:
You can check the example down here!
I hope you will like it! Any comment or advice is appreciated.
See you!
Hi all! This is a simple gallery i created for a project. It is very easy to customize, to change and to understand. It is a good starting point for creating a gallery system for your site. Download and see.
Demo (took the photos from my flickr)
Source code
I hope you enjoy!