My favorites | Sign in
Logo
                
Search
for
Updated Aug 11, 2009 by ryanberdeen.com
Labels: Featured, Phase-Deploy
FlashRemixInstallation  
Remix for Flex/Flash 10

Introduction

We're very excited to start maintaining the Flash/Flex 3 port of Remix, kindly contributed by Ryan Berdeen. It includes a Flash Echo Nest SDK, some utilities for audio manipulation, and a nascent port of Soundtouch. This is strictly alpha for now.

Installation

  1. Download the free Flex 3 SDK from Adobe. You need the nightly build (the latest) of the Adobe Flex SDK. Here is the latest direct link.
  2. Also download the latest as3corelib.
  3. Unpack the Flex SDK somewhere on your computer. (We'll refer to its location as FLEX_SDK)
  4. Unpack as3corelib and copy the file lib/as3corelib.swc to FLEX_SDK/frameworks/libs/
  5. Change the targeted version of Flash for the flex compiler: modify FLEX_SDK/frameworks/flex-config.xml. Edit target-player, replacing 9.xxx with 10.0.0.
  6. Check out the latest Remix trunk, and cd into the flash/ folder.
  7. Edit line 74 of echo-nest-remix-flash-api/examples/remix/remix.mxml to include your API key.
  8. Run
  9. FLEX_SDK/bin/mxmlc -source-path echo-nest-flash-api/src flash-audio/src \
    MP3FileReferenceLoaderLib/src soundtouch-as3/src -- echo-nest-flash-api/examples/remix/remix.mxml 
  10. Open echo-nest-flash-api/examples/remix/remix.html in your browser

JavaScript Remix

After following the instructions above:

  1. Edit line 46 of src/editor/player.mxml to include your API key.
  2. Run
  3. FLEX_SDK/bin/mxmlc -source-path echo-nest-flash-api/src flash-audio/src \
    MP3FileReferenceLoaderLib/src -- src/editor/player.mxml 
  4. Open src/editor/editor.html in your browser
  5. Try running any of the examples in the examples/js folder by pasting the code into the editor.

Sign in to add a comment
Hosted by Google Code