input text help

2 posts

Flag Post

ok i have an two input text box’s and the variables are NO1 and NO2 in the frame i have a button and want to make it so that if NO1 is 1 and NO2 is 2 and you click it it will goto frame 2 how would i do that???

 
Flag Post

place this code in the frames actions, replase <button_name> w/ the button’s instance name


<button_name>.onRelease = function() {
if(this.parent.NO1 == 1 && this._parent.NO2 == 2) {
this.
parent.gotoAndStop(2)
}
}