Output all of the actionscript in an FLA

Is there a way to output all of the actionscript in an FLA to external files? I need to do some extremely exhaustive searching/replacing in about 20 FLAs that all have quite a bit of code in them, as well as a shared library with about 120 custom components. I don’t want to have to do this manually… PLEASE tell me there’s a way to output all of the actionscript to as files or SOMETHING…

Hm…

a swf decompiler

So I’d have to compile the SWF then decompile it? Is there a decent one of these around that’s reasonably inexpensive or free?

justchad,

Personally I think SWF Decompilers should be banned because they break just about every internet copyright law there is.
I can’t understand what would posses you to rather use a decompiler than the source file.
If it was easier (which it isn’t), there would be no fool proof way of recompiling it.

Sounds a bit suspicious to me…

If you are in possesion of the .flas then why dont you use the movie explorer to seek out all of the AS. A decompiler is not a terribly bad thing…BUt you mentioned you had the .flas so I am assuming that these are yours.

*Originally posted by justchad *
**Is there a way to output all of the actionscript in an FLA to external files? I need to do some extremely exhaustive searching/replacing in about 20 FLAs that all have quite a bit of code in them, **

OBCT he is sayinghe has the source files…SO unless he stole someones computer I think he may be in the clear.

Thanks :slight_smile:

decompilers are fine.

I use one all the time.

sometimes, the client does not have the .fla, and I have to recreate it. It is much easier if I have the original art, and cheaper for the client.

I also have ‘lost’ a few of my own .fla’s, and decompilers have saved me hours of having to recreate the wheel.

My suggestion to all:

A crowbar is a nice tool for it’s purpose. It also can be used to pry open a door for burglary purposes. Should we eliminate crowbars? Should we assume everyone who posesses a crowbar a thief? I’m fairly certain everyone who visits here has at least one tool which could be used for illegal purposes, if you desired.

So let’s be a bit more trusting about kazaa threads, decompiler threads, etc… until something illegal is discussed, let it be. We mods do a fair job of keeping this place clean of that stuff, let us do our jobs.

Thanks for the intention of helping tho, everyone who has ‘warned’ us about pirate threads, your intent is appreciated.

Rev

reverendflash,

You have a few very good points. I’m sory if I offended anyone, as that was not my intention.

Thank you all for listening to my comments.

Cheers

-OBCT

no problem whatsoever.

Rev

Like I said, my project is made up of many many many files, all of which have many many many layers which all have many many many methods. I need to find and take note of where certain methods are called and make changes to the way they behave. However, I’m working with a customer at the moment, and I needed to give an estimate of how much work I thought it would be to make the changes. Using a decompiler (i used flare, it was free) allowed me to use Textpad and do a find, then ‘mark all’…

I’m sorry but if you don’t see any use in being able to look at your code in a text editor instead of the er… wonderful coughcrapcough actionscript editing environment, then I’m afraid we use very different styles of coding.

This decompiler discussion was useless in the 1st place, as the question clearly stated “fla”, not “swf”,
so all you have to do is open the movie explorer panel, select the little menu icon top right, and select “copy all text to clipboard”…
you’ll get the same as flare gets you.

and please use more explicit titles, yours is completely useless if someone does a search on this…edited.

that is what I said eyez…thanks for the back up.

Sorry, I’d never tried that. I was under the impression that outputting all of the text would only output the text in the current editor window, and not the AS within the other layers, components, and frames of the movie. So it’s my misunderstanding then… Sorry 'bout that. Thanks for the advice.

Actionscript panel = only current script;
Movie Explorer = all script!

No need to be sorry, your post was perfectly ok,
you learn every day :slight_smile:
Hope this serves you well, good luck with all this code :wink:

“Movie Explorer = all script!”

That tip just made my week. Thanks!!!

OMG…I said that earlier in my post…:pissed: doesnt anyone listen to me anymore :beam:

you mean someone listened to you once?

:smiley:

Rev

good point rev…will anyone ever listen to me :beam:

what you said, D’…?