View Full Version : How to make mouse move to certain area, button will go to press frame
alvamak
09-15-2002, 02:15 PM
I would like to move mouse within a range, the button will go to press frame, can I do it? I have tried in the attached flash file, but unsuccess, would you mind to help me? I am just the beginner. Thanks!!
Alva
Billy T
09-15-2002, 03:53 PM
nah not with a button but you could with an mc
make an mc with frame labels up, over, down etc - give the mc an INSTANCE name of mc1
on the frame in the main timeline put
_root.onEnterFrame=function(){
if(_root._xmouse>50&&_root._xmouse<100){
mc1.gotoAndPlay("over");
}
}
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.