AS3 editation with flex - not really working yet:

- needs fixing circular references, etc. (eg. editing class which references classes which references this class)
 - needs better errors displaying with jump to error line, etc.
This commit is contained in:
Jindra Petřík
2016-08-06 07:19:52 +02:00
parent c8951d9522
commit 8c5345cfd8
25 changed files with 1067 additions and 154 deletions

View File

@@ -2535,10 +2535,14 @@ public final class SWF implements SWFContainerItem, Timelined {
System.gc();
}
public void clearAbcListCache() {
abcList = null;
}
public void clearAllCache() {
characters = null;
characterIdTags = null;
abcList = null;
clearAbcListCache();
timeline = null;
clearReadOnlyListCache();
clearImageCache();
@@ -2890,7 +2894,8 @@ public final class SWF implements SWFContainerItem, Timelined {
timelined.setModified(true);
timelined.resetTimeline();
} else // timeline should be always the swf here
if (removeDependencies) {
{
if (removeDependencies) {
removeTagWithDependenciesFromTimeline(tag, timelined.getTimeline());
timelined.setModified(true);
} else {
@@ -2899,6 +2904,7 @@ public final class SWF implements SWFContainerItem, Timelined {
timelined.setModified(true);
}
}
}
}
@Override