-
1. Re: ErMsg[findIndexF(i)]._alpha= 100;
kglad Sep 27, 2013 7:57 AM (in response to Ron Colmen)findIndexF is expecting a textfield and you're passing a number. that's not going to work.
-
2. Re: ErMsg[findIndexF(i)]._alpha= 100;
Ron Colmen Sep 27, 2013 8:17 AM (in response to kglad)How should I approach in getting this fixed? is there a way to relate theTFa[i] to chkEk[i] ?
-
3. Re: ErMsg[findIndexF(i)]._alpha= 100;
kglad Sep 27, 2013 9:14 AM (in response to Ron Colmen)findIndexF(ErMsg[i]) makes more sense but in the context of your code it looks like you might want to use:
ErMsg[i]._alpha=100;
-
4. Re: ErMsg[findIndexF(i)]._alpha= 100;
Ron Colmen Sep 27, 2013 10:24 AM (in response to kglad)Thanks kglad. I tried both;
findIndexF(ErMsg[i]) - did not work'.
ErMsg[i] - turned everything (ErMsg) to 100 alpha.
-
5. Re: ErMsg[findIndexF(i)]._alpha= 100;
kglad Sep 27, 2013 11:41 AM (in response to Ron Colmen)what do chkE0 and chkE1 look like?
-
6. Re: ErMsg[findIndexF(i)]._alpha= 100;
Ron Colmen Sep 27, 2013 1:31 PM (in response to kglad)variables. I'm using those variables to make sure there's some text in theTFa at the time its being pressed.
-
7. Re: ErMsg[findIndexF(i)]._alpha= 100;
kglad Sep 27, 2013 4:21 PM (in response to Ron Colmen)i know they're variables. what are their values?
-
8. Re: ErMsg[findIndexF(i)]._alpha= 100;
Ron Colmen Sep 28, 2013 1:15 AM (in response to kglad)infoDats0 text field contains the users name and infoDats1 contains postcode. I'm basically trying to avoid those 2 text fields being empty when goUP_btn is pressed.
-
9. Re: ErMsg[findIndexF(i)]._alpha= 100;
kglad Sep 28, 2013 5:43 AM (in response to Ron Colmen)click your button and opy and paste the trace output using
goUp_btn.onRelease = function() {
var chkE0 = infoDats0.text.split(' ').join('');
var chkE1 = infoDats1.text.split(' ').join('');
trace(chkE0+" : "+chkE1);
trace(chkEk);
for(i=0; i<theTFa.length; i++){
if (chkE0.length>1 && chkE1.length>1){
//doSome
} else {
if (chkEk[i].length<=1){
ErMsg[findIndexF(i)]._alpha= 100; //not working
}
}
}
};
-
10. Re: ErMsg[findIndexF(i)]._alpha= 100;
Ron Colmen Sep 28, 2013 9:37 AM (in response to kglad)thank YOU kglad.
chkEk was undefined. Got it fixed!
-
11. Re: ErMsg[findIndexF(i)]._alpha= 100;
kglad Sep 28, 2013 10:07 AM (in response to Ron Colmen)you're welcome.



