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

#1932 Incorrect sprite animation
Author: user pim
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: Sprites
State: closed Help

> What steps will reproduce the problem? Open gwint_game.gfx -> select Sprites -> Define sprite(970: CardFXFog_Ongoing) > What is the expected output? What do you see instead? Animation to look similar to fog_in_game.gif. I may be a bit confused, because in the actionscript files I don't see the reference to CardFXFog_Ongoing. only to CardFXFog, though that one seems to be completely empty (see DefineSprite_348_CardFXFog.gif). Though CardFXFog_Ongoing does have a fixed part (for when the card is initially played) and a looping part (after fixed part finished), see CardFXFog_Ongoing.as in default package. In the game it looks as there is an initial part with three clouds going up and then a looping part with a number of clouds rotating around. This is probably from DefineSprite_969_gwint_game_fla.Fog_loop_bg_66.gif. However in the decompiler it only seems to show the initial few frames. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 18.3.0 running on Windows 10. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
admin
CardFXFog_Ongoing seems to have id 946 in this file, not 970. All ids you specified here are wrong, weird. Did you attach correct file? The sprite 946 has an associated ActionScript (in "<default package>") - see attachment. That script has some actions regarding frame display - stop, gotoAndPlay. This may affect final frame order and that cannot be executed in FFDec. In nightly 2408 I fixed display of sprite 945:Fog_loop_bg_65.
State: new→upgraded
user
Ah I was referencing a different file indeed, the IDs you mentioned are correct in the original attachment. Also added the version where the other IDs originate from.
Downloadgwint_game.gfx (4,456 KiB)
user
Would there be a way to work around this script actions, like adding extra frames?
admin
I don't know. I can try. But it seems this new GFX file does not match the DDS files you previously attached. Could you attach also new DDS files matching this GFX file? And maybe zip them to single archive so I can easily download them all at once.
admin
The timeline is looping from frame 55 back to frame 50. In this range, there are no changes to the objects, just repeating the subsprite animation. So I think you can add more frames after frame 50 to have longer clouds animation. Right click frame 55 -> Add frames after.
admin
I mean right click frame 50 -> Add frames after, not frame 55.
user
Superb, thanks! Think I need like 1200 extra frames though :P Added rest of dds just to make it complete
admin
State: upgraded→closed