Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

it's not doing it's jop

Status
Not open for further replies.

problemboy

IS-IT--Management
Jan 10, 2005
8
0
0
TR
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
 
hey kennethhawamoto

thanks very much.it works now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top