assign code to buttons
Hi there,
I have another question
In action scripting 3.0 you can not use the 'get url' function.
so i found this code on the internet.
var myURL:String = "http://www.dnm.nl/index.html";
var myURLRequest:URLRequest = new URLRequest (myURL);
try
{
navigateToURL(myURLRequest, '_blank');
}
catch (error:Error)
{
trace ("Error when navigating to website: "+error);
}
but you can not assign code to a button, so i made 3 layers for 3 individual buttons
in frame 1 of thel layer i put the code in an keyframe.
but after testing the movie, the buttom does not work and it goes straight to the designated website
what is the best way to assign multiple buttons on a page to different webpages
so 3 buttons = 3 different webpages
which book do you reccommend
tia
Herman
