Posts Tagged ‘Flex’

My presentation at SSN

Last weekend, I was at SSN College. I gave a presentaion on Flash/Flex and the RIA arena. It was great to see the college after many months. Although my demo app backfired without any explanation, the presentation was a success!

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 [...]

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 [...]

FreeLayoutContainer

Finally i found time to post. FreeLayoutContainer is a little component i put together in my spare time. As many of you know, in Flex, there are three layout options. Horizontal, Vertical and Absolute. And for each of these layout options we have containers, HBox, VBox and Canvas.
I was thinking, why not have a container [...]


Creative Commons License