Search code examples
flashapache-flexflex4flash-builder

Error unknown configuration variable 'advanced-telemetry'


I'm trying to use Scout with my Flex project and to do that I heard that you add -advanced-telemetry to the compiler arguments. When I do that get this error:

Error unknown configuration variable 'advanced-telemetry'

Am I doing this right or am I missing something?


Solution

  • I found I can add in advanced telemetry after the fact with the Scout Enabler tool.

    Testing a browser based app:

    1. After compiling the SWF to a release build I dragged it from the project release folder and dropped it on the Scout Enabler. Scout enabler provided a message that it was converted successfully. NOTE: Scout Enabler will add a prefix or suffix and if the HTML page you are using doesn't reference that project-suffix.swf file then it won't load. I just leave the suffix text field empty so my project swf is always myProject.swf (not myProject-scout.swf).
    2. Open Scout if it's not already open.
    3. Load the SWF in the browser (or actually the HTML wrapper page that loads your swf).
    4. Go back to Scout and you'll see it enabled.

    More info

    Note: It doesn't appear to work with the iOS simulator but does work with the AIR simulator.

    UPDATE:
    As others have pointed out it now works with Apache Flex release 4.10 and newer but has issues. Workarounds in the other answers.