Can’t get the swf’s working
Posted: 26 March 2008 04:57 PM   [ Ignore ]
Rank
Joined  2008-03-26
Total Posts:  3
New Member

I built a multi touch table and it’s working great, I can run config and calibrate it. but i can’t get any of the swf files in the clients folder to work, or for example the ripples as3 file.

I have written a simple drag and drop program in AS3 and now i want to rewrite it to accept touschreen input. But how do I do this??

I have flosc 1.04
OSC is running

Something else I noticed is that i can run the puzzle demo from multigesture.net
http://www.multigesture.net/wp-content/uploads/2007/11/puzzlegame-v01.zip
but only if I run the .exe and not if I compile the swf with flash

I have flash CS3 and flashplayer 9

Anyone understands why FLASH doesn’t get the touchevents??
Help would be very much appreciated, if i understand how to get touchevents to flash I can rewrite my own prog for touch table

thanx
Robert

Profile
 
 
Posted: 26 March 2008 08:16 PM   [ Ignore ]   [ # 1 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

You need to add the swfs or the folder where the swfs are located to your global security settings. Go here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html and add the files or folder to the locations.

As for getting touchevents, there will be a tutorial out soon that’ll explain how to create touch based applications.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 26 March 2008 08:23 PM   [ Ignore ]   [ # 2 ]
Avatar
RankRankRankRank
Joined  2008-01-04
Total Posts:  676
Moderator

Tutorials would be great! I have started a few SWF based projects for Multi-touch that sorta work, but my programming skills are pretty limited confused

Can’t wait!

 Signature 

Get Sparked at sparkon.net
ORION Multi-Touch Display (blog)
My YouTube

Profile
 
 
Posted: 26 March 2008 08:48 PM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRank
Joined  2007-09-07
Total Posts:  272
Sr. Member

@cerupcat ...  i was looking for that link on the earlier posts… then i realized it was on the thread that darius started rasberry ...

hope this works for you robert

cheers!!!

 Signature 

cheers!!!

deej
http://therealdesktop.blogspot.com

Profile
 
 
Posted: 27 March 2008 10:43 AM   [ Ignore ]   [ # 4 ]
Rank
Joined  2008-03-26
Total Posts:  3
New Member

Tutorial would be great but for now we are trying to reverse engineer from given code..
First of all thanx! After setting the Global security settings the tutorials in the the touchlib folder all worked.

Now as I said, I am trying to reverse engineer on ripples as the code is written very well and understandable (and one of the very few examples i’ve found that have source code provided.

Ripples is here: http://nuigroup.com/forums/viewthread/1465/
http://nuigroup.com/?ACT=28&fid=33&aid=729_os2qR5ow4kiN5irNsfyC (download)

However I can’t start ripples, I get the following error:
1046: Type was not found or was not a compile-time constant: TouchEvent.

Perhaps any suggestions??
help would be much appreciated

Edit: I think I’m just missing the classes with the touch events, but where could I find em?

By the way I noticed how you all are troubled with adding a glue like soft layer on the screen to increase blob size, but we just put the paper for the beamer on the not touch side, and this works very well, when touching on the bare acryllic.
(The IR light just passes through and is a little more diffused by the paper layer on the backside)

Profile
 
 
Posted: 27 March 2008 01:02 PM   [ Ignore ]   [ # 5 ]
Avatar
RankRankRankRankRankRank
Joined  2007-04-08
Total Posts:  2539
Dedicated

First, I’m glad you got the security settings working.

Next, ripples isn’t the only application with source code provided. Download TortiseSVN http://tortoisesvn.net/downloads which will let you download the AS3 folder from the touchlib svn. Once tortise is installed, make a new folder somewhere, right click it and select svn checkout. Then put in this link http://touchlib.googlecode.com/svn/trunk/AS3/ That will download the AS3 folder to your folder. Examples are under the src folder with included fla files. The touchlib svn is where all the newest examples and core are located and updated.

As for your “glue like soft layer” that is known as a “compliant surface” and usually is silicone rubber. The reason it is used is because keeping blobs while dragging is very hard without a compliant surface.  You’ll find that it’s hard to drag things without one.

 Signature 

MTmini, MTbiggie, & Audiotouch creator & Community Core Vision Co-founder

Follow on:
My Blog | Facebook | Twitter | Youtube

Profile
 
 
Posted: 09 April 2008 01:44 AM   [ Ignore ]   [ # 6 ]
Rank
Joined  2008-03-23
Total Posts:  33
New Member

Dear cat,
I am looking forward for your tutorial, limited spare time for research, and elites in NUIgroup turely speed up our project!

Profile
 
 
Posted: 09 April 2008 02:02 AM   [ Ignore ]   [ # 7 ]
Rank
Joined  2008-03-23
Total Posts:  33
New Member

besides, the security setting should be mentioned along with the README of osc->flosc->flash,
this problem legged me for two days!

Profile