This is a really simple question, but I can't get my code to work and I am wondering if this is why. Is it possible to have "if" statements within an onClipEvent(load)?
Printable View
This is a really simple question, but I can't get my code to work and I am wondering if this is why. Is it possible to have "if" statements within an onClipEvent(load)?
if you want to check a variable within that object or MC but generated it dynamicly, did you used this.myVariable for variable names?
When a movieclip loads, I want it to get a variable and then display it in a dynamic text box, but it needs to check to see if the variable is a certain number and if it is, then it shouldn't display the number but instead should display an arrow.
Another question, I'm using chr(Key.getCode()), but it gives me "a" "b" "c" and "e" for the number pads 1, 2, 3 , 5 respectively. Is there any way for "chr" to return the numbers 1, 2, 3, and 5?