AS1/2 and AS3 now share common decompiling method

This commit is contained in:
Jindra Pet��k
2013-02-24 22:46:42 +01:00
parent 6d644179ca
commit 8baa5691e9
423 changed files with 5610 additions and 4709 deletions
@@ -16,19 +16,19 @@
*/
package com.jpexs.decompiler.flash.action.treemodel;
import com.jpexs.decompiler.flash.action.Action;
import com.jpexs.decompiler.flash.graph.GraphSourceItem;
public class GotoFrameTreeItem extends TreeItem {
public int frame;
public GotoFrameTreeItem(Action instruction, int frame) {
public GotoFrameTreeItem(GraphSourceItem instruction, int frame) {
super(instruction, PRECEDENCE_PRIMARY);
this.frame = frame;
}
@Override
public String toString(ConstantPool constants) {
return hilight("gotoAndStop(") + frame + hilight(")") + ";";
return hilight("gotoAndStop(") + frame + hilight(")");
}
}