Archive for the ‘My Experiments’ Category

Programmatically Enable/Disable AIR Autoupdate from an AIR Application

Adobe AIR has an amazing Automatic Updates Checker built in.  But Adobe hasn’t provided any controls to enable/disable this feature, though its enabled by default. Adobe provides an AIR application called the Settings Manager to handle this. This can also be done programmatically.
Download [download id="1"].

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
layout="horizontal" height="100" width="600"
verticalAlign="middle" fontFamily="Georgia" color="#000000"
backgroundGradientAlphas="[1.0, [...]

A Magnifier – Using Flex/AS3

Here is a fun little piece of code I wrote a few days ago. I was playing around with the BitmapData APIs in AS3 and the idea of a Magnifier, which works within a Flex/AIR/Flash app, occured to me. So without further intro, here is a demo!
The logic is pretty simple. Capture the Bitmap data [...]

Adobe riathon 08

It has been a few days since Adobe riathon ‘08. Jan 17th was simply too awesome. I got to meet a whole bunch of people from Adobe, the Indian Flex Team, and best of all I got a chance to demo my entry for the riathon contest on stage.
The theme for my app was “create [...]

Flex Selection Rectangle

Selection Rectangles. Yup! Those things that come when you click and drag your mouse on your desktop. Well how do you implement them in a Flash/Flex environment? Pretty easy…

Click anywhere on the demo and drag to see the selection rectangle. On the top right, the number of items selected is displayed. Like it? Lets look [...]

FreeLayoutContainer [Part 2]

In my previous post, I had created a basic container in Flex within which any child DisplayObject was draggable. The demo was a little sluggish and not very responsive while dragging the objects around. Well…. There was a much simpler way to achieve this.
Using the startDrag() and stopDrag() functions.
package com.jeethukarthik.containers
{
import flash.display.DisplayObject;
import flash.events.MouseEvent;
import [...]


Creative Commons License