rkrasky
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by rkrasky
-
-
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...
SWFLoader CustomClasses and Document Class
in Loading (Flash)
Posted
No I'm not using my own LoaderContext. All swf files are in the same directory on the same domain.
This article describes the problem - not mine problem but I think it's quite the same.
The guy wrote his own Loader class:
http://blog.aleksandarandreev.com/?p=42