Main

Flex Archives

April 10, 2007

Is Flex looking for friends in MySpace?

I just found a Adobe Flex profile in MySpace and it invites PHP developers, Ruby developers, .NET developers, Flash developers, Java developers, ColdFusion developers to make friendship.

Its exposing its capability for video and audio too...

Its fun reading the page.

Subbu ;)

April 12, 2007

Typing Arrays in ActionScript 3.0

It would be very useful if we are able to type the Arrays as we do in Java.

Here is the solution:

http://www.dannypatterson.com/Resources/Blog/EntryDetail.cfm?id=98

You can basically add the following metadata tag to have a type-safe Array:

[ArrayElementType("Number")]
public var numlist:Array;

Quite useful! Is it not?

April 16, 2007

New APIs from Adobe Labs

Adobe Labs has released the APIs for YouTube, Flickr, Maapr, Odeo and libraries for parsing/using RSS/Atom feeds.

This allows developers to create some quite useful applications with these APIs in much more faster and efficient way.

I was writing one API for Flickr for myself, but stopped working on that, since I just got these robust APIs, to help me concentrate on my application features, rather than working on these.

Thanks Labs.

April 26, 2007

Adobe Flex 2.0 is now open source!

Its exciting and great news that Adobe made Flex 2.0 as open source. This will definitely help the industry's most advance software to reach high. We can expect more growth and development in future.

It is available under Mozilla Public License (MPL).

Its a very good move...

May 2, 2007

TODO/FIXME Task support for Adobe Flex Builder

I found a useful tool for Flex Builder similar to Eclipse's Java Development Tool JDT. A very useful plugin and I started using it.

It reminds me of the ToDos and FixMe comments I mark during development. Pretty cool plugin.

A good guide for Adobe Flex coding guidelines

I just got a good document for coding in ActionScript and Flex.

Hopefully, I need make sure myself to follow these guidelines... ;)

Click here to download...

Happy coding..!

I prefer Number type over int

I have decided to use 'Number' type over 'int' for my code.

Do you want to know why?

Please read what Kuwamoto and Grant Skinner says.

July 5, 2007

Using mx_internal namespace

When extending Flex's built-in components, you might need to use 'mx_internal' namespace, to call the methods in the super class which are declared with 'mx_internal' namespace.

There are two ways to do this.

1. Import mx.core.mx_intertnal class and add 'use namespace mx_internal;' script just below your 'import' statements.
2. Otherwise, you can explicitly call the method by prefixing 'mx_internal::' before the method.

Happy coding!

Assigning a default style for your custom styles

I was wondering how to assign a default style to my custom style property while developing a custom component. After some search in the Flex Help, I found this solution:

private static var classConstructed:Boolean = classConstruct();

private static function classConstruct():Boolean
{
if (!StyleManager.getStyleDeclaration("titleBackgroundSkin"))
{
// If there is no CSS definition for StyledRectangle,
// then create one and set the default value.
var newStyleDeclaration:CSSStyleDeclaration = new CSSStyleDeclaration();
newStyleDeclaration.setStyle("titleBackgroundSkin", mx.skins.halo.TitleBackground);
StyleManager.setStyleDeclaration("Chat", newStyleDeclaration, true);
}
return true;
}

This might result '1000: Ambiguous reference to setStyle' error, if you are using mx_internal namespace to call the methods declared with 'mx_internal' namespace. To solve that, try calling the method, by explicitly prefixing 'mx_internal::' before the method. Refer my previous post for more information.

January 21, 2008

Flash/Flex/AIR wallpapers

Found some good nice desktop wallpapers on Flickr for Flash, Flex and AIR. Click here to visit and download.

Vector versions are available here, for you to make your own.

About Flex

This page contains an archive of all entries posted to Subbu in the Flex category. They are listed from oldest to newest.

Flash is the previous category.

General is the next category.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.34