Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
336 views
in Technique[技术] by (71.8m points)

actionscript 3 - Convert AS3 to FLA for generating SWF

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..

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
  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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...