Jump to content
Search Community

rkrasky

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by rkrasky

  1. Hi!

     

    First, thanks a lot for the great work of LoaderMax and Tween classes.

    I got a serious problem, tried everything to solve but I got no solution:

     

    Movie A load Movie B

    Movie A is a Sprite extended with class named CustomClassName

    Movie B is extended with a document class named CustomDocumentClass

     

    If I trace mySwfLoader.rawContent I get [object CustomDocumentClass] -> correct

    If I trace mySwfLoader.rawContent as CustomDocumentClass I get null -> wtf?

     

    I can add the loaded swf to stage with addChild(mySwfLoader.rawContent), but then if

    I try to access the parent CustomClass:

     

    If I trace parent I get [object CustomClassName] -> correct

    If I trace parent as CustomClassName I get this error message:

    TypeError: Error #1034: Type Coercion failed: cannot convert CustomClassName@2ab4ff89 to CustomClassName

     

    Please help...

×
×
  • Create New...