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

#2246 Need Help Creating File Related to DefineBitsLossless2
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: SymbolClass
State: closed Help

Like seen in the Image linked , A file is linked to DefineBitsLossless2s I have figured out how to rename DefineBitsLossless2s but I have not figured out how to create and add the code related to this image If anyone has a solution it would help a lot Thanks in advance
admin
You can add classes with right click menu on scripts node or a package - see attachment. Then you press "Edit ActionScript" to modify your class to properly extend BitmapAsset, etc... The [Embed] metadata on the top of the class is created automatically when you link a symbol to a class using SymbolClass tag.
Downloadaddclass.png (17 KiB)
State: new→opened
user
How do I link a symbol to a class using SymbolClass tag ? Is it the SymbolClass tag ? , if so what does the UI16 = (number) correspond to ?
admin
SymbolClass tag maps Symbols (so called Characters) to Classes. Each Character has its characterId - in your screenshot, its 133.
admin
In nightly 2819, there is a shortcut for this called "Set AS linkage" - it is available from context menu of character tags.
State: opened→closed