|
-
anyone know how to create a dargable image but constrain how far it can be dragged. it is probably easy but i cannot find any tutorials anywhere.
thanks
-
curmudgeon
to drag it only sideways put this script on a button in an mc:
Code:
on (press) {
startDrag (this, false, -200, this._y, 200, this._y);
}
on (release) {
stopDrag ();
}
the -200 and 200 dictate how far sideways you can drag it
-
many thanks swampy
ever driven in naples?
i had a taxi ride from one side to the other and the taxi driver was nuts!
-
curmudgeon
No worries. Yes I used to srive in Naples every summer when I visited my parents.
rules are:
1.don't worry about anyone behind you, they will take care of themselves.
2. only stop at traffic lights where people are selling things.
3.don't stop anywhere after dark
-
ha ha
our guy said never look scooter drivers in the eye, always pretend you haven't seen them otherwise they will not swerve out of the way. and the traffic police go home at 8pm and leave eveyone to it! fantastic. back to the dragging sideways thing - i'm going to try it tomorrow, been a bit busy so far but i really appreciate your help, it is the exact effect that i was looking for
ta
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
|