Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added localization support for context menu. #206

Open
wants to merge 43 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
3058893
created new Unreleased section in CHANGELOG.md
jindrapetrik Sep 23, 2024
b179582
Move information about flacomdoc to correct README file.
jindrapetrik Sep 23, 2024
ac343e4
Remove proxy info from commandline help.
jindrapetrik Sep 23, 2024
cc58b0f
Fixed: #2319 AS3 Compound assignments problems in some cases
jindrapetrik Sep 24, 2024
391ca72
Fixed: #2319 AS3 direct editation - class gets removed after pressing…
jindrapetrik Sep 24, 2024
6bf70e3
Fixed: #2320 AS3 direct editation - modified flag of scripts vanishes…
jindrapetrik Sep 24, 2024
836f690
Typo in AS3 docs
jindrapetrik Sep 24, 2024
c5f6bf5
Added: #2321 Commandline option to generate HTML docs for AS1/2 Actions
jindrapetrik Sep 24, 2024
bfd1f99
Fixed: #2272 Filters strength attribute caps at 100%
jindrapetrik Sep 24, 2024
25e5ffd
Release description fix
jindrapetrik Sep 24, 2024
4dc5799
Fixed: #2322 AS3 Construct property name formatting
jindrapetrik Sep 24, 2024
5cca0c1
Fixed: #2322 AS3 Assigment position when using dup
jindrapetrik Sep 24, 2024
dfba052
Fixed: #2323 AS3 direct editation - Number class traits are duplicate…
jindrapetrik Sep 24, 2024
821cd9b
Fix tests
jindrapetrik Sep 24, 2024
6b94fb0
Fixed: #2322 More AS3 Assigment position when using dup
jindrapetrik Sep 25, 2024
08d5344
Tests fix
jindrapetrik Sep 25, 2024
690d12f
Locales properties reformated
jindrapetrik Sep 26, 2024
948603d
Chinese translation update by Liushui
jindrapetrik Sep 26, 2024
7bd26df
Chinese translation author name
jindrapetrik Sep 26, 2024
c6f2a10
Fixed: #2324 AS3 direct editation - nested loop continue/break (with …
jindrapetrik Sep 26, 2024
9468ae3
Fixed: #2325 AS3 direct editation - allow single quoted attributes in…
jindrapetrik Sep 26, 2024
ef749de
Fixed: #2329 AS3 - imports for standalone functions
jindrapetrik Sep 27, 2024
561f858
Fixed: #2331 AS1/2 lite - support for fscommand2, `#strict` directive
jindrapetrik Sep 28, 2024
f524e57
Fixed some tag reading errors in #1833.
jindrapetrik Sep 28, 2024
7406a49
Added: #2305 Saving recent colors in the color selection dialog
jindrapetrik Sep 28, 2024
aa2b3e7
Czech translation updated
jindrapetrik Sep 28, 2024
b3e6a8a
Fixed: #2332 Imported fonts by class name not available in texts
jindrapetrik Sep 28, 2024
563003e
Organize imports
jindrapetrik Sep 29, 2024
1e63a10
Added: #2328 Searching/replacing in texts now supports selection / al…
jindrapetrik Sep 29, 2024
08660c5
Fixed: #2329 AS3 direct editation - Breaks inside switches
jindrapetrik Sep 29, 2024
3f8d1ef
Added: Texts spacing is now separated where possible - does not use `…
jindrapetrik Sep 29, 2024
992c77f
Fixed: #2330 Windows EXE launcher (+ CLI) does not respect current wo…
jindrapetrik Sep 29, 2024
ad578ff
Fixed changelog
jindrapetrik Sep 29, 2024
43813b7
Added: #2333 Changing Shape tag type (DefineShape, DefineShape2, ...)
jindrapetrik Sep 29, 2024
8c55bb8
Update Russian.nsh
pngdrift Sep 30, 2024
13257d0
Fixed: #2335 AS3 direct editation - Type coercion of `&&` and `||` op…
jindrapetrik Sep 30, 2024
6dc474d
Merge branch 'dev' of https://github.com/jindrapetrik/jpexs-decompile…
jindrapetrik Sep 30, 2024
9b50293
Fix tests
jindrapetrik Sep 30, 2024
9a8962e
Updated chinese translation
jindrapetrik Sep 30, 2024
3c1d260
Fixed: #2334 AS1/2 P-code export - Do not export on(xxx) header
jindrapetrik Sep 30, 2024
d373e62
Added: Changing PlaceObject tag type (PlaceObject, PlaceObject2, ...)
jindrapetrik Sep 30, 2024
c317e2b
Added: Added localization support for context menu.
Liushui-Miaomiao Oct 1, 2024
5982414
Added: Add Chinese translation.
Liushui-Miaomiao Oct 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
# Change Log
All notable changes to this project will be documented in this file.

## [Unreleased]
### Added
- [#2321] Commandline option to generate HTML docs for AS1/2 Actions
- Chinese translation update
- [#2305] Saving recent colors in the color selection dialog
- [#2328] Searching/replacing in texts now supports selection / all files scope
- Texts spacing is now separated where possible - does not use `[space xx]`,
but new `spacing "x" NN` and `spacingpair "x" "y" NN` prefix so now
texts are more readable and searchable
- [#2333] Changing Shape tag type (DefineShape, DefineShape2, ...)
- Changing PlaceObject tag type (PlaceObject, PlaceObject2, ...)

### Fixed
- [#2319] AS3 Compound assignments problems in some cases
- [#2319] AS3 direct editation - class gets removed after pressing cancel
- [#2320] AS3 direct editation - modified flag of scripts vanishes after editing other script with and having error
- [#2272] Filters strength attribute caps at 100%
- [#2322] AS3 Construct property name formatting
- [#2322] AS3 Assigment position when using dup
- [#2323] AS3 direct editation - Number class traits are duplicated in constructor
- [#2324] AS3 direct editation - nested loop continue/break (with labels)
- [#2325] AS3 direct editation - allow single quoted attributes in XML
- [#2329] AS3 - imports for standalone functions
- [#2331] AS1/2 lite - support for fscommand2, `#strict` directive
- [#2332] Imported fonts by class name not available in texts
- [#2330] Windows EXE launcher (+ CLI) does not respect current working directory
- [#2335] AS3 direct editation - Type coercion of `&&` and `||` operators
- [#2334] AS1/2 P-code export - Do not export on(xxx) header

## [21.1.0] - 2024-09-23
### Added
- FLA export - generating bin/*.dat files for movies and images
Expand Down Expand Up @@ -3406,6 +3435,7 @@ Major version of SWF to XML export changed to 2.
### Added
- Initial public release

[Unreleased]: https://github.com/jindrapetrik/jpexs-decompiler/compare/version21.1.0...dev
[21.1.0]: https://github.com/jindrapetrik/jpexs-decompiler/compare/version21.0.5...version21.1.0
[21.0.5]: https://github.com/jindrapetrik/jpexs-decompiler/compare/version21.0.4...version21.0.5
[21.0.4]: https://github.com/jindrapetrik/jpexs-decompiler/compare/version21.0.3...version21.0.4
Expand Down Expand Up @@ -3567,6 +3597,23 @@ Major version of SWF to XML export changed to 2.
[alpha 9]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha8...alpha9
[alpha 8]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha7...alpha8
[alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7
[#2321]: https://www.free-decompiler.com/flash/issues/2321
[#2305]: https://www.free-decompiler.com/flash/issues/2305
[#2328]: https://www.free-decompiler.com/flash/issues/2328
[#2333]: https://www.free-decompiler.com/flash/issues/2333
[#2319]: https://www.free-decompiler.com/flash/issues/2319
[#2320]: https://www.free-decompiler.com/flash/issues/2320
[#2272]: https://www.free-decompiler.com/flash/issues/2272
[#2322]: https://www.free-decompiler.com/flash/issues/2322
[#2323]: https://www.free-decompiler.com/flash/issues/2323
[#2324]: https://www.free-decompiler.com/flash/issues/2324
[#2325]: https://www.free-decompiler.com/flash/issues/2325
[#2329]: https://www.free-decompiler.com/flash/issues/2329
[#2331]: https://www.free-decompiler.com/flash/issues/2331
[#2332]: https://www.free-decompiler.com/flash/issues/2332
[#2330]: https://www.free-decompiler.com/flash/issues/2330
[#2335]: https://www.free-decompiler.com/flash/issues/2335
[#2334]: https://www.free-decompiler.com/flash/issues/2334
[#943]: https://www.free-decompiler.com/flash/issues/943
[#1812]: https://www.free-decompiler.com/flash/issues/1812
[#2287]: https://www.free-decompiler.com/flash/issues/2287
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,12 @@ To only build, execute build task:
```
ant build
```
For creating EXE, Installer and ZIP version, there exist Ant tasks "exe","installer","release". These tasks require additional software installed:
* [launch4j] (3.5 or newer) - creates windows executable
For creating EXE Installer and ZIP version, there exist Ant tasks "installer","release". These tasks require additional software installed:
* [NSIS] (Nullsoft Scriptable Install System) (3.0b3 or newer) - creates installer

You must configure installation path of these tools in tools.properties file, which could look like this for windows:
You must configure installation path of this tool in tools.properties file, which could look like this for windows:
```
nsis.path = c:\\program files (x86)\\NSIS
launch4j.path = c:\\program files (x86)\\launch4j
```
### Building libraries

Expand Down Expand Up @@ -115,7 +113,7 @@ The application was made in Czech Republic.
### Translators
* **Jaume Badiella Aguilera** - catalan translation
* **Capasha** - swedish translation
* **王晨旭** (Chenxu Wang), **晓之车**, **安安** - chinese translation
* **王晨旭** (Chenxu Wang), **晓之车**, **安安**, **流水渺渺** - chinese translation
* **focus** - russian translation
* **honfika** - hungarian translation
* **kalip** - italian translation
Expand Down Expand Up @@ -155,25 +153,25 @@ And links also these libraries:
* [Insubstantial] (Substance Look and Feel, Flamingo Ribbon component) - Revised BSD
* [javactivex] (Flash Player ActiveX embedding) - LGPLv3
* [flashdebugger library] (Debugging ActionScript) - LGPLv3
* [FLA Compound Document Tools] (Exporting to FLA CS4 and below) - LGPLv2.1
* FFDec Library (LGPLv3) - see below

Application uses also some icons of the [Silk icons pack], [Silk companion 1], [FatCow icons pack] and [Aha-Soft icons pack].

For EXE launchers we use [Launch5j] - MIT.

## Library
See [library README](libsrc/ffdec_lib/README.md) for more info about FFDec library.

[GIT]: http://git-scm.com/downloads
[Netbeans IDE]: http://www.netbeans.org/
[Apache Ant]: http://ant.apache.org/
[launch4j]: http://launch4j.sourceforge.net/
[Launch5j]: https://github.com/lordmulder/Launch5j
[NSIS]: http://nsis.sourceforge.net/
[JSyntaxPane]: https://code.google.com/p/jsyntaxpane/
[Java Native Access - JNA]: https://github.com/twall/jna
[Insubstantial]: http://shemnon.com/speling/2011/04/insubstantial-62-release.html
[javactivex]:https://github.com/jindrapetrik/javactivex
[flashdebugger library]: https://github.com/jindrapetrik/flashdebugger
[FLA Compound Document Tools]: https://github.com/jindrapetrik/flacomdoc
[Silk icons pack]: http://www.famfamfam.com/lab/icons/silk/
[Silk companion 1]: http://damieng.com/creative/icons/silk-companion-1-icons
[FatCow icons pack]: http://www.fatcow.com/free-icons
Expand Down
2 changes: 1 addition & 1 deletion cicd_scripts/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ if [ "$DO_DEPLOY" == 1 ]; then

echo "Creating release..."
ESC_VERSION_NAME=`echo $DEPLOY_VERSION_NAME|jq --raw-input --ascii-output '.'`
ESC_VERSION_DESCRIPTION=`printf "$DEPLOY_DESCRIPTION"|jq --raw-input --slurp --ascii-output '.'`
ESC_VERSION_DESCRIPTION=`echo "$DEPLOY_DESCRIPTION"|jq --raw-input --slurp --ascii-output '.'`

echo '{"tag_name":"'$DEPLOY_TAG_NAME'","target_commitish":"'$DEPLOY_COMMITISH'","name":'$ESC_VERSION_NAME',"body":'$ESC_VERSION_DESCRIPTION',"draft":false,"prerelease":'$DEPLOY_PRERELEASE'}'>json.bin
json=`curl --silent --request POST --data-binary @json.bin --header "Content-Type: application/json" --header "Accept: application/vnd.github.manifold-preview" --user $GITHUB_USER:$GITHUB_ACCESS_TOKEN https://api.github.com/repos/$GITHUB_REPO/releases`
Expand Down
Binary file modified lib/jsyntaxpane-0.9.5.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion libsrc/ffdec_cli/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ auxiliary.show.customizer.message=<message>
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/4">
<compilation-unit>
<package-root>src</package-root>
<classpath mode="compile">../../dist/ffdec.jar</classpath>
<classpath mode="compile">../../src</classpath>
<built-to>build/classes</built-to>
<source-level>1.8</source-level>
</compilation-unit>
Expand Down
5 changes: 4 additions & 1 deletion libsrc/ffdec_lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ These include:
* Open Imaging GIF Decoder - `gifreader.jar` - Importing GIFs
* Miter clip - modified openjdk8 Stroker - `miterclip.jar` - Support for miter clip join style in shapes
* FlexSDK Decimal128 class - `decimal.jar` - Working with decimal type in AS3
* FLA Compound Document Tools - `flacomdoc.jar` - Exporting FLA to CS4 or lower

## Basic library usage
```java
Expand Down Expand Up @@ -138,6 +139,7 @@ And also links to these libraries:
* [flashdebugger library] (Debugging ActionScript) - LGPLv3
* [Java Native Access - JNA] (Registry association, Process memory reading) - LGPL
* [Open Imaging GIF Decoder] (GIF file importing) - Apache License 2.0
* [FLA Compound Document Tools] (Exporting to FLA CS4 and below) - LGPLv2.1

[sfntly]: https://code.google.com/p/sfntly/
[JLayer]: http://www.javazoom.net/javalayer/javalayer.html
Expand All @@ -156,4 +158,5 @@ And also links to these libraries:
[Java Native Access - JNA]: https://github.com/twall/jna
[Open Imaging GIF Decoder]: https://github.com/DhyanB/Open-Imaging
[openjdk8 Stroker]: https://github.com/JetBrains/jdk8u_jdk
[Apache Flex SDK]: https://github.com/apache/flex-sdk
[Apache Flex SDK]: https://github.com/apache/flex-sdk
[FLA Compound Document Tools]: https://github.com/jindrapetrik/flacomdoc
4 changes: 4 additions & 0 deletions libsrc/ffdec_lib/lexers/actionscript3_script.flex
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,10 @@ RegExp = \/([^\r\n/]|\\\/)+\/[a-z]*
yybegin(XMLOPENTAG);
return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTEVALUE, yytext());
}
\'{XmlSQuoteStringChar}*\' {
yybegin(XMLOPENTAG);
return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRIBUTEVALUE_SINGLEQUOTED, yytext());
}
"{" {
yybegin(YYINITIAL);
return new ParsedSymbol(SymbolGroup.XML, SymbolType.XML_ATTRVALVAR_BEGIN, yytext());
Expand Down
5 changes: 5 additions & 0 deletions libsrc/ffdec_lib/lexers/actionscript_script.flex
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,9 @@ Preprocessor = \u00A7\u00A7 {Identifier}
/* unloadMovieNum */
[uU][nN][lL][oO][aA][dD][mM][oO][vV][iI][eE][nN][uU][mM] { if (caseSensitiveIdentifiers && !"unloadMovieNum".equals(yytext())) return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, yytext());
return new ParsedSymbol(SymbolGroup.GLOBALFUNC, SymbolType.UNLOADMOVIENUM, yytext()); }
/* fscommand2 */
[fF][sS][cC][oO][mM][mM][aA][nN][dD] 2 { if (caseSensitiveIdentifiers && !"fscommand2".equals(yytext())) return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, yytext());
return new ParsedSymbol(SymbolGroup.GLOBALFUNC, SymbolType.FSCOMMAND2, yytext()); }
/* fscommand */
[fF][sS][cC][oO][mM][mM][aA][nN][dD] { if (caseSensitiveIdentifiers && !"fscommand".equals(yytext())) return new ParsedSymbol(SymbolGroup.IDENTIFIER, SymbolType.IDENTIFIER, yytext());
return new ParsedSymbol(SymbolGroup.GLOBALFUNC, SymbolType.FSCOMMAND, yytext()); }
Expand Down Expand Up @@ -389,6 +392,8 @@ Preprocessor = \u00A7\u00A7 {Identifier}
"and" { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.FULLAND, yytext()); }
"or" { return new ParsedSymbol(SymbolGroup.OPERATOR, SymbolType.FULLOR, yytext()); }

"#" {Identifier} { return new ParsedSymbol(SymbolGroup.DIRECTIVE, SymbolType.DIRECTIVE, yytext().substring(1)); }

/* string literal */
\" {
string.setLength(0);
Expand Down
58 changes: 49 additions & 9 deletions libsrc/ffdec_lib/lexers/text.flex
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ package com.jpexs.decompiler.flash.tags.text;

%{

StringBuilder string = null;
boolean finish = false;
boolean parameter = false;
String parameterName = null;

StringBuilder string = null;

/**
* Create an empty lexer, yyrset will be called later to reset and assign
* the reader
Expand All @@ -54,12 +54,14 @@ package com.jpexs.decompiler.flash.tags.text;

%}

Parameter = [a-z0-9_]+
Value = [^ \r\n\]]+
Parameter = [a-z_][a-z0-9_]*
Value = [^ \r\n\]\"]+
Divider = [ \r\n]+
HexDigit = [0-9a-fA-F]
StringCharacter = [^\r\n\"\\]


%state PARAMETER,VALUE
%state PARAMETER,VALUE,STRING

%%

Expand Down Expand Up @@ -96,8 +98,8 @@ HexDigit = [0-9a-fA-F]
<PARAMETER> {
{Divider} {}
{Parameter} {
parameterName = yytext();
yybegin(VALUE);
return new ParsedSymbol(SymbolType.PARAMETER_IDENTIFIER, yytext());
}
"]" {
yybegin(YYINITIAL);
Expand All @@ -107,16 +109,54 @@ HexDigit = [0-9a-fA-F]

<VALUE> {
{Divider} {}
{Value} {
yybegin(PARAMETER);
return new ParsedSymbol(SymbolType.PARAMETER, new Object[] {parameterName, yytext()});

\" {
string = new StringBuilder();
yybegin(STRING);
}

{Parameter} {
return new ParsedSymbol(SymbolType.PARAMETER_IDENTIFIER, yytext());
}
{Value} {
return new ParsedSymbol(SymbolType.PARAMETER_VALUE, yytext());
}
"]" {
yybegin(YYINITIAL);
parameter = false;
}
}

<STRING> {
\" {
yybegin(VALUE);
// length also includes the trailing quote
String tos = string.toString();
string = null;
return new ParsedSymbol(SymbolType.PARAMETER_VALUE, tos);
}

{StringCharacter}+ { string.append(yytext()); }

/* escape sequences */
"\\b" { string.append('\b'); }
"\\t" { string.append('\t'); }
"\\n" { string.append('\n'); }
"\\f" { string.append('\f'); }
"\\r" { string.append('\r'); }
"\\\"" { string.append('\"'); }
"\\'" { string.append('\''); }
"\\\\" { string.append('\\'); }
\\x{HexDigit}{2} { char val = (char) Integer.parseInt(yytext().substring(2), 16);
string.append(val); }
\\u{HexDigit}{4} { char val = (char) Integer.parseInt(yytext().substring(2), 16);
string.append(val); }

/* escape sequences */

\\. { /* ignore illegal character escape */ }
}

/* error fallback */
[^] { if (!parameter) { if (string == null) string = new StringBuilder(); string.append(yytext()); } }
<<EOF>> { return null; }
14 changes: 6 additions & 8 deletions libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java
Original file line number Diff line number Diff line change
Expand Up @@ -1270,13 +1270,11 @@ public FontTag getFontByClass(String fontClass) {
if (fontClass == null) {
return null;
}
for (Tag t : getTags()) {
if (t instanceof FontTag) {
if (((FontTag) t).getClassNames().contains(fontClass)) {
return (FontTag) t;
}
}
CharacterTag t = getCharacterByClass(fontClass);
if (t instanceof FontTag) {
return (FontTag) t;
}

return null;
}

Expand All @@ -1290,7 +1288,7 @@ public FontTag getFontByName(String fontName) {
if (fontName == null) {
return null;
}
for (Tag t : getTags()) {
for (Tag t : getCharacters(true).values()) {
if (t instanceof FontTag) {
if (fontName.equals(((FontTag) t).getFontName())) {
return (FontTag) t;
Expand All @@ -1313,7 +1311,7 @@ public FontTag getFontByNameInTag(String fontName, boolean bold, boolean italic)
if (fontName == null) {
return null;
}
for (Tag t : getTags()) {
for (Tag t : getCharacters(true).values()) {
if (t instanceof FontTag) {
FontTag ft = (FontTag) t;
if (fontName.equals(ft.getFontNameIntag()) && ft.isBold() == bold && ft.isItalic() == italic) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
package com.jpexs.decompiler.flash;

import com.jpexs.decompiler.flash.action.Action;
import com.jpexs.decompiler.flash.action.flashlite.ActionFSCommand2;
import com.jpexs.decompiler.flash.action.flashlite.ActionStrictMode;
import com.jpexs.decompiler.flash.action.special.ActionEnd;
import com.jpexs.decompiler.flash.action.special.ActionUnknown;
import com.jpexs.decompiler.flash.action.swf3.ActionGetURL;
Expand Down Expand Up @@ -1438,7 +1440,7 @@ public List<Tag> readTagList(Timelined timelined, int level, boolean parallel, b

boolean doParse = true;

if (((parseTags && !parallel1 && doParse) || (tag.getId() == ExporterInfo.ID)) && (tag instanceof TagStub)) {
if (((parseTags && !parallel1 && doParse) || (tag != null && tag.getId() == ExporterInfo.ID)) && (tag instanceof TagStub)) {
tag = resolveTag((TagStub) tag, level, parallel, skipUnusualTags, lazy, true);
}
if (tag instanceof ExporterInfo) {
Expand Down Expand Up @@ -1935,6 +1937,11 @@ public Action readAction() throws IOException {
actionLength = readUI16("actionLength");
}
switch (actionCode) {
// Flash lite Actions:
case 0x2D:
return new ActionFSCommand2(getCharset());
case 0x89:
return new ActionStrictMode(this);
// SWF3 Actions
case 0x81:
return new ActionGotoFrame(actionLength, this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ public class SourceGeneratorLocalData implements Serializable {
* Opened namespaces
*/
public List<NamespaceItem> openedNamespaces = new ArrayList<>();

/**
* Current method return type
*/
public GraphTargetItem returnType = null;

/**
* Gets full class name.
Expand Down
Loading