开发者

How to use .jar file in as3 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Do we use .jar file in our Flash AS3 project? I need to import .jar file in my proje开发者_如何学Pythonct?

Thanks


Simple question, simple answers:

1.

Do we use .jar file in our Flash AS3 project?

Please ask your boss or your collegue whether you are using .jar files or not.

2.

I need to import .jar file in my project?

If you are using jar files in your project, you probably will need to import them.


JAR files are typically compiled Java code, which can be opened by the Java Virtual Machine. Java is owned and updated by Sun Microsystems.

SWF files are compiled ActionScript code, which can by opened by the ActionScript Virtual Machine. ActionScript (used by Flash) is owned and updated by Adobe.

The two are similar, but created by different companies, and aren't really able to interact in any way.


Since Java's JAR files are stored as ZIP files, you can actually open them in AS3 (using any of the many AS3 ZIP libraries out there) and extract out each individual class file or asset.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜