3 Replies Latest reply on May 19, 2011 6:32 AM by kglad

    Object Type

    Neat Gadget
      In Actionscript 3 you can use flash.utils.getQualifiedClassName to determine the object type. Is there a way in Actionscript 2 to determine the object type?

       

      I want to loop through a movie clip and process the contents of only objects that are textinput or comboboxes.

       


      Code:
           for (var i in _root.form) {
                trace(_root.form[i]);
           }
      This code will loop through a movieclip called form and show the instance name of the object. However sometimes new objects seem to be introduced such as when you tab through it. I want to only deal with the textinput and combobox objects.