-
Notifications
You must be signed in to change notification settings - Fork 3
00 Getting Started
First of all, please make sure you have the latest AIRSDK available on your machine.
Next, make sure to grab CoreApp, CoreUI and CoreEditor from their GitHub repositories. We recommend cloning them via Github for Mac or Github for Windows. We also recommend storing all of the downloaded repos in the same parent folder.
Once you've got the basics set up, import the CoreApp, CoreUI and CoreEditor ActionScript Library projects into a workspace within your editor of choice. For simplicity's sake, these tutorials will only provide instructions relating to the latest version of Adobe Flash Builder, if you're using a different editor, hopefully the functionality shouldn't be drastically different.
In Flash Builder, navigate to "File/Import Flash Builder Project...". Select "Project Folder" in the pop up and browse to each of the repo folders downloaded earlier in turn.
CoreEditor also has a dependency on CoreAppEx, which is stored within the CoreEditor repo, so make sure to add this ActionScript Library project to your workspace too.
Finally, you need to import the CoreEditor_AIR project in order to run editor extensions. Import this project from "[Your repos directory]/CoreEditor/coreEditor_AIR".
You may experience an error in CoreUI where it's failing to find certain assets. If so, this is probably due to the ActionScript Library Build Path failing to resolve the path "${DOCUMENTS}\CoreUI\coreSkins". To solve this, set the ${DOCUMENTS} folder to be the parent folder containing all the repos you just downloaded.
If you'd prefer to download and skip through the code rather than rewrite it yourself, you can download the CoreEditor-HelloWorld-Example-as tutorial repository from GitHub. In order to skip through the code you'll need to open a Git command line tool and make sure the directory within the tool is set to the directory you downloaded the tutorial into (in my case that's "D:/Github/CoreEditor-HelloWorld-Example-as"). In Windows, you can easily do the above by opening the GitShell command line tool from within the Github for Windows client, look in the "tools and options" menu.