I am however still a bit mystified of the .fla-files. For instance the “keyboard.fla” - to me the flash project seems empty - wheres the action script?
You can find it under /lib/app/documentClass/Keyboard.as as one of the main advantages of the Flash CS3 is to define a Document class just to not needing to put your AS code in the timeline
I’m wondering where in the “keyboard.fla” the references to “keyboard.as” are? The answer is probably straightforward - a “I can’t see the wood because of trees”
Hi everyone, yeah the code for the piano/keyboard app is all in the as files and linked to the document class. So there is nothing in the flash window or on the timeline. I am in the process of rewriting the code and splitting it into multiple classes so it will be easier to update and add functionality to it. Stay tuned =)
The turntable will be cool. It’ll be hard to get an accurate scratching sound out of flash. For very close to accurate scratching, something like PD would work really well; There’s even a scratcher object for it. You could use flash for the visual and send OSC to PD for the sound (although that’s more for those that would want cleaner/low latency sound). Unfortunately that would require people to download PD.
Firstly congrats on an amazing community!
I’ve just built my first prototype DI table and its running great.
Have ongoing problems with compiling touchlib and dll manifest issues.
However somehow I have most functionality (I’ll come back to this elsewhere).
I’ve now come to check out the flash apps as I plan to develop and add to the community in this area.
OSC is running and detecting blobs fine, FLOSC is working and flash can connect to it ok.
When I run one of the flash apps I get a purple circle with coordinates that follows the touch.
I can move this circle around the screen but none of the apps function other than this?
In addition some apps don’t even do this, for example MultiKey.swf does nothing…
Please can anybody point me in the right direction?
Am I being stupid and missing something?
Hi seeper and welcome to nuigroup! We’d love to have more applications in this area =)
First, are you using the Flash files from the svn? I’d recommend downloading the ones from the svn since they are the newest versions. http://touchlib.googlecode.com/svn/trunk/ The AS3 library is what you want. If you’re using the swf files you need to set the security on the swf to be enabled for use. So open the swf, right click it, and go to camera and then “advanced.” It’ll bring up a webpage. Go to advanced security settings and add the swf folder or files to the settings. Now everything should work.