We are currently working on making some changes in DIF. Soon we’ll have candy for you all! Check back for news!

Flash Player update available to address security vulnerabilities

Posted: March 2nd, 2009 | Author: nuno | Filed under: Actionscript3 | 18 Comments »

A potential vulnerability has been identified in Adobe Flash Player 10.0.12.36 and earlier that could allow an attacker who successfully exploits this potential vulnerability to take control of the affected system. A malicious SWF must be loaded in Flash Player by the user for an attacker to exploit this potential vulnerability. Additional vulnerabilities have been addressed in this update. Adobe recommends users update to the most current version of Flash Player available for their platform.

More information about this security vulnerability is available at:

http://www.adobe.com/support/security/bulletins/apsb09-01.html

Follow us on Twitter: @morgadin, @tiagobilou, @lofih


Dreaming in Flash Art

Posted: February 8th, 2008 | Author: nuno | Filed under: Dreaming in Flash | No Comments »

If you want to link to us for some reason, we now have this fancy logos you can use.

logo_positivo1.png

logo_positivo2.png

logo_positivo.png

It is our intent that anyone be able to use these images to represent dreaminginflash.com in a positive light so enjoy and let the world see them, if that is your wish.


MVC in Adobe Flex

Posted: January 30th, 2008 | Author: nuno | Filed under: Actionscript3, Adobe Flex | 1 Comment »

Here's a set of different perspectives in respect to the use of the Model-View-Controller software architecture when using Adobe Flex:

"MVC considered harmful" [weblogs@macromedia]

"How Flex fits the MVC models" [livedocs@adobe]

"The Flex Show - Episode 33: PureMVC Framework" [theflexshow]

Update: The follow-up by Grant Skinner is also a good read on the subject.


Why I won’t enter the eBay Flex widget contest

Posted: January 30th, 2008 | Author: nuno | Filed under: Actionscript3, Adobe Flex | 1 Comment »

After reading about the eBay Flex widget contest over at Doug's blog and seeing eBay changing the contest rules, to allow the use of open-source code licensed under the MIT or BSD licenses, I got curious and went to the site. I registered, got the API access keys and tried a couple of samples they have for download. Just like Doug said: "thought maybe I’d whip something together and enter".

While I was brainstorming today with Bilou about possible things we could do, I went over to to read the FAQ again and saw this clause:

The eBay Developer Widget Build Off Contest 2008” (the “Contest”) is open to legal residents of the fifty United States, the District of Columbia, Canada (excluding the province of Quebec) or the UK;

Since we're in Portugal, I guess we won't be entering this contest anymore. That's bad, why not open the contest for other developers?

Update: Sunny Li, from eBay, was kind enough to reply to us saying that the reason only US, CA and UK are allowed into the contest is purely legal. You can check his response here.


Metaprogramming with Actionscript3 Metadata in Flex Builder 3

Posted: January 26th, 2008 | Author: nuno | Filed under: Actionscript3 | Tags: | 3 Comments »

I first became interested in metaprogramming and metadata in Actionscript3 after reading about it on Ely Greenfield's blog here. What caught my eye at first glance was the use of flash.utils.describeType():XML, a method I've never seen anyone use in the past year of programming and reading about AS3.

Read the rest of this entry »


FITC Amsterdam 2008

Posted: January 14th, 2008 | Author: nuno | Filed under: Actionscript3, Events, FITC | No Comments »

Via the Papervision3D blog I heard about FITC Amsterdam 2008. Here are some of the talks that caught my eye:

- Papervision3D Workshop (by the Pv3D core team)
- Building Red5 Applications
- Chop the Hydra!
- Kaboom!!! Flash Pyrotechnics (and other particle effects)
- AIR Conditioning
- Adaptable Interfaces
- Flex Solutions For Your Daily Development
- etc..

Seems a nice event to attend ;)


Memory Leak Unit Test

Posted: January 7th, 2008 | Author: nuno | Filed under: Actionscript3, Adobe Flex | 3 Comments »

(or Programmatically Detecting Memory Leaks in AS3 via Unit Tests)

I've been writing unit tests for a class that deals with the loading/unloading of different types of media files. One of the tests I would like to have is a check for memory leaks. This is especially important now that we have automated our builds, so we can known instantly if a new change in the code doesn't break the behavior we're expecting.

Read the rest of this entry »


Actionscript Class Comments

Posted: December 20th, 2007 | Author: nuno | Filed under: Actionscript3, Best Practices | 1 Comment »

I've been gathering some guidelines to writing proper class documentation in Actionscript. This is so basic stuff but anyway it helps to have it written down somewhere. Here's what I have so far as general guidelines:

  • Use ASDoc block comments (Ctrl+Shift+D in Flex Builder).
  • Write in English.
  • Use a $Id$ svn/cvs keyword so everyone knows directly who did the last change on the file.
  • If importing to COM, write an example of usage.
  • Favor the use of getters and setters instead of public vars/const.
  • In the source code use the following order to keep things organized:


Another Way to Force the Garbage Collection

Posted: December 20th, 2007 | Author: nuno | Filed under: Actionscript3 | 1 Comment »

The flash.system.System class in Flex 3 SDK beta 3 has a new gc() static method that forces the garbage collection process (it works for Flash Player debugger version only). Previous to this method the only known way to force the garbage collection was the localConnection hack so this is good news.


Adobe Flex Builder 3 Public Beta 3 is out!

Posted: December 13th, 2007 | Author: nuno | Filed under: Adobe Flex | 2 Comments »

Just saw the news about the new Flex Builder public Beta 3 and I must say I'm anxious to get my hands on it. I've been working with the previous beta 2 and suffering from the slow compile/refresh times that others have also observed. But since it was a Beta we couldn't really complain, could we?

This will be the last beta prior to the launch of Flex Builder 3 and Adobe promises an overall quality and performance improvement. The Matt Chotin's beta feature overview article is the place to go to read about what's new and I'm not saying anything else until I get my hands on this baby.

If you've been out of the loop or simply too busy to check it out, Flex Builder is basically a commercial programming environment for Actionscript programming that has been growing in both popularity and features.