4 Replies Latest reply on Aug 31, 2006 2:06 AM by budiwi

    AS2 Class Troubleshoot

    budiwi
      I received a flash file that uses 'import' and 'include' statements for a number of external class files. The author has given me the published file and it was OK. However, when I tried publishing the FLA file from my system (I am using Flash 8 on a mac and the author uses its windows version), it didn't publish properly. What should be the first things I should look out for?
        • 1. Re: AS2 Class Troubleshoot
          Level 7
          When you say that it didn't publish properly, what do you mean? Was there
          an error?


          --

          Dan Mode
          ->Adobe Community Expert
          *Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
          *THE online Radio* http://www.tornadostream.com
          *Must Read* http://www.smithmediafusion.com/blog

          "budiwi" <webforumsuser@macromedia.com> wrote in message
          news:ed5qds$mh2$1@forums.macromedia.com...
          >I received a flash file that uses 'import' and 'include' statements for a
          > number of external class files. The author has given me the published file
          > and
          > it was OK. However, when I tried publishing the FLA file from my system (I
          > am
          > using Flash 8 on a mac and the author uses its windows version), it didn't
          > publish properly. What should be the first things I should look out for?
          >


          • 2. Re: AS2 Class Troubleshoot
            Level 7
            Did the author also provide all the external class files? Make sure the
            folder structure these files are contained in is the same as when they were
            created. Make sure your Class path (Publish settings>>Flash>>Settings)
            points to the class files.

            --
            -------------------------------
            Remove '_spamkiller_' to mail
            -------------------------------


            • 3. Re: AS2 Class Troubleshoot
              budiwi Level 1
              There is no error message at all. The class files run respective 'attachMovie' functions to attach visual assets to themselves when initialized. However, I can't see these visual assets on stage despite seeing the classes in the main swf (using the debug option). I noticed that the main file uses 'include' to import a tween class and that the visual assets use a method from this tween class to appear. How do I know whether the tween class has been properly brought in?
              • 4. Re: AS2 Class Troubleshoot
                budiwi Level 1
                Sorry. I had meant the class files create empty MCs and attach visual assets (mcs from the main file library) when initialized. I can see the empty mcs (using the debug) but I can't see the visual assets. I checked the 'Linkage' option and the namings are correct.