Home » Archive

Articles in the Flash AS 3 Category

AIR, AIR for Android, Adobe, Flash AS 3 »

[25 Aug 2010 | One Comment | ]
Air for Android (Flash Cs5): read XML files and use standard flash components

When you’re working with Air for Android, you could often need to load application settings (or something else) from a local XML file.

AIR, AIR for Android, Adobe, Flash AS 3 »

[25 Aug 2010 | No Comment | ]
Air for Android and Flash CS5: animate movieclips in according with the phone orientation

Another new feature in AIR for Android is the way to manage the orientation event.
To accomplish this task you can now use the orientationChange event that is dispatched every time the user changes its phone orientation.
However, in the current beta release I got some problems to use this event because I wasn’t able to get the right stage size.
So I have decided to use the standard Event.RESIZE event and the new deviceOrientation property.
In other words, when the user changes the phone orientation, the Event.RESIZE will be dispatched and inside the …

AIR, AIR for Android, Adobe, Arduino, Flash AS 3, PHP, _Favourites »

[24 Aug 2010 | One Comment | ]
Adobe Air for Android: IPhone goodbye! ;) <br /> Browse and load images from your phone library

Wow!!! Finally Adobe Flash on my phone… again.
I was waiting for it from the first Flashlite version on Nokia S60.
Infact, after the previous FlashLite experience, Adobe is working on the Adobe AIR version for mobile devices available on all Android phones with OS > 2.2 (the last version in this moment, codename Froyo)
Now it’s still in a beta, so it’s not officially available on your Flash CS5, but it will be available soon.

Adobe, Arduino, Flash AS 3, _Favourites »

[2 Nov 2009 | 7 Comments | ]
Arduino and Flash: modify your existent Flash games to work with a joystick

After you have configured your Arduino board to properly work with your Flash applications you could quickly update your existent Flash or Flex games to get input from a joystick.
I have modified three prototypes, 2 cars games and 1 platform, to work with a mini-stick, spending no more than 5 minutes to update each game.

3d parts libraries, ActionScript 3.0, Flash AS 3, Papervision 3D, _Favourites »

[12 Oct 2009 | One Comment | ]
Create an images gallery in Flash CS4 and Papervision 3D

In this article we’ll develop an image gallery in a 3d enviroment using Flash Cs4, ActionScript 3.0, Papervision 3D and Caurina Tween library.

3d parts libraries, Flash AS 3, Papervision 3D »

[11 Oct 2009 | 5 Comments | ]
Augmented Reality with Papervision3D, Flash CSx and Flint Particle system

After testing Papervision and the Augmented Reality in Flex I have tried it into Flash Cs4 too.
But some weeks ago I also tested Flirt particles system, a cool AS3 library to generate nice particles effects in Papervision 3D.

ActionScript 3.0, Flash AS 3 »

[7 Oct 2009 | One Comment | ]

Request: How to set a global component style in Flash / AS3?
Solution: Use StyleManager class and setComponentStyle method to set global styles

Adobe, Flash AS 3, Flex 3, PHP »

[12 Sep 2009 | No Comment | ]

Reading RSS feeds from Flex or Flash often generate some security issues when the origin domain doesn’t contain a crossdomain.xml file to manage the policy settings.
A little workaround is create a PHP proxy to read the feeds and pass the content to the Flex script.

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.

ActionScript 3.0, Adobe, Flash AS 3, PHP »

[2 Sep 2009 | 6 Comments | ]
Create a contact form with file attachment in FLASH CS, AS 3.0 and PHP

In this post I’ll show you how to create a form with a file attachment using Flash CS3/4, ActionScript 3.0 and PHP. The trick is use the FileReference class to upload a file from your own hard disk and at the same time send the input- field values.