0 Replies Latest reply on Jun 1, 2006 1:12 PM by Newsgroup_User


    Level 7
      I'm having issues and when trying to import classes (at least this one, but
      I suspect that this has been the culprit of several other issues)

      On a file that I had previously created, no matter what I try, I cannot
      successfully call DepthManager.(property or method) after importing the
      class. I get back undefined.

      If I trace out the complete path mx.managers.DepthManager.(property or
      method), I get back what I expect.

      Here's a copy-and-paste from my code:

      _global.CURRENT_PAGE_TL = this;

      // DOES work without the import, of course
      CURRENT_PAGE_TL.attachMovie("EmptyAnswer","feedback_mc",mx.managers.DepthManager.kTop,{_x: 25,

      //DOESN'T work
      import mx.managers.DepthManager;

      //neither does this
      import mx.managers.*;


      Funny thing is that I can create a completely new file and copy-and-paste
      the code from this page and it works:
      http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context= LiveDocs_Parts&file=00003457.html

      I'm publishing as Flash 8.

      Very confused. Any help is appreciated.

      - Chris