|
-
 Originally Posted by Nig 13
Tried a lot of approaches, both complicated and simple ones, but the answer was so straight-forward when I finally achieved it, that I felt kinda dumb for not thinking of it earlier
Just swap your code with this on your map movieclip:
Actionscript Code:
on(press){ startDrag(this, false, 0, 0, Stage.width-this._width, Stage.height-this._height); }
on(release, releaseOutside){ stopDrag(); }
Hope this works 
I was interested in doing something similar to this, although I had a question about the code. What is the "0, 0" for? Is that the coordinates it starts off at?
Just wondering
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|