JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#975 Return trace
Author: user BeniBela
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: AS3Decompilation
State: closed Help

It is returning trace, when it should return void public static function unregister(param1:DisplayObjectContainer, param2:String = null) : void { var _loc3_:ToolTipType = null; if(param1 == null) { return trace("The object u want to unregister tooltip is null, please check!"); } if(param2) { _loc3_ = getInstance().getTypeByName(param2); _loc3_ = _loc3_.hasTarget(param1)?_loc3_:null; } else { _loc3_ = getInstance().getTypeByTarget(param1); } if(_loc3_) { _loc3_.removeTarget(param1); } else { trace("The object " + + " has no tool tips"); } } trait method Qname(PackageNamespace(""),"unregister") dispid 5 method name null flag HAS_OPTIONAL flag HAS_OPTIONAL param Qname(PackageNamespace("flash.display"),"DisplayObjectContainer") param Qname(PackageNamespace(""),"String") optional null returns Qname(PackageNamespace(""),"void") body maxstack 4 localcount 4 initscopedepth 3 maxscopedepth 4 code getlocal_0 pushscope pushnull newfunction 11749 pop jump ofs0012 pushundefined setlocal_2 swap popscope declocal_i 2 getglobalscope ofs0012:coerce Qname(PackageNamespace("com.playmage.utils"),"ToolTipType") setlocal_3 getlocal_1 pushnull ifne ofs0025 findpropstrict Qname(PackageNamespace(""),"trace") pushstring "The object u want to unregister tooltip is null, please check!" callproperty Qname(PackageNamespace(""),"trace") 1 returnvalue ofs0025:getlocal_2 iffalse ofs006f findpropstrict Qname(PackageNamespace(""),"getInstance") callproperty Qname(PackageNamespace(""),"getInstance") 0 getlocal_2 callproperty Qname(PrivateNamespace("*","331"),"getTypeByName") 1 coerce Qname(PackageNamespace("com.playmage.utils"),"ToolTipType") jump ofs0043 setlocal_2 lessequals getlocal_2 inclocal 2 lessequals inclocal 2 ofs0043:setlocal_3 getlocal_3 getlocal_1 callproperty Qname(PackageNamespace(""),"hasTarget") 1 iffalse ofs0056 getlocal_3 coerce Qname(PackageNamespace("com.playmage.utils"),"ToolTipType") jump ofs0067 ofs0056:pushnull coerce Qname(PackageNamespace("com.playmage.utils"),"ToolTipType") jump ofs0067 bitnot kill 2 bitor declocal_i 2 kill 2 getlocal_2 ofs0067:coerce Qname(PackageNamespace("com.playmage.utils"),"ToolTipType") setlocal_3 jump ofs007d ofs006f:findpropstrict Qname(PackageNamespace(""),"getInstance") callproperty Qname(PackageNamespace(""),"getInstance") 0 getlocal_1 callproperty Qname(PrivateNamespace("*","331"),"getTypeByTarget") 1 coerce Qname(PackageNamespace("com.playmage.utils"),"ToolTipType") setlocal_3 ofs007d:getlocal_3 iffalse ofs008c getlocal_3 getlocal_1 callpropvoid Qname(PackageNamespace(""),"removeTarget") 1 jump ofs009c ofs008c:findpropstrict Qname(PackageNamespace(""),"trace") pushstring "The object " getlocal_1 getproperty Qname(PackageNamespace(""),"name") add pushstring " has no tool tips" add callpropvoid Qname(PackageNamespace(""),"trace") 1 ofs009c:returnvoid
Please attach your swf file.
It is legal in Actionscript to use it this way if called function also has return type void. I am closing this issue.
State: new→closed
Type: bug→question