PDA

View Full Version : Supa dupa pan zoom tool


Xegnma
05-01-2009, 12:19 AM
My best flash creation to date. Pretty proud of how this one came together, lengthy process though it was. Check it out, feedback appreciated:

Pan Zoom Tool With Omni and Cardinal Controls (http://www.mmfiles.com/flash/user_interface/pan_zoom_tool_with_omni_and_cardinal_controls_607. html)

cjx3711
05-11-2009, 12:19 PM
This is cool, how did you program the 1 second delay?

Xegnma
05-13-2009, 03:50 AM
I'll give you a few hints. Look up the getTimer() and setInterval() functions in the Actionscript 2.0 Language Reference(see Adobe LiveDocs). The trick is to calculate how much time in milliseconds have elapsed and test if it exceeds a given delay period. The rest I leave to you :).