-
inside Main movieclip Drag n Drop
Good day to all!
I have this Main Movieclip. Under myMainMoveClip is a drag and drop quiz. I dont know why I cant snap my movieclip to the other movieclip.
can anyone help me?
Here's my code...
I put this inside my bbLion_mc
//Code for Drag n Drop
on (press) {
startX = this._x;
startY = this._y;
startDrag(this,true);
//scale image to a smaller size
this._xscale = 41.3;
this._yscale = 38.9;
}
on (release, releaseOutside) {
stopDrag();
if (getProperty(this,_droptarget) eq "/matching_mc/boxLion_mc") {
trace("Lion sound");
} else {
trace("Baby crying");
}
}
out-of-the-box
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
|