JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.

List of issuesList of issues

#206 AS3 switch problem
Author: user focus
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed Help

Hey, I see something strange in the method netStatusHandler of the MainTimeline class in the attached file. It should be: public function netStatusHandler(param1:NetStatusEvent):void { switch ( { case "NetStream.Play.StreamNotFound": trace(("Stream not found: " + strSource)); return; case "NetStream.Play.Stop": if ((intActiveVid + 1) < xmlPlaylist..vid.length()) { playNext(); } else { stopVideoPlayer(); }; return; }; } But I see public function netStatusHandler(param1:NetStatusEvent) : void { if("NetStream.Play.StreamNotFound"!==_loc2_) { if("NetStream.Play.Stop"===_loc2_) { } } return; } I guess it could be because if the double dot operator (..) used with xml variable.
Same problem in com.hurlant.util.der.DER: if(0!==_loc23_) { if(16!==_loc23_) { if(17!==_loc23_) { if(2!==_loc23_) { if(6!==_loc23_) { if(3!==_loc23_) { if(4!==_loc23_) { if(5!==_loc23_) { if(19!==_loc23_) { if(34!==_loc23_) { if(20!==_loc23_) { if(23===_loc23_) { } } } } } } } } } } } } Something wrong with switch operator handling in AS3.
Downloadlibrary.swf (194 KiB)
State: new→opened
Title: AS3 Decompilation issue→AS3 switch problem
Version 1.6.6 was released. This should be fixed, try it.
State: opened→upgraded
Yey, new build!! Looks fine now, thanks!
State: upgraded→closed