: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. 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 (param1.info.code) { 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
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic