CLIPS+Flashfest+Set+Up

**Things that you need to set up in order to flashify some CLIPS storyboards**

 1. Install Flash CS 4

 2. Set up an FTP client.

**Instructions for downloading FireFTP in Firefox:**  - in firefox choose Tools>Add-ons  - click “get Add-ons”  - search for FireFTP & click see all results at the bottom and choose FireFTP by mime Cuvalo

**Create an account:**  **Host:** ftp://isenegger.ca  **Login:** flashfest1 or flashfest2 or flashfest3 or flashfest4  **Password:** t* 

 3. On your computer create a CLIPS folder for working in. It should have a
 * classes folder
 * TestBed folder (as many as you like, called whatever you like, but at the same level as classes)

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"> 4. Install stuff to SVN:

=<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 9pt; font-style: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-decoration: none; vertical-align: baseline;">Windows = > https://subversion.assembla.com/svn/mathclips/trunk/classes and the checkout directory is your classes folder. Click OK.
 * 1) Install TortoiseSVN 32 bit or 64 bit client from @http://tortoisesvn.net/downloads . To check what kind of operating system you have.
 * 2) Right-click on the classes folder and choose **SVN Checkout**. Make sure the URL of repository is
 * 1) Provide the Username: MathCLIPSWatcher and the password: t...o
 * 2) Click Save Authentication, if that is what you would like to do.
 * 3) All the classes will be copied into this folder from the Subversion repository and special icons with checkmarks should show on each file


 * MAC **

1. Install SmartSVN for the appropriate operating system. You will be asked to provide your email address and then will send you the link to download to your email. 2. When you open SmartSVN for the first time it will ask you what you want to do. Choose Check Out project from repository.

3. Supply the URL for the repository to be https://subversion.assembla.com/svn/mathclips/trunk/classes 4. Accept the fingerprint keys. 5. Provide the Username: MathCLIPSWatcher and the password: t...o 6. Do not use a master password 7. Highlight the classes folder and select continue 8. Answer **No** to "Do you want to additionally check out the path up to the project root?" 9. Select your local location and select continue....it should look something like this:

10. You will want to save this as a project for next time. 11. Finish

Select the classes folder from the server and choose continue and choose the CLIPS folder you recently created to export the working copy to.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 9pt; font-style: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-decoration: none; vertical-align: baseline;">**Remember to update your classes often (at least daily)** <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;">In Windows: Right click on the class (or the whole classes folder) and choose <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 9pt; font-style: normal; text-decoration: none; vertical-align: baseline;">**SVN Update** <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;">. This ensures that you have the latest version from the subversion server. <span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-decoration: none; vertical-align: baseline;">On a Mac: Open SmartSVN and choose update.

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 9pt; font-style: normal; font-weight: normal; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-decoration: none; vertical-align: baseline;">The old subversion address was [] for Windows and [|__http://67.212.74.130/svn/clips__] for Mac

To have Subversion forget a previously remembered username and password:
 * 1) Right click on any folder.
 * 2) From TortoiseSVN, select Settings
 * 3) Locate Saved Data
 * 4) Click Clear next to Authentication Data

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"> 5. Create a testbed folder for the activity you are working on inside your CLIPS folder (at the same level as the classes folder)

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"> 6. Set Classes path in Flash - Edit | Preferences | Actionscript | Actionscript 2 Settings | Click the Plus Sign | Point to the classes folder

7. Check out & bookmark the Zen docs this is where we have detailed information about all the CLIPS classes (e.g. ubButtons, ubShape, ubWait, ubFraction, etc).

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"> 8. Check out & bookmark our <span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; vertical-align: baseline;">Development site for CLIPS

<span style="background-color: transparent; color: #000000; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;">9. Download Sublime Text 3 or if your OS is not supported [|Sublime Text 2]and set up versioning on the ubLime (at path like C:\Users\Ross\AppData\Roaming\Sublime Text 2\Packages) and CLIPSSnippets (at path like C:\Users\Ross\AppData\Roaming\Sublime Text 2\Packages\ActionScript) folders. In Sublime, go to Preferences | Browse Packages to see your path.

Install Package Control
[]
 * 1) In sublime text hit **ctrl+`** to open the console
 * 2) paste the code found at the site above
 * 3) Follow the instructions and restart sublime to complete the installation.

Install DocBlockr
[]
 * 1) Go to Preferences | Package Control
 * 2) Search for ** Package Control: Install Package ** and hit enter
 * 3) Search for **DocBlockr** and hit enter
 * 4) It should say "successfully installed" in the status bar (bottom left corner of sublime)
 * 5) Comment/Uncomment multiple lines with **ctrl+/** (**cmd+/**)
 * 6) Add documentation to methods:
 * 7) On the line above a method type **/****
 * 8) Hit enter

Consider installing AAAPackageDev (needed to change Coding Language Settings), FileDiff, SortTabs, TrailingSpaces.

You may wish to edit your preferences to customize your Sublime settings. Here are the settings currently in use by some of the team: PREFERENCES : SETTINGS - USER { "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", ``/``/"Packages/Color Scheme - Default/iPlastic.tmTheme", "font_size": 12.0, | 13.0 | 10.5 "font_face": "" | "Consolas" "highlight_modified_tabs": true, "ignored_packages": [ "Vintage" ], "word_wrap": true , "draw_white_space": "all" | "selection" | "none" }

PREFERENCES : KEY BINDINGS - USER [ { "keys": ["super+;"], "command": "run_macro_file", "args": {"file": "Packages/ubLime/AddSemiColonAtEOL.sublime-macro"}} , { "keys": ["super+alt+z"], "command": "insert_timestamp" } , { "keys": ["ctrl+shift+t"], "command": "update_version_date" } , { "keys": ["ctrl+shift+alt+t"], "command": "update_all_version_dates" } , { "keys": ["ctrl+u"], "command": "update_line_numbers" } ]

10. The team uses Skype and Adobe Connect to communicate.

11. If you need to see traces from a browser install Vizzy - see [|http://www.burnedouthippy.com/2011/02/google-chrome-flash-debugger-and-tracing-in-the-browser/#more-399]