that's about it. I want a big movieclip or image to be dragable around the screen like a map.
i'm very new to actionscript so please be descriptive.
R – how to drag and zoom big movieclips on flash? (like googlemaps – withouth the +- buttons)
dragflashzooming
Best Answer
Option 1: Your easiest option would be to use the ScrollPane control in Flash.
You could get away with no code at all initially.
Have a look at the documetation and examples.
Option 2: Use a mask:
bigMovieClip
MOUSE_DOWN
andMOUSE_UP
to setup draggingactioncript 3 required:
Option 3: Use the scrollRect property of MovieClip
If your clip is 1000x1000 for example, and you want your visible area to be 500x500 starting from 0,0 all you need to do is
then when you need to scroll, you store the rectangle, modify the
x
ory
depending on your needs and update the scrollRectGood luck