Could i use hittest and geturl together in a mc?
I'm trying this code:
onClipEvent (enterFrame) {
if (_root.mc1.hitTest(_root.mc2)) {
getURL(index.htm);
}
}
But it doesn't work.
Another way I tried is to put the code in the main frame in the main timeline:
if (_root.player.hitTest(_root.m)) {
getURL(index.htm);
}
But nothing appends!
Help please
I'm trying this code:
onClipEvent (enterFrame) {
if (_root.mc1.hitTest(_root.mc2)) {
getURL(index.htm);
}
}
But it doesn't work.
Another way I tried is to put the code in the main frame in the main timeline:
if (_root.player.hitTest(_root.m)) {
getURL(index.htm);
}
But nothing appends!
Help please