I need a bit of code I am struggling with.
I basically need a script that will allow a map to scroll left/right/up/down and zoom in/out
The movement should be limited to the mask size
The zoom in/out should always be centered to the middle of the mask
The zoom should work in increments (each click of the button zooms a bit more)
It must be possible to also click on the map and zoom in on the mouse pointer.
All movement should be tweened (strongEasyOut)
See the attached file for the structure
Code as an a .as file
Code in AS3
FLA in CS4
Preferably make user of the MatrixTransformer
Deadline ... ASAP