How do i use the on(dragover), becuase i am making a simple randomness game,(to start off) because i have something that you can drag, and i want to make it if you drag the thing over it it takes you to a new keyframe.
Here is the movie clip i want to be drug on: (nothing happens)
Code:
on(dragOver) {
gotoAndStop(3)
}
Heres the code that you can drag the item(works)
Code:
on(press) {
startDrag(this)
}
on(release) {
stopDrag()
}
Also, i got music playing, and it only plays once, if i change
Code:
Play.onRelease = function() {
mix1.play();
}
To
Code:
Play.onRelease = function() {
mix1.loop();
}
will it loop?