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

#1848 Image is in needed characters list of shape, but shape isn't in dependent characters list of image
Author: user Chicken
Date created:
Type: question
Visibility: Everybody
Assigned to:
State: new Help

admin
Could you provide sample SWF file where this happened?
user
This one here. Forgot to mention, this is when I add a new shape (with a corresponding image). If you want I could also send an swf file where I have done that, since this one is unmodified.
DownloadLOTV2.swf (25,045 KiB)
user
Ignore my first response. This one here, it actually has the shape and image with the problem in it. They are 6891 and 6892.
DownloadIconT10.swf (25,050 KiB)
admin
When I open the IconT10.swf I see image 6891 has 6892 as dependent and also shape 6892 has 6891 as needed. I assume your situation only happens when you add new image/shape, till you resave/load the SWF. It's because the needed/dependent characters are calculated on SWF loading, but probably not updated during character addition/removing.
user
I thought I added recalculations. Shouldn't be too hard nor costly at runtime to add
user
Nevermind that: given how I implemented it it would require recalculating the dependencies for the entire SWF which could be quite intensive.