Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ActionScript Wont Convert to SWF?

New Here ,
Dec 02, 2016 Dec 02, 2016

I am trying to convert an ActionScript file decompiled as a SWF back to a SWF file after editing the script/source.

I have previously edited an ActionScript file that was a SWF file, and when I went to compile it back into a SWF file, it worked fine but this one isn't.

For this case, when I check the compiled SWF, it just has this in the source:

// Action script...

// [Action in Frame 1]

In the Actions window in Flash Professional CS6, it has:

#include "fla6ADE.as" .

Is there another way to compile the ActionScript source back to a SWF file? I tried exporting it as a movie like the other ones I have done it to, and they worked fine.

TOPICS
ActionScript
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 02, 2016 Dec 02, 2016

you decompiled a swf to create a fla.  you used that fla to publish a swf and you're having a problem.

is that correct?

if so, what's the problem?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 02, 2016 Dec 02, 2016

When I go to compile the fla source back to a SWF, all the SWF output says is

// Action script...

// [Action in Frame 1]

instead of the ActionScript/FLA source.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2016 Dec 03, 2016

you mean the that's what you see in the decompiled fla.

if so, that's a decompiler issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2016 Dec 03, 2016

Na, the compiled FLA is the one that says

// Action script...

// [Action in Frame 1]

Decompiling it worked fine, it is just when compiling it back to a SWF.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2016 Dec 03, 2016

a compiled fla is a swf and you're probably not looking at the code in the swf.

you have a decompiler problem.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2016 Dec 03, 2016

Do you think it is only for this SWF?

I successfully did the same thing to other SWF files, and they work fine as a SWF file again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 03, 2016 Dec 03, 2016

i've never found any decompiler that worked on all swfs.  sothink's is the best but there can still be problems with some swfs.

i'd check for that .as file and see if your decompiler created it.  if so, copy its code into the place where the include code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 03, 2016 Dec 03, 2016

Yeah, I am using Sothink's and it worked fine but for this script it doesn't. I opened the AS file and it has the source, but when I compile it to a SWF again after changing the decompiled code, there is barely anything in it except that one message above.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 04, 2020 Dec 04, 2020
LATEST

Any luck with it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines