Forum Moderators: open
i would like to get some information about output error.
the flash website is funtioning completely fine but when i click the buttons its giving me an error output with different numbers
stop();
_root.link=1;
this["item"+_root.link].gotoAndPlay("s1");
******************************
name1.gotoAndStop(num);
name2.gotoAndStop(num);
name3.gotoAndStop(num);
name4.gotoAndStop(num);
name5.gotoAndStop(num);
*********************************
AS inside the mc button:
(main button set: home, portfolio, services, contact ect
onClipEvent (load) {
num = 14;
}
on (rollOver) {
if (_root.link<>num) {
this.gotoAndPlay("s1");
_root.menu2["item"+num].gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>num) {
this.gotoAndPlay(_totalframes-_currentframe);
_root.menu2["item"+num].gotoAndPlay("s2");
}
}
on (release) {
if (_root.link<>num and _root.animation == 1) {
_root.animation = 0;
_root.link_prev = _root.link;
_parent["item"+_root.link].gotoAndPlay("s2");
_root.menu2["item"+_root.link].gotoAndPlay("s2");
_root.link = num;
_root.play();
_root.but.play();
}
}
*****************************************
AS inside the mc sub button :
(Sub buttons comes under the main buttons for example Home> home, about, ourpeople; Portfolio> my work, clients, etc
onClipEvent (load) {
num = 0;
num1 = 1;
}
on (rollOver) {
if (_root.link1<>num) {
this.gotoAndPlay("s1");
_root.menu2["item"+num].gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link1<>num) {
this.gotoAndPlay(_totalframes-_currentframe);
_root.menu2["item"+num].gotoAndPlay("s2");
}
}
on (release) {
if (_root.link1<>num and _root.animation == 1) {
_root.animation = 0;
_root.link1_prev = _root.link1;
_parent["item"+_root.link1].gotoAndPlay("s2");
_root.menu2["item"+_root.link1].gotoAndPlay("s2");
_root.link1 = num;
_root.play();
}
}
thats the codes i am using and the buttons are in movielip
and one more thing i uploaded the site to the server and it dosent load is it becoz of the output errors? could u please explain this to me as well.
Hope to hear from you
thnx in advance.