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

#2098 Shape size changes malfunction
Date created:
Type: bug
Visibility: Everybody read only
Assigned to:
Labels: Shapes
State: upgraded Help

> What steps will reproduce the problem? 1. Open my attached SWF file "FrameShape.swf" in JPEXS v.19 (this swf is healthy). 2. Under "Forms" choose the "DefineShape (50)" and "Edit Points". 3. For all outer points for both X and Y add 1000 units (so that the black frame becomes bigger at the end). Leave all inner points (the whole inner frame) untouched, their size should not become changed. 4. Now "Save as..." swf with new name (my one is called "FrameShape (after=corrupt).swf"). 5. Close the changed swf file completely in JPEXS and load the same file again after that. 6. Again, look under "Forms": When select "DefineShape (50)" you can see that the is wrong. > What is the expected output? What do you see instead? - It should be still a rectangle (only bigger than the origin one). Currently, I can see a splinter only instead. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? - Windows 7 Professional 64-Bit - JPEXS v.19.0 stable (also happens in some older versions of JPEXS) - Java 8 Update 381 + Java 8 Update 381 64-Bit - Intel Core i5 6600K 3,5 GHz - AMD Radeon R9 Fury Series - 16 GB RAM > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. - Reason for my ticket: My aim is to increase the black outer frame of my SWF (should be a template) to make Flash games playing in fullscreen without showing elements beyond their border (Flash usually stores unused items outside the border until they take a role in the game. Some old games does not have a background shape and when set the scaleMode to "SHOW_ALL" the 'hidden' area becomes visible.) With my template I can add a black layer over the whole game, except over the a defined inner rectangle where the actual game is. - I even do not know whether the Shape becomes disturbed for real or if its only displayed incorrect by JPEXS. Anyway, it seems to be a bug.
user
admin
The problem here is that you are trying to save shape edges that are too large to store them in SWF file. In nightly 2650 I added an error message which will tell it instead of just corrupting the file. The solution is clear - you need to make smaller edges. If you have such long edges, you can insert new points on the edge if you move mouse over an edge and press Ctrl and click the edge. This way you can split an edge to two, which will make it shorter.
State: new→upgraded
user
I am not very familiar with vector graphics. I always thought the range would not have any limit as long position or length is defined... After adding additional edges (puh, that lasts very long working exactly) like you said, it works. The swf is in attachment. But it would be very very more comfortable if the program could calculate and set these in-between-edges automatically by increasing the main edges. Maybe this could be add to the list of features. At least the warning you talked about is urgently needed - how should daily persons like me know about that otherwise?