Q:

Flash Player - add trusted location without preferences panel

I've written a python program that uses flash player for displaying flv videos from web. Unfortunately, user can't use it unless he add program's directory to trusted locations in Flash Player's pref panel. Is there any way to do it programatically without using that panel? It would be great if solution would work not only on Windows.

A:

write a file like my_app.cfg to
win32: $APP_DATA$\Macromedia\Flash Player\#Security\FlashPlayerTrust
MacOS: $HOME$/Library/Preferences/Macromedia/Flash Player/#Security/FlashPlayerTrust
the file will contain eg c:\path\to\my\trusted\resource
it is described here: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7c91.html

