You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Load in an external swf containing a class you wish to use. Wait for
Event.Complete.
2. Call Type.forName() with the name of a class contained in the external swf.
3. Class will not be found
4. WORKAROUND: on the loader, load with the LoaderContext.applicationDomain
property set to ApplicationDomain.currentDomain (merging class definitions).
5. Type.forName() returns the correct result.
What is the expected output? What do you see instead?
Throws and error, class not found
What version of the product are you using? On what operating system?
Latest from source
Please provide any additional information below.
Provide optional parameter to Type.for... methods of
(applicationDomain:ApplicationDomain = null) to allow accessing external
libraries.
Original issue reported on code.google.com by carrymass on 10 Aug 2009 at 3:19
The text was updated successfully, but these errors were encountered:
If you use ClassUtils.forInstance() or ClassUtils.forName() in the Lang lib you
can
pass an optional applicationDomain to the methods, the resulting Class object
can
then be used with out problems by the Type.forClass() method.
Original comment by ihatelivelyids on 1 Sep 2009 at 4:03
Original issue reported on code.google.com by
carrymass
on 10 Aug 2009 at 3:19The text was updated successfully, but these errors were encountered: