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

#838 Missing default case in switch statement
Author: user devbn
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed Help

> What steps will reproduce the problem? Decompile the SWF attached with this bug. > What is the expected output? What do you see instead? ---EXPECTED: The ouput AS3 must have following lines: function isFromPointFixed(link:Object) : Boolean { switch(this.globalOriginPointMode) { case FREE_MODE: return getGraphModel().hasPinnedConnectionPoint(link,true); case FIXED_MODE: return true; case MIXED_MODE: return this.getOriginPointMode(link) == FIXED_MODE?true:getGraphModel().hasPinnedConnectionPoint(link,true); default: LogResUtil.logAndThrowRuntimeExc(HierarchicalLayout, "graphlayout.expert.message.6418E", Vector.<Object>([this.globalOriginPointMode])); return false; } } ---ACTUAL: function isFromPointFixed(link:Object) : Boolean { switch(this.globalOriginPointMode) { case FREE_MODE: return getGraphModel().hasPinnedConnectionPoint(link,true); case FIXED_MODE: return true; case MIXED_MODE: return this.getOriginPointMode(link) == FIXED_MODE?true:getGraphModel().hasPinnedConnectionPoint(link,true); } } > What version of the product are you using? On what operating system? 4.1.1 on Windows 8.1 SL > Please provide any additional information below. Attach the file you have problem with if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE See the attachment
Downloadsimplegraph.swf (1,166 KiB)
user
Sorry i miss the related class that is: com.ibm.ilog.elixir.diagram.graphlayout.hierarchical.HierarchicalLayout
developer
Maybe this issue was already fixed, because I can't reproduce it with the latest code. Please try the latest nightly version.
State: new→upgraded
user
Thank you, I confirmed this bug is fixed. By the way, can you have a look at the issue #837 I've created?
developer
It is an "admin only" issue, I can't see it. JPEXS will fix it later.
State: upgraded→closed