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 visiting some of the user groups to talk about the latest stuff. I will be visiting a couple of the user groups and making a stop out in China for the Flash Platform Summit. Check out where I’ll be in April:

April 7th – Portland, OR – PDX RIA Group

April 8th – Seattle, WA – SeaFlexug.org

April 14th – Salt Lake City – A bunch of SLC Groups

April 15th – American Fork Area, UT – uFlash.org and BYU Flex UG

April 22nd-23rd – Beijing, China – Adobe Flash Platform Summit

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 into play.

View the whole post »

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.

View the whole post »

OptimizeIt Presentation at 360Flex

My slides but not the code made it up on the 360Flex usb drive, I didn’t figure that out until today when I was giving my talk. So my talk at 360Flex in San Jose was called: OptimizeIt – Actionscript tips for iPhone games.

It really is a bunch of Actionscript optimizations and some of the limitations of the Packager of iPhone. I cover both test case data across a iPhone 3GS, iPhone Touch 2nd generation, and a iPhone Touch 1st generation, as well as demos and code. You can get my slides and code below.

Code and Slides

Joining the Adobe Platform Evangelist Team

I am joining the Adobe Platform Evangelist team. I’ll be part of the North American team, Kevin Hoyt, Ryan Stewart, Lee Brimelow, and Terry Ryan.

There is a lot I’ll have to figure out with my new role. I’ll be focusing on Flex related stuff and look forward to getting back into the community full swing. I have to thank Danielle Deibler and my old team for a great 3 years working on some fun projects inside Adobe. I wish the best for them in the new Flash Platform Services group and am excited to be able help services and the whole platform grow in my new role anyway I can.

It happens that I already had two speaking engagements planned for next week in the bay area. A great way to kick off my new role. I will be speaking with Danielle at the Flash Game Summit on March 8th (Yeah I have to miss out on day 1 of 360Flex). Then I’ll be at 360 Flex, my favorite conferences ever, speaking on ActionScript optimizations for iPhone games. Looking forward to catching up with old friends and meeting a bunch of new ones.

You can follow me on twitter at: renaun

AIR 2.0 on labs.adobe.com

AIR 2.0 has been released to labs.adobe.com. Along with the release are a set of sample applications. You can find the Microphone sample application that I had the opportunity to create here:

http://labs.adobe.com/technologies/air2/samples/

Its been cool to work on the local Microphone access feature for AIR 2.0/Flash Player 10.1 this year. Now its time to see all the cool stuff people can build on top of the latest features.

Flash Player Microphone Access

Check out the new Flash Player 10.1 features and enhancements.

I am particularly excited about this last feature:

Microphone Access

(desktop only)
Access binary data of the live and continuous waveform coming from the microphone to create new types of audio applications, such as audio recording for transcoding, karaoke, vocoder voice manipulation, sonographic analysis, pitch detection, and more.

New = StructuredLogTestingSDK.swc, Old = RIALogger.swc

Its come to my attention that there has been some confusion around getting the Structured Log Testing SDK up and running. The confusion has to do with the old code I used that was located along side the RIALoggerApp (an AIR application for viewing logs/structured logs). I have gone ahead an removed all the old RIALogger.swc code that was using the older RIAlogger class for logging. The new class to use is the SLog class and can be found in the StructuredLogTestingSDK.swc over on the http://structuredlogs.com site.

So in with the NEW (StructuredLogTestSDK.swc) and out with the OLD (RIALogger.swc).

Thoughts I missed in my Session

If you didn’t catch all the good testing discussion’s we have had on the first day of 360Flex you’ll want to lookup whats going on with FlexUnit4 and Structured Log Testings.

Since yesterday and after my session there where some things that I didn’t touch on as much as I wanted to. First, Structured Log Testings was released in the wild yesterday. Structured Log Testings is meant to be a community project and any one wanting to get involved please let me know. Since the structured log format is really just JSON’d data with specific properties that need to be define this approach is not tied to a specific language. This also means its not just tied to client side but could be on the server side. For example think of gathering structured logs from your client as well as the server and then having a tool to view the data points in connection with each other. Then the next time someone has a bug they can send your the logs from the client, you find the logs on the server and see what went wrong.

A big part of this technology is the non-tech part, or the approach and mind set part. This is a new way of thinking about testing on a whole. Its meant to be very flexible in all phases of the project (development, deployment, maintenance). I hope to keep information and articles going on this progress and examples over on Structured Log Testings.

On the FlexUnit4 side if you are interested to see that project move forward with integration into next Builder release go vote.

PHP Script for Stratus Video Phone Sample Application

Stratus is an Adobe technology up on labs that allows for Flash Player 10 and AIR 1.5 RTMFP real time communication connections. The most important features of RTMFP include low latency, end-to-end peering capability, security and scalability.

As part of the labs release there are an article and sample application.

Article 1
Stratus Sample Application

The Stratus Sample Application source files come with a cgi script for registering user’s identities (the NetConnection.nearId used for RTMFP net stream connections).

What this post is all about is a port of that cgi script to PHP. I was playing with the Stratus application on my own server and used PHP so I figured I would put the file out for others to use.

The file is renamed to a text file reg.txt but just download it and rename to reg.php to use.