Tuesday, August 18, 2009

My Blog is on AXNA/MXNA

This morning came with a big surprise for me. I was just browsing the blog list on Flex devnet and found that my blog is also registered with MXNA/AXNA (Macromedia/Adobe XML News Aggregator). I wasn't aware of this thing so it was a pleasant surprise for me and it made my day.
So, from now on, my posts can also be seen on Flex devnet. :)

Cheers!

Friday, August 7, 2009

Hyperlink Component

So many times I see people ask for Hyperlink kind of component in Flex. Though there is LinkButton available in Flex framework but it does not give the feel of traditional hyperlink as it is in HTML. Therefore I tried tweaking the Label component a bit and I guess it is exactly like traditional hyperlink. Trust me, it was far more easier than the imagination. Check out the code below:

package com.components
{
import flash.events.MouseEvent;

import mx.controls.Label;

public class HyperLink extends Label
{
public function HyperLink()
{
super();
this.setStyle('color','#0000FF');
this.addEventListener(MouseEvent.MOUSE_OVER,mouseOverHandler);
this.addEventListener(MouseEvent.MOUSE_OUT,mouseOutHandler);
}

override protected function commitProperties():void{
super.commitProperties();
this.buttonMode = true;
this.useHandCursor = true;
this.mouseChildren = false;
}

private function mouseOverHandler(e:MouseEvent):void{
setStyle('textDecoration','underline');
}

private function mouseOutHandler(e:MouseEvent):void{
setStyle('textDecoration','normal');
}
}
}

You can use this component directly.

Let me know if you like it. :)

Cheers!

Thursday, August 6, 2009

Flex HackrChallenges

HackrChallenges is a step taken by a group of Adobe evangelists in India to attract Flex users. I found it interesting because they have started it with a small Flex challenge. I hope it would grow positively in near future.

One more good thing is that they have created a new forum which contains some useful things and it is completely dedicated to Flex. Though it is in beta currently but I feel it is worth visiting.

It's been a long time

It has really been a long time since I wrote my last post. I can give thousands of reasons for that :)
but that would really be shameful, isn't it ;). But as they say its better late than never, I am trying to come back again. This time I would try (not PROMISE) to become more active on this blog.
Again I would be writing about some flex related topics and my findings (if any) on Flex.

Keep visiting, I will post something very soon.

Cheers!