Skip to content

Commit

Permalink
docs: Correct Apache Flex SDK compiling guide
Browse files Browse the repository at this point in the history
Change -compiler.debug to -debug to make it work in powershell.
It gets tripped up by the period in the argument name.

Change -output to -o to make it shorter.

Make note of the capitalization of the file name.
It won't compile unless the casing matches that of the class name's.
  • Loading branch information
britt-j authored and evilpie committed Sep 9, 2024
1 parent 544270d commit 8ab225a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ This is a free and open source SDK capable of compiling ActionScript 3 code. It
4. Define the `FLEX_HOME` and `PLAYERGLOBAL_HOME` environment variables to the path of the extracted SDK root, and the path of the `<sdk-root>/frameworks/libs/player` subdirectory, respectively.
5. Edit `<sdk-root>/frameworks/flex-config.xml` and change `<target-player>27.0</target-player>` to `<target-player>32.0</target-player>`.

After `mxmlc` is set up, create a file `test.as` in a text editor, per the following template:
After `mxmlc` is set up, create a file `Test.as` (note the capitalization) in a text editor, per the following template:

```as
package {
Expand All @@ -247,10 +247,10 @@ trace("Hello World!");
Then compile it using:

```sh
mxmlc -output test.swf -compiler.debug=true Test.as
mxmlc -o test.swf -debug Test.as
```

You may want to use Docker instead - something like `docker run -it --rm -v ${PWD}:/src jeko/airbuild mxmlc -output test.swf -compiler.debug=true Test.as` works well.
You may want to use Docker instead - something like `docker run -it --rm -v ${PWD}:/src jeko/airbuild mxmlc -o test.swf -debug Test.as` works well.

### RABCDAsm

Expand Down

0 comments on commit 8ab225a

Please sign in to comment.