Archives by date

You are browsing the site archives by date.

  • EaselJS v0.4

    The new Canvas element in HTML5 is powerful, but it can be difficult to work with. It has no internal concept of discrete display elements, so you are required to manage updates manually. The Easel Javascript library provides a retained graphics mode for canvas including a full, hierarchical display list, a core interaction model, and…

  • Loading HTML-formatted text in a dynamic text field

    Although it is very easy to format your text at authoring time, it is not the case when you load text dynamically in a dynamic text field. The best way to format your text in that case is to use HTML. The following tutorial shows you how to format and load HTML-formatted text in a…

  • Loading tab contents with AJAX

    This is the first demo that shows the built-in effect framework in action. We use an effect called ajax to load the pane contents from an external page: View component

  • Drawing with JavaScript in HTML5 vs ActionScript 3 in Flash

    HTML5 introduces an element called a “canvas” on which we can use JavaScript to draw. This offers a quick and easy approach to drawing dynamic content. This article will compare this relatively new (and not yet cross-browser compatible) option for drawing to Adobe Flash’s ActionScript 3. JavaScript and ActionScript have common roots as they are…

  • HTML5 Avoider Game Tutorial: Multiple Moving Enemies

    Michael James Williams on Oct 29th 2011 This entry is part 2 of 2 in the series HTML5 Avoider Game Tutorial In the first part of this series, you learned the basics of using JavaScript and the canvas element to make a very simple HTML5 avoider game. But it’s too simple – the single enemy…

  • JavaScript Animation Basics

    Learn how to do simple DOM animation using the new requestAnimationFrame API. View Tutorial

  • Create a QR Code Generator in Flash Using AS3

    QR codes are everywhere these days: magazine advertisements, billboards, even TV commercials. Chances are you have a phone in your pocket that can read a QR code and decode the URL or message contained within. In this tutorial, you’ll learn how to create a SWF that can reverse the process: create a QR code from…

  • Using The Accelerometer Sensor in ActionScript 3

    You can track the rotation of a mobilde device by using the accelerometer sensor on it. Techniques making use of the accelerometer may be used to rotate the screen when the device is rotated or to control an object in a game by rotating the phone. Interacting with your smart phone by rotating it around…