Category Archives: Uncategorized

EaselJS Canvas vs Flash: Moving an Image

This example shows an image moving to the mouse position inside a canvas tag compared to Flash. The HTML5 version uses the EaselJS javascript library and comes from gotoAndLearn() and Activetuts+ tutorials. Both versions are set at 60fps. View a … Continue reading

Posted in Uncategorized | Leave a comment

CSS3 Fill Background with Image

Using the CSS3 background size property to fill the background with an image. The image is scaled so that it’s smallest width or height fills the browser. View a demo here. Links: – Image Source – -moz-background-size – -webkit-background-size

Posted in Uncategorized | Leave a comment

PlayBook Error #2044 Unhandled IOErrorEvent

While porting over my Android photo upload demo application to the PlayBook I ran into: Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. The issue is that you have to get permission to access the shared file system. To … Continue reading

Posted in Uncategorized | Leave a comment

Upload Multiple Files in Adobe AIR with Zend AMF and Flex

This is a revised version of this post which allowed a user to upload a single file. Instead a user can select multiple files to upload. On the server we need to upload the Zend Framework (minimal) and create some … Continue reading

Posted in Uncategorized | Leave a comment

Upload Files in Adobe AIR with Zend AMF and Flex

This example shows how to upload files in an Adobe AIR application to a server using Zend AMF and Flex. It’s based off a blog post by Leonardo França. I found getting started with Zend AMF a bit confusing, this … Continue reading

Posted in Uncategorized | 1 Comment

Flex Mobile: Upload Photo to Server with PHP

The code below uploads a photo from a Flex mobile application to a server with PHP. When I was first searching on how to do this I came across a good tutorial on Hybrid Hacking. So I’ve basically just modified … Continue reading

Posted in Uncategorized | 17 Comments

Flex Monty Hall Problem

I made this quick example in Flex and AS3 to test different outcomes for the Monty Hall problem. View a demo here.

Posted in Uncategorized | Leave a comment

What is the best way to communicate with MySQL from a Flash application?

I asked this question on Quora and got a really good answer (read here). What I actually had to learn was how to get Flash communicating with PHP using serialization (compared to get/post requests and xml). There are two options … Continue reading

Posted in Uncategorized | 1 Comment

YUI3 StumbleUpon List

Using YUI3 YQL Query Utility to display a StumbleUpon user’s recent favorites. View a demo here.

Posted in Uncategorized | Leave a comment

Resize SWFObject with YUI3

Using YUI3 Animation to change the height of a swfobject. View a demo here. Download the FLA file here. Links: – AS3 External Interface [Update - I've redone this example with jQuery here.]

Posted in Uncategorized | Leave a comment