4 Replies Latest reply on May 22, 2007 7:43 PM by BuffDogg

    Embedding Images in a Document Class

    BuffDogg Level 1
      I cannot figure out why this error keeps getting thrown. I've tried everything I've known and I'm sure it's a simple solution. I've created a class that has embedded assets and I keep getting the following error at runtime.

      TypeError: Error #1007: Instantiation attempted on a non-constructor.
      at test$iinit()

      My fla file is an empty file with test.as as it's Document class and has the 2 images I'm trying to embed in the library with the classes on them identical to whats in the as file.

      The test.as file looks like this.