Get flash to fully experience Pearltrees
Adobe Products Top destinations Education
The followig example shows how you can pass parameters to an HTTPService by passing an Object in the HTTPService’s send() method. The remote ColdFusion script is a simple “hello world” type script which accepts a single parameter, “name”, and returns a single parameter, “welcomeMessage”. Full code after the jump. View MXML View source is enabled in the following example.
Observing double click events on an UIComponent is quite easy. You just need to set doubleClickEnabled value to true and add an event listener of type MouseEvent.DOUBLE_CLICK. It works fine, except if you are listening MouseEvent.CLICK too. When the user double clicks on an UIComponent, two events are sent, simple click and double click. Sometimes, you don't make the same job on a click and a double click.
Facebook and MySpace fixed this quickly after being notified. As a application developer on Facebook, I usually run into certain walls that limit my application functionality. But I don't give up easily, and only recently I found a solution to one of my function limitations.
For some reason the incredible power of Open Source is on my mind today. In light of that, here are some open source(ish*) ActionScript libraries I've come across that can help you make games. I haven't tried them all, but maybe you will?
The new YouTube AS3 API is now out. This library was designed as an interim solution for the AS2 API. Use the new AS3 API, more details here: http://code.google.com/apis/youtube/flash_api_reference.html TubeLoc is an ActionScript 3 library that serves as an adapter to the YouTube ActionScript 2 Player API. Easily add YouTube video functionality to your ActionScript 3 or Flex app with either the full-chrome or the chromeless YouTube players.
(Updated Mon July 7 2008) Flash tracer is a firefox extension which enables you to see all the output generated by any running flash swf movies ( the output generated by the flash method ). You a flash player debug installed in your Firefox in order to run this extesion correctly. For a list of available flash players please visit this page: http://www.adobe.com/support/flashplayer/downloads.html . This extension support some basic features like: live filters which enable you to filter all the output using basic patterns. Custom styles: you can filter the output using a regular expression pattern and then apply custom css formatting to the matched string
Adobe announced Monday that it has updated and changed the name of its Flex Builder IDE. Now called Flash Builder 4 , it incorporates support for the now open source Flex 4 framework, as well as integrating an IDE for ColdFusion development. "We changed the name because the new Builder product encompasses more than just the Flex framework," group product manager for the Flash Platform Dave Gruber told Infoworld. Flash Builder 4 includes support for Adobe's still beta Flash Catalyst rapid UI design tool, which, along with Flex 4 , will enable designers to work on the front-end independently of back-end development.
There are a lot of nice text features in the new flash text layout framework but obviosly there is still one important feature missing: Hyphenation. Until today, there is no native hyphenation support in the flashplayer. I decided to fill this gap by porting the Hyphenator.js library by Mathias Nater to ActionScript. In this post I'll demonstrate text hyphenation in flash.