in AS 2
i have this game where you catch falling items with "basket_mc", and i wanted to activate a function that goes to url when 3 items have been catached.

main timeline
Code:
var score:Number = 0;

trace(score);
movieclip code
Code:
onClipEvent (mouseMove) 
{
	if (_root.apple_mc.hitTest(_root.basket_mc.hitMe)) 
	{
				_root.basket_mc.apple._visible = true;
				_root.score++;
				} 
}