Problem : Flash Touches Offset
Posted: 28 July 2008 08:36 PM   [ Ignore ]
New Member
Avatar
Rank
Total Posts:  73
Joined  2008-06-17

When running the test flash apps, ill start OSC, then start AS3/src/deploy/flosc/run.

When I open a flash application I “ctrl f” to fullscreen it.

I’m using the native res of the projector, 1280x720 16:9 widescreen.

Heres the problem: The touches are offset. The offset is about 3 inches to the right of where I’m touching.

Is this because of the resolution that I’m using, or am I missing a step in starting up a flash application?

Any help would be much appreciated.

Profile
 
 
Posted: 28 July 2008 10:18 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  596
Joined  2008-02-12

Are the C++ apps running properly?
If they are then it could be your resolution issue. If they arent you have to run your calibration…

 Signature 

My MultiTouch Blog

Profile
 
 
Posted: 28 July 2008 10:19 PM   [ Ignore ]   [ # 2 ]
New Member
Avatar
Rank
Total Posts:  73
Joined  2008-06-17
Taha - 28 July 2008 10:18 PM

Are the C++ apps running properly?
If they are then it could be your resolution issue. If they arent you have to run your calibration…

Yes all the C++ apps are perfect, spot on, this only applies when I’m using the flash apps.

Profile
 
 
Posted: 28 July 2008 10:42 PM   [ Ignore ]   [ # 3 ]
New Member
Avatar
Rank
Total Posts:  73
Joined  2008-06-17

IMG_1084.jpg

Here is a picture to illustrate. My middle, index, and thumb are down, you can see that the corresponding blobs are an inch or two to the right of the actual touch point.

It is like this on every App.

Profile
 
 
Posted: 29 July 2008 02:25 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  596
Joined  2008-02-12

And this is occurring with all flash apps or just this one?

 Signature 

My MultiTouch Blog

Profile
 
 
Posted: 29 July 2008 11:10 AM   [ Ignore ]   [ # 5 ]
New Member
Avatar
Rank
Total Posts:  73
Joined  2008-06-17
Taha - 29 July 2008 02:25 AM

And this is occurring with all flash apps or just this one?

Yes all flash apps have this offset, I’ll try out some more things tonight, but I’m pretty stumpt on this!

Profile
 
 
Posted: 29 July 2008 11:37 AM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  596
Joined  2008-02-12

Hey try this i just compiled my MediaApp to your resolution(1280x720)… see if this works.

File Attachments
MediaApp.zip  (File Size: 598KB - Downloads: 40)
 Signature 

My MultiTouch Blog

Profile
 
 
Posted: 29 July 2008 12:48 PM   [ Ignore ]   [ # 7 ]
New Member
Avatar
Rank
Total Posts:  73
Joined  2008-06-17
Taha - 29 July 2008 11:37 AM

Hey try this i just compiled my MediaApp to your resolution(1280x720)… see if this works.

Cool! I’ll give this a whirl when I get home from work, Thanks!

Profile
 
 
Posted: 29 July 2008 06:49 PM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  596
Joined  2008-02-12

By Changing the Resolution was it able to fix the issue you were having?

 Signature 

My MultiTouch Blog

Profile
 
 
Posted: 29 July 2008 10:16 PM   [ Ignore ]   [ # 9 ]
New Member
Avatar
Rank
Total Posts:  73
Joined  2008-06-17
Taha - 29 July 2008 06:49 PM

By Changing the Resolution was it able to fix the issue you were having?

Taha- I tried out the application and it worked great. I tried it in both 1280x720 and 800x600 and it worked perfectly in both.

Profile
 
 
Posted: 29 July 2008 10:19 PM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  596
Joined  2008-02-12

Cool so it looks like it was a resolution issue… very interesting

 Signature 

My MultiTouch Blog

Profile
 
 
Posted: 30 July 2008 04:07 AM   [ Ignore ]   [ # 11 ]
Administrator
Avatar
RankRank
Total Posts:  204
Joined  2007-04-03

Hmm interesting, I think it depends on how you set the screen resolution in Flash. In some of my old MMA’s its hardcoded to 1024x768…
MMA Pro should use the same as your desktop… should…

Taha: Could you perhaps post a snippet on how you set the screen resolution in flash?

 Signature 

My multitouch blog: http://www.multigesture.net
Howto: Compile touchlib on windows XP/Vista
Howto: Compile touchlib on Ubuntu Linux
Downloads: Touchlib SVN builds

Profile
 
 
Posted: 30 July 2008 11:02 AM   [ Ignore ]   [ # 12 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  596
Joined  2008-02-12

Hey Falcon rite now i just hardcoded it in

[SWF(width="1280"height="720"frameRate="31"backgroundColor="0x000000")]

and i also set

fscommand("allowscale","false");

because i didnt want it to scale if the user changed their resolution… I think this is the key element.

Question to you Flacon how are you making flash run at the same resolution as the screen resolution??

 Signature 

My MultiTouch Blog

Profile
 
 
Posted: 30 July 2008 07:58 PM   [ Ignore ]   [ # 13 ]
New Member
Avatar
Rank
Total Posts:  73
Joined  2008-06-17

Yes Taha your change made your app work perfect.

The rest of the default flash clients that came with touchlib and even the MMA Pro are still all offset.

Profile