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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

if statement help

Status
Not open for further replies.

wikfx

IS-IT--Management
Dec 16, 2001
196
MT
I am trying to make a little mc convert from celcius to fahrinheit I got the part where it makes the conversion but now I want it to do something else too I put a little thermometer on the side of the text fields and I have 4 frames on my mc each frame showing a different level of mercury for the thermometer so if the tempreture is say above 100 .F I want to show the thermomter on the 4th frame but I cant get it done here is the link to my source file I am using this if statement:

if (Number(fht_txt.text)<=90) {
gotoAndPlay(2);
} else if (Number(fht_txt.text)>=101) {
gotoAndPlay(4);
} else {
gotoAndPlay(3);
}

Thank You :) WiKfx
 
have you tried adding _root. before the gotoAndPlay statements ???
 

Regards,

cubalibre2.gif
 
hey its cool I got it I set the thermometer to export for actionscript and it works now thanks alot guy c-ya

WiKfx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top