Convert AS3 to FLA for generating SWF

本小妞迷上赌 提交于 2019-12-13 09:13:31

问题


I Need to manipulate the compiled SWF and recompile it back to SWF and deploy. I have tried 3 options but no luck on all the options :

1) Converting swf to fla to AS3, I was able to edit the AS3 file, then I am not able to move forward to create the new FLA & new SWF file.

2) Converting swf to flex project and importing to flex builder, then while publishing it says that I did not main MXML file to get new SWF.

3) Currently I had tried converting AS3 to FLA, but no luck.

If you have any known options to convert AS3 to FLA sucessfully please let me know, I will be monitoring the thread!..

UPDATE 1 ) : I had tried converting SWF to FLA from SWF decomplier , it was successful , but the problem was how do i edit it and convert it back new SWF again. My Aim , was to add few strings or names, After decompiling it , i got both FLA , bunch of AS3 files , after editing my AS3 files and i am not able to convert All bunch of AS3 files together to make a new SWF or new FLA ... Please respond Thanks for other replies!...

Update 2: Thanks for your previous replies guys , i think i cannot find the correct library that was from the previous import errors , do u know how , were can i find it. IS Embedding asset types help me to solve this kind of errors. please look at this thread let me know "Error #1014: Class mx.core::BitmapAsset could not be found" while trying to use Runtime Shared Library , If any body knows this please reply , It will be a great help..


回答1:


  1. Open the FLA in an appropriate editor (usually Flash Professional, or other IDEs such as Flash Builder, Flex, etc...)
  2. Compile (controlenter for Flash Professional)

To clarify:

  • .swf is a compiled Flash program (with embedded code, text, and assets).
  • .fla is a project file that holds the references to everything you want to compile.
  • .as file is the code used in the program.
  • .mxml file is an XML document that contains markup for layout and chunks of code. Usually present with a Flex based project.

A word of warning: a decompiler will not always be successful in reconstructing the project. It is entirely possible that the files you get out of it cannot be recompiled apart from some esoteric settings that the original developer had present.



来源:https://stackoverflow.com/questions/45279238/convert-as3-to-fla-for-generating-swf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!