mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 14:41:08 +00:00
Added #1682 AS1/2 Context menu add script on frames/buttons/placeObjects
Added Allow adding second DoAction to a frame Fixed AS1/2 adding CLIPACTIONRECORD to PlaceObject which already has a record
This commit is contained in:
@@ -227,7 +227,8 @@ public class AddScriptDialog extends AppDialog {
|
||||
for (Tag t : swf.getTags()) {
|
||||
|
||||
if (t instanceof DoActionTag) {
|
||||
hasScript = true;
|
||||
//It is no longer a problem to have more than single DoAction
|
||||
//hasScript = true;
|
||||
}
|
||||
if (t instanceof ShowFrameTag) {
|
||||
MyFrame myf = new MyFrame(f);
|
||||
@@ -288,7 +289,8 @@ public class AddScriptDialog extends AppDialog {
|
||||
boolean hasScript = false;
|
||||
for (Tag t2 : s.getTags()) {
|
||||
if (t2 instanceof DoActionTag) {
|
||||
hasScript = true;
|
||||
//It is no longer a problem to have more than single DoAction
|
||||
//hasScript = true;
|
||||
}
|
||||
if (t2 instanceof ShowFrameTag) {
|
||||
MyTreeNode frameNode = new MyTreeNode();
|
||||
|
||||
Reference in New Issue
Block a user