drag and drop of swc components
We need a capability by which we can drag and drop swc components in our Flex Application.
开发者_如何学JAVAAny ideas would help.
Thanks
SWC is ZIP archive. You can unpack it with any ZIP library, inside you'll find catalog.xml, where library classes are listed (script.@name), and library.swf. You can load it with Loader.loadBytes after extraction in your ApplicationDomain. Knowing class names, you can get classes with getDefinitionByName.
Just curious - what your application is going to do with unknown classes in runtime?
精彩评论