PDA

View Full Version : type question


WhidbeyTomas
08-07-2009, 05:43 PM
How can I trace to find type? I tried
trace("What is the m_preLoad type? " + m_preLoad.type);

So I know that is wrong, but I can't see what is right. Yes I did a search, but being in a hurry, I might not see what is in front of my face. I also checked Moock, but he very helpfully talks about how the compiler checks for type, but not how I can check to see if a number is changed to a string.

If there is a way to trace type, can someone clue me it?

maskedMan
08-07-2009, 05:50 PM
getQualifiedClassName(foo);

WhidbeyTomas
08-07-2009, 06:31 PM
I must be misunderstanding your guidance. I tried:
trace("What is the m_preLoad type? " + getQualifiedClassName(m_preLoad));

Returned:
[QUOTE]1180: Call to a possibly undefined method getQualifiedClassName.

senocular
08-07-2009, 07:58 PM
import flash.utils.getQualifiedClassName;