Sunchild
04-05-2005, 06:26 AM
i have made aan animation i wanted to give the whole animation a
hyperlink so i made the movie clip of the animation n than gave applied the following script to it
movieClipInstanceName.onPress = function ()
{
getURL("http://www.domain.com/somePage.html", "_blank");
}
so now flash gives an error .........
Statement must appear within on/onClipEvent handler
wat is the problem here
i cudnt find out as im too new this action script :(
hyperlink so i made the movie clip of the animation n than gave applied the following script to it
movieClipInstanceName.onPress = function ()
{
getURL("http://www.domain.com/somePage.html", "_blank");
}
so now flash gives an error .........
Statement must appear within on/onClipEvent handler
wat is the problem here
i cudnt find out as im too new this action script :(