Converting Flex 3 Microphone application to Flex 4 (part 2)

This is the second part of a series of posts detailing the migration of a Flex 3 AIR 2.0 application to Flex 4. In this post we’ll start converting old MX components to the new Spark components architecture. Converting Flex 3 Microphone application to Flex 4Original Source Files Flex 4 files as Flash Builder 4 project (.fxp) Part 1 Part 2 (this post) Part 3High Level – The Before and After of this Post in Code Before just talking...

Read More

Converting Flex 3 Microphone application to Flex 4 (part 1)

For AIR 2.0 release on labs.adobe.com I created a Microphone Example application showcasing the new feature that allows access to raw microphone data in Flash Player 10.1 and AIR 2.0. This application is a custom chrome AIR application that uses a lot of CSS and embedding of assets, both fonts and images. I figured it would be a good use case for migrating from Flex 3 mx components to Flex 4′s Spark components. As there is a bit to cover...

Read More

ANT and release Flash Builder 4 standalone (eclipse 3.5.1)

NOTE: The direct links in this post do not work, but read through the comments for possible solutions. Especially now that 3.5.2 is out. Flash Builder 4 does have the Ant executable by default, but it doesn’t have the Ant UI (org.eclipse.ant.ui). If you search the web for how to get Ant enabled in Flash Builder 4 you’ll find steps for installing the Eclipse JDT plug-in. The steps also work fine for Flash Builder 4 Beta 2/1 and Flex...

Read More

Full Swing in April – Where I am Presenting

There is no slowing down for me. If you haven’t heard I made the switch to the Flash Platform Evangelist team just a few weeks ago. What a great time to join the team, this is going to be a great year for the Flash Platform. If you have not been under a rock and heard of the latest news, then you will know that Flex 4 and Flash Builder 4 has been released. That means Adobe User Group tour time. The Platform Evangelist team will be out...

Read More

Using AIR 2.0 to find services through mDNS/Zeroconf (Bonjour)

I am not a networking guru so there is a lot of room for improvement on this idea. What I wanted to do was use the new AIR 2.0 DatagramSocket feature to try and find an IP printer on my home network. I wanted to do this with no knowledge of the printers ip address or my local computers ip address for that matter. I didn’t want to try and guess on ip addresses or loop over an ip block. This is where Zeroconf and mDNS, aka Bonjour, comes...

Read More

Embedding assets with mxmlc as flash.display.BitmapData

I have been playing with optimization techniques for building applications targeted for constrained devices. While at 360Flex and talking about some of the memory size issues around getting bitmap assets into ActionScript applications Brian Diette provide a tidbit which was quite useful. In my original finding and understanding of getting assets into a SWF there was two ways. Using the [Embed] metadata with mxmlc to embed assets directly into...

Read More