problemboy
IS-IT--Management
Hi every body.
My problem is:
i have 2 movie clip in the root folder.And connected to a button.when i press the button first movie clip have to be a little dark, at the same time second movie have to play too.The first movie clip have 3 keyframe.1 to 116. it plays looping animation.and the last frame(116) there is an action script (gotoAndPlay(1).so the movie isnt completed yet.When i press the button it has to play 2 to 3.(has to be little dark then stop)to maintain this action i set up this action scripts.
Key frame 1 ....tufan = lighted
Key frame 116 ....gotoAndPlay(1);
Key frame 117 .... tufan = darkned;
BUTTON SCRIPT;
on (rollOver) {
this.play();
}
on (press) {
if (_root.about) {
about = ok;
_root.about.gotoAndStop("1");
}
if (_root.help) {
help = ok;
_root.help.gotoAndStop("1");
}
if (_root.ana_mov.tufan="lighted"){
_root.ana_mov.gotoAndPlay("start");
} else {
_root.ana_mov.stop();
}
}
on (press) {
_root.contact.gotoAndPlay("2");
}
The problem is bold scripts are not working.it only playing the 117 to 130.And every press it's playing 117 to 130 again.I dont want it.I want it to stop.After one time pressing.
?f you can help me, i will be glad.
Thank you
My problem is:
i have 2 movie clip in the root folder.And connected to a button.when i press the button first movie clip have to be a little dark, at the same time second movie have to play too.The first movie clip have 3 keyframe.1 to 116. it plays looping animation.and the last frame(116) there is an action script (gotoAndPlay(1).so the movie isnt completed yet.When i press the button it has to play 2 to 3.(has to be little dark then stop)to maintain this action i set up this action scripts.
Key frame 1 ....tufan = lighted
Key frame 116 ....gotoAndPlay(1);
Key frame 117 .... tufan = darkned;
BUTTON SCRIPT;
on (rollOver) {
this.play();
}
on (press) {
if (_root.about) {
about = ok;
_root.about.gotoAndStop("1");
}
if (_root.help) {
help = ok;
_root.help.gotoAndStop("1");
}
if (_root.ana_mov.tufan="lighted"){
_root.ana_mov.gotoAndPlay("start");
} else {
_root.ana_mov.stop();
}
}
on (press) {
_root.contact.gotoAndPlay("2");
}
The problem is bold scripts are not working.it only playing the 117 to 130.And every press it's playing 117 to 130 again.I dont want it.I want it to stop.After one time pressing.
?f you can help me, i will be glad.
Thank you