Button code - please help :(
Hi everyone.
is this code correct?
Code:
onClipEvent (load) {
num = 3;
}
on (rollOver) {
if (_root.link<>num) {
this.gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>num) {
this.gotoAndPlay("s2");
}
}
on (release) {
if (_root.link<>num) {
_parent["but"+_root.link].gotoAndPlay("s2");
_root.link = num;
getURL("http://www.siborg.com/nina/public_html/core_practice.html","_self");
}
}
Also, I was given these button template. But now its acting all wonk once the site leaves the root directory.
Only my navigation is in Flash, my site is in HTML.
http://www.siborg.com/nina/public_html/
I'm workin in CS3 though, how can I solve this problem ?
Please help.
Thanks!
Nina