I am pretty good with actionscript. But, this is getting me.
ok, when I trace a certain variable:
trace(numButtons) Display: 12 (which is getting it’s value from a node in an xml document)
However, when I do:
trace(typeof numButtons) it gives me an Object.
How come I’m tracing a number but when I “typeof” it, I get an Object. The problem is, I can’t use this variable as a subsitute for my number and it’s messing up my functions.