If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.

#1368 How do you use -replace in commandline?
Author:
Varq

Date created:
Type: question
Visibility: Everybody
Assigned to:
State: closed 

I am looking to replace an ActionScript in a .swf with an .as file on hand, but I cannot
figure out how to replace this file in the .swf for the life of me.
For example, I uploaded a picture highlighting the file I want to replace. I want to
replace it with a file called "003.as", this is what I have right now in my command line.
java -jar ffdec.jar -replace talkdatetest.swf talkdateupdate.swf
scripts\frame_3\DoAction_2 003.as

Haha, after a little more Google searching and experimenting, I found out how.
Here's what I have now, if it helps anyone.
java -jar ffdec.jar -replace talkdatetest.swf talkdateupdate.swf "\frame 3\DoAction_2"
003.as
You may close this issue as you wish.
:)
State: new→closed