« Happy Holidays! | Main | Attn Flex devs: win 10 g’s from ebay »
Happy New Year (LocalConnection)
| By Rich Tretola | January 2, 2008 | Print This Post
|
| 56 views |
Here is a fun little way to say Happy New Year with some LocalConnection.
What does it do? It allows you to get your name in lights
by collecting it in the AIR application and then passing it to the browser based flex application via LocalConnection.

To try this out you must first download and install the AIR application. Once you do so be sure to open your choice of web browser and navigate to http://www.everythingflex.com/flex3/HNY/Index.html to open the web (flex) portion of the application. You can also just click on the URL link within the AIR application.

How do it work? On creationComplete of each application, they test for the connection name and if found set the status to true. The AIR application also reports its domain to the web application so that the web application need not have the publisherId hard coded into it. The status check is then continually polled every second.
I’ll get the source cleaned up and post it later this week.
Enjoy and like the post says, “Happy New Year!”
Topics: Adobe AIR, Flex 3 (Moxie) |








April 23rd, 2008 at 9:27 am
doesnt work at all!!!! And your flex file makes my browser crash!!! Actually I use the last version of flash player and I have the felling that this version is different from the last with AIR.
I try to etablish a localconnection between browser and AIR but my probem is the following:
- First try: error
- Second: Flash player crash
The connection string is the following:
“app#APPID:CON_NAME.D53BB786B4D0E4F1B1A6CB855660CDEF50AA4EE1.1″ but doesnt work.
April 23rd, 2008 at 9:51 am
Yeah, the original was done in beta 3, I just uploaded a new version of the application. Uninstall the one you have and download the new one using the link above.