vegasbp
12-17-2006, 08:17 PM
Ok so I have a basic menu set up with a dynamic text field, so it is easy to change, and I would like to make it into a link to a page in a browser, the only thing i can get to work is getURL(); once the window opens, instead of clicking on the button
here is the script
let me know if you need to see more
b1.onRollOver = over;
b1.onRollOut = out;
b1.buttText.buttonText.text = "Home Page";
b1.buttText.getURL("http://www.yahoo.com");
b2.onRollOver = over;
b2.onRollOut = out;
b2.buttText.buttonText.text = "Pictures";
b3.onRollOver = over;
b3.onRollOut = out;
b3.buttText.buttonText.text = "More Info";
b4.onRollOver = over;
b4.onRollOut = out;
b4.buttText.buttonText.text = "Contact Us";
function over() {
this.gotoAndPlay(2);
}
function out() {
this.gotoAndPlay(7);
}
here is the script
let me know if you need to see more
b1.onRollOver = over;
b1.onRollOut = out;
b1.buttText.buttonText.text = "Home Page";
b1.buttText.getURL("http://www.yahoo.com");
b2.onRollOver = over;
b2.onRollOut = out;
b2.buttText.buttonText.text = "Pictures";
b3.onRollOver = over;
b3.onRollOut = out;
b3.buttText.buttonText.text = "More Info";
b4.onRollOver = over;
b4.onRollOut = out;
b4.buttText.buttonText.text = "Contact Us";
function over() {
this.gotoAndPlay(2);
}
function out() {
this.gotoAndPlay(7);
}