Issue #1118 running file with importassets

Correct checking the autloLoadSwfs checkbox in settings
This commit is contained in:
Jindra Petřík
2016-01-04 21:59:55 +01:00
parent e333b92ffb
commit 0f835dd0f5
6 changed files with 87 additions and 36 deletions

View File

@@ -3228,6 +3228,8 @@ public final class SWF implements SWFContainerItem, Timelined {
public void addTag(Tag tag) {
setModified(true);
tags.add(tag);
readOnlyTags = null;
readOnlyLocalTags = null;
}
/**
@@ -3240,6 +3242,8 @@ public final class SWF implements SWFContainerItem, Timelined {
public void addTag(int index, Tag tag) {
setModified(true);
tags.add(index, tag);
readOnlyTags = null;
readOnlyLocalTags = null;
}
/**

View File

@@ -57,6 +57,12 @@ public class ImportAssets2Tag extends Tag implements ImportTag {
@Conditional(value = "hasDigest", options = {1})
String sha1 = "";
@Override
public void setUrl(String url) {
this.url = url;
setModified(true);
}
/**
* HashMap with assets
*/

View File

@@ -69,6 +69,12 @@ public class ImportAssetsTag extends Tag implements ImportTag {
tags = new ArrayList<>();
}
@Override
public void setUrl(String url) {
this.url = url;
setModified(true);
}
/**
* Constructor
*

View File

@@ -26,5 +26,7 @@ public interface ImportTag {
public String getUrl();
public void setUrl(String url);
public Map<Integer, String> getAssets();
}