drag and zoom into graph (actionscript)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • plloydg
    New Member
    • Jan 2008
    • 1

    drag and zoom into graph (actionscript)

    hi, I'm fairly new to actionscript - I have created a graph out of a sprite, and got it responding to mouse events (eg onPress, onMouseDown...) .


    when the user triggers a mouseDown on the graph, i register the mouse position, and when they release the mouse( mouseUp) also register that position. I want to enlarge and zoom into the difference between these two.

    in essence what i'd like to do is be able to drag the mouse over a certain section of the graph, for that section to fill the whole area.

    any help would be much appreciated, so thanks in advance!
Working...