egret-docs-master/Conversion/ASCodeTool/README.md

19 lines
612 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

“AS代码转换工具”可将as3件导出为egret项目ts代码。作为EgretConversion附属工具可以在as3件有更改时单独转换该as3件而不用转换整个项目。
**如何使用“AS代码转换工具”单独转换as3件**
点击工具栏的按钮“SWF转换工具”
![](56b1ac1e245c0.png)
打开AS代码转换面板
![](56b1ac1e2e299.png)
具体操作:
1. 直接把as3文件或文件夹拖到面板中
2. 转换后的代码会在C:\Users\xxxx\Desktop\astemp中
3. 可以直接把代码拷贝到egret项目中直接使用错误自己还是需要改的