53,668 views 87 comments

Community Core Vision (CCV) – Flash Application Setup

For testing and fun, several demo and complete applications can be downloaded in flash (swf) format. The following guide shows how to run the applications using your touch surface and Community Core Vision.

Requirements

  • Flash Player Projector – This is a flash player that runs outside of your browser
  • FLOSC (CCV 1.1 and below only)
  • Java 6+ is required for running FLOSC (CCV 1.1 and below only)

Flash Demo Application Setup

1. Download some flash demos. You can find the nuigroup (MTmini video) flash example clients here and some of my own applications here.

  • If you’re using CCV 1.2+, skip to step 4.
  • If you use an older version of CCV,version 1.1 or below, and don’t have the Send to Flash communication mode option, keep reading or download the latest version.

2. Double-click the Launch FLOSC Gateway. Mac and Linux users, open the file using the terminal.

Openflosc_thumb[2]

3. Windows users, make sure to click Start once FLOSC launches. On all platforms, the command line (terminal) should display created.

Terminal_thumb[2]

4. In order to run demo swf files, security settings first need to be set. Go to Flash Global Security Settings. Click on Edit Locations. and then Add Location.

Security1_thumb[2]

5. In the Trust this location box, put in the absolute path or browse to the folder where the demo swf files are located. Click Confirm and you’re done. Any future swf files added to the demo folder will automatically have permissions set.

Security2_thumb[2]

6. Launch a flash swf application by opening the file using the Flash Player Projector.

7. Send tracking information from CCV to flash by:

  • (CCV 1.1 or below), turn on Send TUIO in CCV
  • (CCV 1.2+), turn on Flash XML in CCV

8. Put your fingers on the touch surface to see if input is being received. If it is not, make sure to review the above steps and check that CCV is properly configured. If input is received, but not in the correct location, make sure to perform calibration.

Note: If you’re getting a black screen when running a flash application, use flash player 9 instead of flash player 10 here: http://kb2.adobe.com/cps/142/tn_14266.html

attributed source: nuigroup.com

Community Core Vision Configuration Guide

Community Core Vision Calibration Guide

Community Core Vision Guide Overview

Did you enjoy this post?

Comment Below , Follow Me on Twitter , Follow Me on Facebook , or Network with Me on Linkedin

  • rodolfo

    no me funciono :/ soy de mexico

  • jim

    i have a question how to use it as a mouse

  • JIMANGEL

    HOW TO USE IT AS A MOUSE

  • Jeff Richtman

    I keep getting error This socket was connected but the connection is now broken.
    running linux mint 64bit. I have checked global flash permissions from the flash projector, made sure all parts are running as the same user etc.

  • Anuj

    sorry to say but i am not able to find any Launch FLOSC Gateway in demo folder all of them are .swf file and folders related to it but there is no Launch_FLOSC_Gateway.sh please help me! am i looking at wrong place?

    • Hi, you can download FLOSC under the ‘requirements’ link at the top of this article.

  • berukai

    Hey Seth!
    I have to say that it’s great work. But how can it be used as a mouse? I’ve been trying to solve this for hours. Please help me out.
    Thanks.

  • ujwal

    hey Seth i got a problem. i successfully configured the ccv and calibrated the points and i can see the blobs but its not working in the demo projects i even looked at the http://nuigroup.com/forums but found nothing Please HELP!

    • Hi, what part isn’t working? What’s happening?

    • ujwal

      I checked the flash xml option in ccv but the flash demos are not giving respone to tracking points. i think ccv is not able to send the tracking data to flash

    • Have you set the flash global security settings? Are you using FLOSC as well? If sending flash xml, you need to also use FLOSC.

    • ujwal

      Yes!

  • jfox

    hey seth…just discovered this and have been having so much fun with my projects. im using windows 8 and ccv 1.4 i can get everything to work but then i downloaded the demos and i cant open them at all…i followed the instructions above…the only way i was able to open them was in windows media player =( i have gone to the nuigroup forum but no help there,,,,is there something else i need to download to open these apps…if so do you have a link

    Thanks

  • piyush

    what i do after calibrtion of ccv 1.4 for cursor movement or touch is there any software required??

    • For cursor/mouse movement, you should try one of the Mouse Drivers here: http://sethsandler.com/multitouch/

    • MohammadMubin

      Hey Seth Sandler i have a Error when Running Bloom .SWF

      Here the error:

      TypeError: Error #2007: Parameter type must be non-null.
      at flash.events::EventDispatcher/addEventListener()
      at touchapi.core::TUIOSocket$/activateDebugMode()
      at touchapi.core::TUIOSocket$/init()
      at touchapi::TouchAPI$/init()
      at app.demo.bloom::Main()

  • jack001214

    hey seth i got everything to work but other games here a pic (mac) http://s4.postimg.org/6eeuwmrnh/Screen_Shot_2015_02_02_at_8_19_55_PM.png so any fix

    • The blobs aren’t coming into the paint application?

  • Pingback: Kinect Research | Group Blog()

-->