Scout logoI wanted to post a quick note about enabling your SWFs for Adobe Scout. There has been lots of discussions on Twitter and forums about that. Actually, this is something we have not really documented entirely and we will fix that very soon. Don't forget you can ask your questions on the Adobe Scout forum, we will be happy answering all your questions! Make sure you also check the Adobe Scout Vimeo channel, with video tutorials!

As you know, to get full profiling working with Scout, the SWF needs to be enabled for profiling. So to make it quick, today there are three ways to enable your SWFs with Scout.

The first way, is by using Flash Builder 4.7 and use the Telemetry option in the ActionScript compiler tab in your ActionScript project properties:

Telemetry UI

The second way to enable your SWF, which most of you probably don't know is to use the -advanced-telemetry compiler argument when using ASC 2.0. This is useful if you are using a tool like Flash Develop or any others for instance.

As a reminder, ASC 2.0 is the new compiler for ActionScript that is provided inside the AIR SDK bundled with Flash Builder 4.7 and the Gaming SDK. The UI above in Flash Builder actually just does that and appends this string to the arguments passed to the ASC compiler:


Finally, the third way to do it, is by using the post processing script. Which is useful in a scenario where you don't want to recompile the SWF, or cannot, because you don't have the sources anymore. Or if you are using Flex, because the -advanced-telemetry argument is only available in ASC 2.0 and not MXMLC. In this scenario, you just process the SWF and inject the specific tag required. We have a little Python script for that available here.

But this script requires Python and we have seen people having issues with this, so recently Renaun created this little app called Scout Enabler, which is all AS3 based, so no dependencies at all and has a nice GUI on top:

Scout Enabler

I hope this clarifies things. We will integrate that in the Getting Started document for Adobe Scout, so that it is clear to everyone and easy to find.