PDA

View Full Version : Simple dragOver


SnowCarve
09-13-2001, 04:34 AM
Here's what I have so far:

on (dragOver) {
gotoAndPlay (_root.BGbutton.test);
}


'BGbutton' is a button symbol, and contained in it is 'test' --the name of the instance of my movie clip symbol called 'linkbg'. What I'm trying to do it make it so the movie clip plays when you drag the mouse over it. If I could get some help that would be great. Thanks

Jesse
09-13-2001, 04:41 AM
Well there you go, you taught me something I didn't already know :) DragOver -- never seen it before. Regardless, the problem is that you can't reference buttons using an instance name. See the instance names tutorial. You would have to make the MC that you play a separate MC (outside of the button) or put the button and the target MC inside another host MC.