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

ActionScript Wont Convert to SWF?

New Here ,
Dec 02, 2016 Dec 02, 2016

Copy link to clipboard

Copied

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

Views

793

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

if so, that's a decompiler issue.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

you have a decompiler problem.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Any luck with it?

Votes

Translate

Translate

Report

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