mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-21 17:25:42 +00:00
Fixed: #1339 AS1/2 direct editation - targetPath as an expression
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.action.parser.script;
|
||||
|
||||
import com.jpexs.decompiler.flash.SourceGeneratorLocalData;
|
||||
@@ -539,6 +540,11 @@ public class ActionScript2Parser {
|
||||
expectedType(SymbolType.PARENT_CLOSE);
|
||||
ret = new GetTimeActionItem(null, null);
|
||||
break;
|
||||
case TARGETPATH:
|
||||
expectedType(SymbolType.PARENT_OPEN);
|
||||
ret = new TargetPathActionItem(null, null, (expression(inFunction, inMethod, true, variables, functions)));
|
||||
expectedType(SymbolType.PARENT_CLOSE);
|
||||
break;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
@@ -706,12 +712,6 @@ public class ActionScript2Parser {
|
||||
ret = new StopDragActionItem(null, null);
|
||||
break;
|
||||
|
||||
|
||||
case TARGETPATH:
|
||||
expectedType(SymbolType.PARENT_OPEN);
|
||||
ret = new TargetPathActionItem(null, null, (expression(inFunction, inMethod, true, variables, functions)));
|
||||
expectedType(SymbolType.PARENT_CLOSE);
|
||||
break;
|
||||
case UNLOADMOVIE:
|
||||
case UNLOADMOVIENUM:
|
||||
SymbolType unloadType = s.type;
|
||||
|
||||
Reference in New Issue
Block a user