0 Replies Latest reply on May 13, 2011 11:38 AM by im_just_here

    SWCs conflicting?

    im_just_here

      This is driving me nuts... Here goes. I hope this makes sense.

       

      I have two swc's I'm using in my flash project. Both contain a class Doorway. One of the two will always crash with error - TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@5841299 to Doorway. Which one crashes depends on which was rendered last. Whichever was rendered last will work. The other will crash. There aren't any changes made to the FLA it just needs rerendered to make that one work.

       

      If I combine both SWCs into one SWC it works like it should. Can someone explain to me why this happens? I have classes called Platform and Wall that appear in multiple SWCs and it doesn't cause any problems.