开发者

drag and drop of swc components

开发者 https://www.devze.com 2023-03-01 10:00 出处:网络
We need a capability by which we can drag and drop swc components in our Flex Application. 开发者_如何学JAVA

We need a capability by which we can drag and drop swc components in our Flex Application.

开发者_如何学JAVA

Any 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消