Traces of Touch

serendipity into the oblivion

Posts Tagged ‘flash

Arduino+Serproxy+Flash

leave a comment »

Im currently teaching a course at The Oslo School of Architecture and Design in tangible computing. The course has a theme of pain and pleasure which nearly all of the students have interpreted into pain. Guess being evil is more fun.

The reason for this post is not about the workshop even though it is fun to be back in a messy and creative studio but more of sharing how to run Arduino+Serproxy+Flash(AS3Glue)  in fullscreen. As you might know when you Publish your flash project inside Adobe Flash you get the Sandbox treatment and everything is allowed. This enables your flash project to communicate with the Serproxy that makes the whole  process work. But as you also might know  is that there isnt any fullscreen mode when you run your project from inside Adobe Flash but there is this option  when you run the swf file in the flash player.

So to give your swf file proper permissions you need to add a config file. The file should be located at

  • Windows: system\Macromed\Flash\FlashPlayerTrust(t.ex. C:\WINDOWS\system32\Macromed\Flash\FlashPlayerTrust)
  • Mac: app support/Macromedia/FlashPlayerTrust(t.ex. /Library/Application Support/Macromedia/FlashPlayerTrust)

The easiest way to approach this is to copy another config file already located there for example kuler.cfg and change  the link inside.

For example  my project is located at C:\Users\sjunnesson\Documents\Flash\AOHworkshop so I will just copy this into the config file I just created replacing whatever was in there before and then save. This should give all your swf laying in that folder full permissions to do whatever they want since they are added to the trusted list and you are ready to rock away with your flash project in fullscreen with funky inputs.

*UPDATE*

After trying a bit more I figured out that another way to get around this problem is to publish your project as a Windows project or Macintosh project. This will also give you enough permissions to run the serproxy flash combo. Might go faster in many situations.

Written by sjunnesson

December 8, 2010 at 17:16

Posted in Flash

Tagged with , , ,