AS3 Tip: I need to know when the mouse leaves the stage

I saw some people asking about it, so… here’s the answer.

In the AS3, when you need to know if the mouse leaves the Stage, you just have to add the Event.MOUSE_LEAVE to it.

UPDATE: I’ve created an example, so you can see how it works.

Read more…

Flex DateChooser and DateField problem

I found a little problem on Flex DateChooser component. When you try to select the date 10/12/2008, the value of the selectedDate of the component is Sat Oct 11. If you try to set the selectedDate to 10/12/2008, the component will show the day 11 again! Don’t try to change the date of your system to day 12, this doesn’t work too. :)

I’m trying to find a way to fix it, if you have a solution to this problem, please tell me.

UPDATE: The problem is with the GTM, I set the GMT to 0000 on my system and the problem simply disappeared. I think there’s a little bug on the Date class, because when you show the selected date on the component, it shows a different GMT for the day 11.

wiseup_capa

Wise Up

Adobe Flash Player 10 (Astro) Beta

Launched the new Flash Player, still in beta version, with new features and some bug corrections. The new Flash Player is available to Windows, Mac and Linux.

Download Flahs Player 10 Beta: http://labs.adobe.com/downloads/flashplayer10.html

See the release notes for details: http://labs.adobe.com/technologies/flashplayer10/releasenotes.html#features

Starting With Adobe AIR – Flash

If, like me, you always dreamed of migrating your Flash applications to desktop, now there is a solution. In fact, some solutions already existed, such as Zinc. But, it was very difficult to use, since you had to compile your Flash application, and then generate the executable file with Zinc, to run it in the desktop.

Imagine now what it would be like to make this process a lot of times, for each test of your application. It seems hard, right?
Fortunately, Adobe launched its own solution, which allow us, developers, to create Flash, Flex or HTML/JavaScript applications that run in desktop on the AIR plataform.
Read more…