<commit_before>flash-profiler
==============

this project aims to develop a set of open-source tools for working with the 
[flash.sampler](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/sampler/package-detail.html) API

**WARNING still very much in-progress**

prerequisites
-------------

1. [MacRuby](http://macruby.org)
1. Mac OS X 10.5
1. [Flex SDK](http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK)

building
--------

1. compile Agent.as to Agent.swf (TODO, need to make a script for mxmlc, right now I'm just doing it in TextMate)
1. Build the XCode project in the FlashProfilerApp subdirectory

usage
-----

2. find your [mm.cfg](http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide/flash_player_admin_guide.pdf) (see section 3), and:
    * add a line like: `PreloadSwf=/path/to/Agent.swf?host=localhost&port=42624`
        * set the _host_ and _port_ appropriately
3. Add *Agent.swf* to your local security domain. See previous PDF.    
4. Launch the FlashProfilerApp application.
5. Launch the Flash program you wish to debug under the Debug version of the player (standalone or in-browser)
6. Connect via the app, and go to town<commit_msg>trying to reformat to be more github-friendly <commit_after>flash-profiler
==============

this project aims to develop a set of open-source tools for working with the 
[flash.sampler](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/sampler/package-detail.html) API

**WARNING still very much in-progress**

prerequisites
-------------

1. [MacRuby](http://macruby.org)
1. Mac OS X 10.5
1. [Flex SDK](http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK)

building
--------

1. compile Agent.as to Agent.swf (TODO, need to make a script for mxmlc, right now I'm just doing it in TextMate)
1. Build the XCode project in the FlashProfilerApp subdirectory

usage
-----

2. find your [mm.cfg](http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide/flash_player_admin_guide.pdf) (see section 3), and:
  * add a line like: `PreloadSwf=/path/to/Agent.swf?host=localhost&port=42624`
    * set the _host_ and _port_ appropriately
3. Add *Agent.swf* to your local security domain. See previous PDF.    
4. Launch the FlashProfilerApp application.
5. Launch the Flash program you wish to debug under the Debug version of the player (standalone or in-browser)
6. Connect via the app, and go to town
{'fraction_non_alphanumeric': 0.1265979381443299, 'fraction_numerical': 0.018144329896907216, 'mean_word_length': 3.920892494929006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5150828', 'n_tokens_mistral': 821, 'n_tokens_neox': 773, 'n_words': 262}