pass mouse coordinates
pass mouse coordinates
Out of context: Reply #3
- Started
- Last post
- 6 Responses
- UndoUndo0
place a button over yr image called myButton on the root timeline. make a new layer and call it actions. in the first frame place this code.
_root.myButton.onPress = Function(){
curMouseX = _xmouse;
curMouseY = _ymouse
getURL("http://www.yourdomain.co... ,"_blank")
}
in your html page the variables mousex and mousey will be available for use:)