NoahVZ
01-18-2011, 12:37 AM
Hello & thanks for reading this.
I currently have a flash banner with three simple buttons. Each button is suppose to direct to a different page however the only page that any of them link to is the first web page in my action script. Any ideas?
stop ()
trekbtn.addEventListener(MouseEvent.CLICK, goWhere)
function goWhere (evt) {
navigateToURL(new URLRequest("page#1"), "_self");
}
specbtn.addEventListener(MouseEvent.CLICK, goWhere)
function goWhere1 (evt) {
navigateToURL(new URLRequest("page#2"), "_self");
}
giantbtn.addEventListener(MouseEvent.CLICK, goWhere)
function goWhere2 (evt) {
navigateToURL(new URLRequest("page#3"), "_self");
}
Thanks!
I currently have a flash banner with three simple buttons. Each button is suppose to direct to a different page however the only page that any of them link to is the first web page in my action script. Any ideas?
stop ()
trekbtn.addEventListener(MouseEvent.CLICK, goWhere)
function goWhere (evt) {
navigateToURL(new URLRequest("page#1"), "_self");
}
specbtn.addEventListener(MouseEvent.CLICK, goWhere)
function goWhere1 (evt) {
navigateToURL(new URLRequest("page#2"), "_self");
}
giantbtn.addEventListener(MouseEvent.CLICK, goWhere)
function goWhere2 (evt) {
navigateToURL(new URLRequest("page#3"), "_self");
}
Thanks!