mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-02 20:27:10 -05:00
21 lines
2 KiB
Markdown
21 lines
2 KiB
Markdown
|
## Scratch 2.0 editor and player
|
||
|
This is the open source version of Scratch 2.0 and the core code for the official version found on http://scratch.mit.edu. This code has been released under the GPL version 2 license.
|
||
|
|
||
|
If you're interested in contributing to Scratch, please take a look at the issues on this repository. Two great ways of helping Scratch are helping us identify bugs and documenting them as issues or fixing issues and creating pull requests. When submitting pull requests please be patient. The Scratch Team is very busy and it can take a while to find time to review the pull requests. Your code may require changes before being accepted or may not be suitable to acceptance. The organization and class structures can't be radically changed without significant coordination and collaboration from the Scratch Team. These types of changes should be avoided since they would impact the official version.
|
||
|
|
||
|
### Building
|
||
|
To build the Scratch 2.0 SWF you will need [Ant](http://ant.apache.org/), the [Flex SDK](http://flex.apache.org/) version 4.10+, and [playerglobal.swc files](http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html#playerglobal) for Flash Player versions 10.2 and 11.4 added to the Flex SDK. Scratch is used in a multitude of settings and some users have older versions of Flash which we try to support (as far back as 10.2).
|
||
|
|
||
|
The build.properties file sets the default location for the Flex SDK. Create a local.properties file to set the location on your filesystem. Your local.properties file may look something like this:
|
||
|
```
|
||
|
FLEX_HOME=/home/joe/downloads/flex_sdk_4.11
|
||
|
```
|
||
|
Now you can run Ant ('ant' from the commandline) to build the SWF.
|
||
|
|
||
|
### Debugging
|
||
|
Here are a few integrated development environments available with Flash debugging support:
|
||
|
* [Intellij IDEA](http://www.jetbrains.com/idea/features/flex_ide.html)
|
||
|
* [Adobe Flash Builder](http://www.adobe.com/products/flash-builder.html)
|
||
|
* [FlashDevelop](http://www.flashdevelop.org/)
|
||
|
* [FDT for Eclipse](http://fdt.powerflasher.com/)
|