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.

Error: Please login first to download files from the Issue Tracker. You can register for free.
List of issuesList of issues

#2534 Extended support for DefineExternalGradient
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: GFX
State: upgraded Help

It would be great if FFDec could better support DefineExternalGradient. As far as I can tell, FFDec only lists DefineExternalGradient if it is contained in an existing SWF but there are no controls for adding new ones from scratch nor the ability to set the gradientID on objects that support DefineExternalGradient. Attached is an SWF which makes use of DefineExternalGradient.
I can add creating new tags of that type. To the ability to set gradientID on objects: As far I know, the gradientID of DefineExternalGradient is position based - for all shape fill gradients in the file. First fill gradient in file gets gradientID=0, second gradientID=1, etc. There is no way to set gradientId on an object - like shape fill. There is no such field. GFX exporter leaves original gradient info in SWF file so we render it using original fill data instead of ExternalGradient TGA files. It seems that in GFX, the external gradients are used as cached versions of gradients.
In nightly 3316, you can create new DefineExternalGradient in "others" folder.
State: new→upgraded