4 Replies Latest reply on Aug 15, 2007 11:45 PM by kglad

    import with wildcard in AS3

    richtextformat Level 1
      hey everyone! :)

      moving tentatively across to AS3 from AS2 today. with the import statement in AS2 you could use the wildcard ( * ) and you could be sure that the compiler would only include the classes you actually needed. is this still the case with AS3? if used this code:

      import flash.display.*;

      so as to have access to the Sprite class and ONLY the Sprite class, would it only include just the Sprite class or would it include the whole shebang?