[ Latest Update: Added options to zoom into an particular palce. See the SWF preview ]
Developed to show high resolution product images, maps and whatever image or flash swf. Can be applied anyplace in an web page or opened by standalone flash player.
Automatically resizable to fit in HTML file and even to fill up complete web browser window. Commands accessible for zoom, pan and to reset the position of image.
This ZOOM - PAN Flash too options:
* Can be dragged with Mouse.
* Can be zoomed with Mouse Wheel (for windows only)
* May define your own canvas width and height.
* Both AS2 and AS3 versions included with separate source files (7,8,9)
* Fully editable MovieClips, No compiled Clips.
* Well Commented Actionscript and easily understandable xml file.
* Supports each Flash player version above 7.
* You can enable or disable the functionality through accessible settings.
Here is the list of accessible dynamic settings for - zoom pan flash tool:
1. Image may be loaded outside from Flash. You may set the file path through XML or by Flashvars from the html file.
2. Amount of zoom and speed can be adjusted.
3. The initial zoom percentage and alinement may be set.
4. Changeable Easing(smoothness of move and zoom) value
5. Largest zoom level is changeable.
6. Alignment and position of the command buttons
7. Color and transparentness of Button and its background
8. The Mouse Drag option may be disabled
Both versions of files are included:
1. Full Editable Flash Source
Flash source file included so that a designer or developer with essential knowledge in Adobe Flash may modify the settings and design whenever needed. Naturally, the image may also be added directly in to Flash library if wanted.
2. Flash Source + XML file to adjust settings
All the settings can be changed without editing the flash. Zero knowledge on Flash needed. The image file link and complete settings values are got through XML file. You are able to as well modify the button color, transparency and position of buttons through the XML file.
Note:
Flash player 7 supports loading of external images in JPG / JPEG /JPE extensions only. If you want to load GIF or PNG , you need to use the version 8 or 9 which are included with source files.
====================================================
UPDATES FOR FLASH ZOOM PAN TOOL:
[08 August 2008 ]
Keyboard shortcuts added: UP, DOWN , LEFT , RIGHT , SPACE , +, – For those who like to publish in player version 8, bitmap smoothing added to acheive the equivalent smoothness available in 7 The fresh source files added within the folder “player version 8”. Please try out yourself because the efficiency of display depends upon the dimensions of image.
[12 August 2008 ]
Because requested, I built it to work along with interactive swf. In the place of image, you are able to now load an swf with buttons and links. As well you are able to call (load) more swf files from within the content swf. If you consider the content swf changes its width and height dynamically, you need to call a procedure to make the zoom actions to work in response to change. It's explained in the written document supplied with source files.
[09 September 2008 ]
AS3 supportive version included. Then there are 3 different source files for player 7 (AS2), player 8 (AS2) and player 9 (AS3) included. Autohide option for command buttons added. It may be enabled or disabled through XML or flash variables. As well the hiding delay time is adaptable.
[20 September 2008 ]
An example file added to demonstrate how to load this file into another swf. You no need to work on the zoom.swf if you follow the example file.
[14 November 2008 ]
Added options to zoom into an particular place. This will be helpful to navigate through map on clicking a button or somewhere. Example source code as well included with deliverables. You only need to call the next function:
From root:
zoomTo(X,Y,SCALE);
From the content swf:
_parent._parent._parent._parent._parent.zoomTo(X, Y, SCALE);
(To a greater extent details check document files for AS2 and AS3 )