In this tutorial, we will demonstrate methods of saving the content of a HTML5 Canvas object using server side scripting. PHP will be used in this example, but the technique can be applied in other languages as well. This post requires understanding of Javascript, HTML (especially forms and/or AJAX). PHP is used in the example […]

HTML

First, get the Facebook code that you’d like to use. There are several variations described here: https://www.permadi.com/blog/2010/10/adding-facebook-like-widget-button-to-your-web-pages/ An example code is shown below (depending on which options you chose, the code may look slightly different: The section to pay attention to is This contains the URL to ‘like,’ and we will modify the value depending […]

Using modules enhances scalability (i.e.: your application code does not have to reside in one swf, which quite possibly will grow very large as features are being added).  In this tutorial, we explores how to create and load a Module in a Flex Builder Action Script project. Create an Example Project Create a new Action […]

Adobe Flash

So this is an old news, but I installed Froyo on a Nexus One phone and here are the two changes I noticed: Sleeker home screen.  There are now three peranent icons on the bottom of the screen, Phone shortct, Applications shortcut, Browser shortcut.  The Application screen seems to have longer trails (the perspective icons […]

It has been a long time since Java was introduced and Java is no longer the darling it once was in the web-app arena or applets; partly because much of its functionality has now been replaced by Flash and Javascript.  Although Java is still a force in the back-end/server side and enterprise arena, you don’t […]

Using FileReference, you can allow user to upload files from their computer to be used. This can be useful in applications such as photo processing applications, image manipulation applications, etc. For more information, see: https://www.permadi.com/blog/2009/05/actionscript-3-using-file-reference-to-load-local-swf/ Here’s the general outline of the steps required to load a file from user’s computer. Note that these steps require […]

WebM is the new media-container format announced by Google during the Google I/O conference this year. For a broad overview of WebM, see this post: https://www.permadi.com/blog/2010/05/webm-overview/ WebM is based on MKV (Matroska) container format, which uses EBML structure to store informations, tagging and organizing data in hierachial tree-like structure.  EBML is a basically binary version […]