Flash/Flex
The Flash/Flex applications do nothing. Twinkle works ok though. When I open the debugger output from Flash it tells me something like: "Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: Security sandbox violation" How do I fix this?
The problem is caused be Flash Player security guards that prevent Flash applications from opening random sockets. This prevents the CornerStone Flash SDK from opening a socket to the computer vision server.
To remedy the situation you need to create a new configuration file giving your Flash applications more rights. This is done by making them trusted. To achieve this you need to create a new configuration file MultiTouch.cfg in the Flash security directory. The MultiTouch.cfg should contain just one line: The name of the directory where you have your Flash files.
For example for user Jill the location of this file would be:
- OSX
/Users/Jill/Library/Preferences/Macromedia/Flash Player/#Security/FlashPlayerTrust/MultiTouch.cfg - Windows
C:\Documents and Settings\Jill\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust\MultiTouch.cfg - Linux
/home/jill/.macromedia/Flash_Player/#Security/FlashPlayerTrust/MultiTouch.cfg
The file should contain the path to the Flash applications. Example content for the MultiTouch.cfg could be (OSX):
/Users/Jill/MultiTouchDemos/bin
or (Windows):
C:\Documents and Settings\Jill\MultiTouchDemos\bin
or (Linux)
/home/jill/MultiTouchDemos/bin
Note that you will need to adjust the paths above to match the actual location of the Flash swf files.
