• Tutorials
  • Blog
  • About
  • Contact
  • Recent Tutorials

    Building a Multitouch Paint Canvas (Video Tutorial)

    2010 - 04.05

    drawing-1Take 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

    Read the rest of this entry

    Intro to Multitouch Presentation (Video Screencast)

    2010 - 03.05

    MultiTouchPresentationHey guys, I’d like to post this presentation that I worked on recently. I think it’ll be a great jumping off point for people that aren’t familiar with the new multitouch capabilities in Flash.

    Read the rest of this entry

    Recent Blog Entires

    Center A Popup in Flex Mobile after Orientation change

    2011 - 12.19

    How do you center or re-center a popup in Flex when a user is changing the orientation of the device?

    Maybe a user rotates the device and the view changes from landscape to portrait view and you have a popup that needs to be re-centered. So what to do . . .

    Well, I’m glad you asked. Basically, you need to listen for the Stage to dispatch a StageOrientationEvent.ORIENTATION_CHANGE event. When the orientation does change, you’ll need to wait for the view to update (or whatever magic you’re doing), give Flex a second to redraw the view by waiting a frame then center the popup. (PopUpManager.centerPopUp)

    Read the rest of this entry

    Blinking Text in Flex 4.6 – Stage Text

    2011 - 12.15

    I’m in the middle of a mobile project and just switched from Flex 4.5 to Flex 4.6. No big deal right? Night before a small deadline and I figure I better put it on an Android device and make sure everything is still looking good.

    Whoops, for some reason the TextArea that I was using had text that was disappearing. It was really odd. I’d push a view and the textarea text would show for a second and then disappear.

    Then oddly come back when clicking on stuff. What is this? Black magic? Is this the work of the devil?

    Nope, this is the work of new Stage Text feature in Flex 4.6.

    Read the rest of this entry