7 Replies Latest reply on Jul 31, 2009 7:49 AM by huray

    Errors after test movie

    huray Level 1

      I have 2 errors after test movie from a mx 2004 file with Flash Pro 8.

       

      Errors : as follows :

       

      "Error" :Symbol=PuzzlePiece, layer=Layer 1; frame=1, Line 1: The class or interface 'PuzzlePiece' could not be loaded.

      "Error": Symbol=DropZone,layer=Layer 1:The class or interface 'DropZone' could not be loaded.

       

      What cause the errors ?

        • 1. Re: Errors after test movie
          Ned Murphy Adobe Community Professional & MVP

          Most likely the two classes indicated cannor be found.

          • 2. Re: Errors after test movie
            huray Level 1

            The two class should be in MX 2004 file because it can be exported through Flash MX2004, how to shift the class from Mx2004 to Pro 8 ?

            • 3. Re: Errors after test movie
              huray Level 1

              Now I find out that the errors are caused by the action script files. The MX2004 file seems associates with 3 action script files. Is it possible to shift the script from the script file into .fla or it must work with extension to the script files

              • 4. Re: Errors after test movie
                Ned Murphy Adobe Community Professional & MVP

                You will most likely find two files somewhere... PuzzlePiece.as  and  DropZone.as

                 

                These file would need to be either in the same folder as the fla file or in the class path you have set up for Flash.  The contents of these files could be incorporated into the fla instead of being separate files, though it may be a challenge for you to incorporate them... primarily due to the formating that is often followed in class files.

                • 5. Re: Errors after test movie
                  huray Level 1

                  There are 3 .as files  working together with fla. But one thing I don't understand is that under what situation it needs to have a few files working together ?

                  • 6. Re: Errors after test movie
                    Ned Murphy Adobe Community Professional & MVP

                    How many files are needed depends on the designer's approach to a solution.  ".as" files are either class files or actionscript code files and are often used to make code portable, reusable.  For instance, you have two file that appear to be involved with dragging and dropping objects relative to targets.  If they were written in a practical manner, then they were written such that they could easily be utilized by another fla that has a drag and drop target functionality.  It's possible they are not written generically and wouldn't be portable, meaning that creating them as separate class files wasn't really of much value.

                     

                    And some class files use other class files, so while the fla may only import one class file, that class file may import another, and that imported file may import another, and so on.

                    • 7. Re: Errors after test movie
                      huray Level 1

                      Thanks for your explanation.