Loading external classes using ApplicationDomain
This is the standard example for importing external classes
* from an ApplicationDomain class, but it won't work in wonderfl.
*
* Is there a way to make this work, or is it just impossible to do?
*
- forked:1
- favorite:0
- lines:77
- license : MIT License
- modified : 2009-12-05 06:56:05
don't know why this doesn't work, but there's a working example here:
http://wonderfl.net/code/4fb6110ff1598cb7a1b31fea1c024eea480cff66
- by
mash
- at 2009/12/05 22:43:41
For what it's worth, if you are using the debugger player when you run your sample you get:
Error: Bounce definition not found in http://samplerinfo.com/wonderfl/Bounce.swf
at ClassLoader/getClass()
..so are you very sure it works outside of wonderfl.net?
- by
AdobeCorey
- at 2010/01/11 23:39:22
hi,
Adobe's sample is very simple and it doesn't work for your purpose.
set securityDomain property to SecurityDomain.currentDomain
view source and comments for more detail...
http://wonderfl.net/code/d367cc4c834c3a597d478f52598f006b9072705a/
- by
9re
- at 2010/01/15 18:52:06


