How to use Adobe Scout with grunt-idea-project-deploy?


1) Login to https://creative.adobe.com/apps (Create a account if necessary)
2) Download Adobe Scout from https://www.adobe.com/products/gaming/tools.edu.html
3) Download and install the "AIR 3.7 & compiler" SDK from Adobe http://www.adobe.com/devnet/air/air-sdk-download.edu.html
4) Use the new compiler in your Gruntfile
5) Add asc2: true to your grunt-idea-project-deploy Gruntfile
6) Add "advanced-telemetry": "true" to the same Gruntfile

Example:

Gruntfile.js
grunt.loadNpmTasks('grunt-idea-project-builder');
grunt.initConfig({
  idea: {
    main: {
      flexHome: 'air-3.7-with-compiler-path',
      path: '.',
      module: 'common',
      compile: {
         air: {
           version: 'test',
           'package': false,
           swf: {
             asc2: true,
             'advanced-telemetry':  'true'
          }
        } 
      }
    }
  }
});

7) Compile the .swf using these new settings

  grunt idea:main

8) Open Adobe Scout.app
9) Select the important telemetry settings

10) Start the created .swf (in our case: air)

  adl common.xml

11) Select the running swf in the Adobe Scout list