3 Replies Latest reply on Mar 28, 2007 12:11 PM by kglad

    dataType and trace

    yarkehsiow Level 1
      i have some movieclips in another mc on the stage which when clicked:

      nav["nav"+i].onPress = function() {
      returns // _level0.nav.nav9

      i have made a variable:
      var sChosen:String=this;
      which i want to take a substr() of...

      MY PROBLEM: when I do typeOf(sChosen) the answer is:

      MY QUESTION: can i use the trace statement ( _level0.nav.nav9) as a string for my variable?

      thank you.