PDA

View Full Version : drag and drop targets



m.c.bell
August 4th, 2003, 03:37 PM
here is the code i have,

on (press) {
startDrag (this, true);
}
on (release) {
stopDrag ();
if (this._droptarget == "/box") {
_root.box.gotoAndStop(5);
}
}

what i want is instead of it going and stopping on frame 5 of the movie clip i want it to goto and stop on frame 5 of the actual movie, how do i do this,

Thanks,

Mike

m.c.bell
August 4th, 2003, 04:31 PM
comon guys i need this help to finish my project

pissant
August 4th, 2003, 06:14 PM
If you mean what I think you mean, then you just need

_root.gotoAndStop(5)

ie. get rid of the "box" bit so you send it to the main timeline. If you don't mean that, then I dunno...

m.c.bell
August 4th, 2003, 06:40 PM
thanks dude it worked ! I thought it mite be somthing simple,

Mike

xcute
October 10th, 2003, 12:06 PM
lols i had the same problem...and i just solveed it...thanks!