Activate element on blob down
Posted: 26 May 2008 10:06 AM   [ Ignore ]
New Member
Rank
Total Posts:  6
Joined  2008-05-21

Hey.

I am trying to make some Java applications and has ranned into some problems.
I want to add some elements like a moveable picture on the stage and then when the user clicks on that image,
it will be focused and the user can dragged it around the stage.
But i just cant figure out how to make it work.
I have tryed to do:

client.addTuioListener(image)

but that does not seem to work.
I am using the demo from http://reactable.iua.upf.edu/?software to start from.

Is there somebody who know how i can do this?

Profile
 
 
Posted: 26 May 2008 04:26 PM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  6
Joined  2008-05-21

I can add a client to the class i am running from, the one that has all the elements, and can see all blobs.
But i cant add a button that the user can press. Is there somekind of a TouchListener like the one from link">http://nuigroup.com/forums/viewthread/2001/]link
that let one add components the the stage that the user can interact with?

Profile
 
 
Posted: 27 May 2008 02:29 PM   [ Ignore ]   [ # 2 ]
New Member
Rank
Total Posts:  6
Joined  2008-05-21

I found a solution the minute i was going to sleep last night smile

When the final solution is done, i will add the source code.

Profile