Home » Archive

Articles in the _Featured Category

ActionScript 3.0, Flex 4, _Favourites, _Featured »

[30 Dec 2009 | No Comment | ]
Let’s explore the new Flex 4 features building a full screen XML-driven VideoPlayer gallery

In this article we’ll build an XML-driven video gallery exploring a lot of new Flex 4 features (out in spring 2010): skinning spark components, spark containers, new states and transitions; but we’ll also use some “old” concepts like itemRenderers, custom events dispatch, load data from an xml file (using the Singleton design pattern), value objects, embedding fonts, css and a lot of other useful stuff when you develop Flex applications.

Arduino, Flex 3, _Featured »

[29 Oct 2009 | 3 Comments | ]
Arduino and Flex: connect a joystick to your application

In this sample, we’ll connect a joystick to a Flex application.
Using Firmata 2.* and as3Glue library, your Arduino board can then communicate with your Flash/Flex/Air application.

3d parts libraries, ActionScript 3.0, Adobe, Flex 3, Papervision 3D, _Featured »

[8 Oct 2009 | 3 Comments | ]
Augmented Reality using Papervision3D and Flex

Augmented reality (AR) is a term for a live direct or indirect view of a physical real-world environment whose elements are merged with (or augmented by) virtual computer-generated imagery - creating a mixed reality.
The augmentation is conventionally in real-time and in semantic context with environmental elements, like for example sports scores on TV during a match.

Adobe, Flex 3, Real Time Collaboration, _Featured »

[18 Sep 2009 | One Comment | ]
How to develop and eLearning Platform using Flex and Adobe Flash Collaboration Service (AFCS)

In this article we’ll use the Adobe Collaboration Service components (codeName : CoCoMo) to develop a simple eLearning platform with following features:
1) WebCam
2) Audio on/off
3) User List
4) Text Chat
5) Shared notes
6) Shared whiteboard

ActionScript 3.0, Flash AS 3, Flex 3, _Featured »

[12 Sep 2009 | One Comment | ]
Define and call javascript functions directly inside an AS3 class (FL / FX)

ActionScript 3.0 doesn’t manage all developers needs, so often they have to use other languages, as JavaScript, to accomplish some operations like open an HTML popup or get the userAgent property, useful to know the user Browser.
The AS3 ExternalInterface class allow to invoke Javascript functions directly from Flash.
Usually these functions are defined inside the HTML page but in this sample we’ll see how to implement them inside an ActionScript class, avoiding to edit HTML code.

3d parts libraries, Adobe, Flex 3, _Featured »

[11 Aug 2009 | No Comment | ]
Build a STORE LOCATOR using FLEX GOOGLE MAP (FX3)

I was playing with the Flex Google Map API and I think one of the coolest stuff is the Direction feature.
In few words, you can do a query like this: “from Milano to Torino” and you’ll get:
1) Distance
2) Trip duration
3) The complete travel displayed on Google Map
4) Many other usefull info (check GoogleMap website to get the API reference and other samples)
In this script I simulate a Store Locator, where user digits its city in a TextInput and at the same time he can selects a store from a List.
Each time user will …

ActionScript 3.0, Adobe, Flex 3, _Featured »

[9 Aug 2009 | One Comment | ]
Warning messages binding the ‘data’ property inside an itemRenderer (FX3)

Problem: when you bind the data property inside an itemRenderer you got the following message:
warning: unable to bind to property ‘label’ on class ‘String’ (class is not an IEventDispatcher)

Solution: populate the data Provider using a Value Objects