: 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

#812 decompile fail
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2
State: closed Help

hi I have compare my drawCircle function with JPEXS and Softlink JPEXS writes _locXX_ (XX = numbers) instead the args like "radius, fillColor, fillAlpha" ------------------------------------ here decompile from Softlink: function drawCircle(target_mc, radius, fillColor, fillAlpha) { var _loc6 = 0; var _loc7 = 0; with (target_mc) { lineStyle(1, fillColor, fillAlpha, true, "none", "round", "round"); moveTo(_loc6 + radius, _loc7); curveTo(radius + _loc6, Math.tan(Math.PI / 8) * radius + _loc7, Math.sin(Math.PI / 4) * radius + _loc6, Math.sin(Math.PI / 4) * radius + _loc7); curveTo(Math.tan(Math.PI / 8) * radius + _loc6, radius + _loc7, _loc6, radius + _loc7); curveTo(-Math.tan(Math.PI / 8) * radius + _loc6, radius + _loc7, -Math.sin(Math.PI / 4) * radius + _loc6, Math.sin(Math.PI / 4) * radius + _loc7); curveTo(-radius + _loc6, Math.tan(Math.PI / 8) * radius + _loc7, -radius + _loc6, _loc7); curveTo(-radius + _loc6, -Math.tan(Math.PI / 8) * radius + _loc7, -Math.sin(Math.PI / 4) * radius + _loc6, -Math.sin(Math.PI / 4) * radius + _loc7); curveTo(-Math.tan(Math.PI / 8) * radius + _loc6, -radius + _loc7, _loc6, -radius + _loc7); curveTo(Math.tan(Math.PI / 8) * radius + _loc6, -radius + _loc7, Math.sin(Math.PI / 4) * radius + _loc6, -Math.sin(Math.PI / 4) * radius + _loc7); curveTo(radius + _loc6, -Math.tan(Math.PI / 8) * radius + _loc7, radius + _loc6, _loc7); } // End of with }; ----------------------------------------- here from JPEXS function drawCircle(target_mc, radius, fillColor, fillAlpha) { var _loc6_ = 0; var _loc7_ = 0; with(target_mc) { lineStyle(1,_loc4_,_loc5_,true,"none","round","round") moveTo(_loc6_ + _loc3_,_loc7_) curveTo(_loc3_ + _loc6_,Math.tan(Math.PI / 8) * _loc3_ + _loc7_,Math.sin(Math.PI / 4) * _loc3_ + _loc6_,Math.sin(Math.PI / 4) * _loc3_ + _loc7_) curveTo(Math.tan(Math.PI / 8) * _loc3_ + _loc6_,_loc3_ + _loc7_,_loc6_,_loc3_ + _loc7_) curveTo((- Math.tan(Math.PI / 8)) * _loc3_ + _loc6_,_loc3_ + _loc7_,(- Math.sin(Math.PI / 4)) * _loc3_ + _loc6_,Math.sin(Math.PI / 4) * _loc3_ + _loc7_) curveTo(- _loc3_ + _loc6_,Math.tan(Math.PI / 8) * _loc3_ + _loc7_,- _loc3_ + _loc6_,_loc7_) curveTo(- _loc3_ + _loc6_,(- Math.tan(Math.PI / 8)) * _loc3_ + _loc7_,(- Math.sin(Math.PI / 4)) * _loc3_ + _loc6_,(- Math.sin(Math.PI / 4)) * _loc3_ + _loc7_) curveTo((- Math.tan(Math.PI / 8)) * _loc3_ + _loc6_,- _loc3_ + _loc7_,_loc6_,- _loc3_ + _loc7_) curveTo(Math.tan(Math.PI / 8) * _loc3_ + _loc6_,- _loc3_ + _loc7_,Math.sin(Math.PI / 4) * _loc3_ + _loc6_,(- Math.sin(Math.PI / 4)) * _loc3_ + _loc7_) curveTo(_loc3_ + _loc6_,(- Math.tan(Math.PI / 8)) * _loc3_ + _loc7_,_loc3_ + _loc6_,_loc7_) }; }
developer
Please attach the SWF file when you create an issue.
user
code at __Packages.uragan.MyMinimap.as
DownloadMinimap.swf (711 KiB)
admin
Type: feature→bug
developer
This should be fixed in the latest nightly, please try it.
State: new→upgraded
user
honfika well done :) looks fine now close req
developer
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