• Tutorials
  • Blog
  • About
  • Contact
  • Building a Multitouch Paint Canvas (Video Tutorial)

    2010 - 04.05

    Take off the horn-rim glasses and put your hair into a ponytail because we are building a multitouch paint canvas that may turn the artistic world upside down.  Ok,  maybe it’s not that exciting, but in this tutorial we build a multitouch paintable canvas as well as a large color picker component.

    Thanks for checking it out:

    drawing-1

    Here is a link to a similar drawing application that James Ward did on his blog.  Thanks for keeping it real James.

    And here is a zip file of the entire application.

    5 Responses to “Building a Multitouch Paint Canvas (Video Tutorial)”

    1. Omer says:

      thank you great tutorial

    2. Sumit Arora says:

      I have been trying to run simtouch application with my Air Application but it doesn’t seem to respond to my any of the event. Even i tried to run your drawing app but it doesn’t work Server log shows this:

      Tue May 11 14:39:13 2010
      —Selectserver started on port 6780

      Tue May 11 14:39:22 2010
      —New connection from 127.0.0.1 on socket 144.

      Tue May 11 14:40:19 2010
      —New connection from 127.0.0.1 on socket 160.

      Tue May 11 14:40:40 2010
      —Socket 160 disconnected.

      Tue May 11 14:40:42 2010
      —Socket 144 disconnected.

      I have changed port in both your application and simTouch.
      simTouch doesn’t give any error but my application doesn’t response pls help me abt that.

    3. admin says:

      This trace statement looks like you are running a third party socket server.

      There are two versions of the SimTouch Application. The newer one doesn’t require that you run an additional Socket Server, it’s built into the application.

      I’d also double check to make sure that you are working with the Air 2 SDK laid over the original Flex 4 SDK so that you have the ability to use the new UDP socket connection format.

      Hope that helps

    4. Nikita says:

      Hello.
      Can’t run this demo. Maybe I do something wrong? I download zip, SimTouch air and socket servers. After I ran servers, connect air to port 3000, change port in Drawable.mxml to 3000 too – trace in sever log shows that connections successful. But flash applicatiob not response to mouse clicks on air through air window (if I manualy dispatch touch events, i.e. not using SimTouch all works fine). Thank you.

    5. admin says:

      Sounds like you are running a third party socket server.

      There are two versions of the SimTouch Application. The newer one doesn’t require that you run an additional Socket Server, it’s built into the application but requires Air 2.0 and their new Socket Server classes.

      Hope this helps!

    Your Reply