noel_gallagher_85
Joined: 29 Nov 2006 Posts: 1
|
Posted: Wed Nov 29, 2006 2:52 pm Post subject: Drag And Drop |
|
|
--------------------------------------------------------------------------------
Hi everyone,
I'm having some problems dragging and dropping a button entitled Flavour on a movie clip entitled main bubble. The button will drag and drop but when i drop it on 'mainbubble' i want the movie to move to a different frame.
This is the current code i have on the button:
on (press) {
startDrag ("Flavour");
}
on (release) {
stopDrag ();
if (_root.mainbubble.hitTest( _x+x, _y+y, true )) {
gotoAndStop (97);
}
}
Help would be greatly appreciated, cheers |
|