JPEXS Free Flash Decompiler Issue Tracker

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.

List of issuesList of issues

#2435 Create a new Class with ffdec CLI
Author: user sowsanti
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: new Help

Hello there! I'm leveraging ffdec cli to edit the source code of a game in my own text editor, and I was wondering if there was a way to "Add class" from using the cli directly or with some other tools without using the UI. I don't know anything about flash compilation sadly but I did some research that led to nothing. I saw there was an option to "-importScript" but it does not work for a new class. Do you have any idea on how I could do that? Thank :)
user
To clarify how I'm working, I first exported the scripts to .as and I use ffdec "-replace ..." to update the swf.