Screenrecording with AIR 2.0 article on ADC
With the official release of Adobe AIR and Flash Player 10.1 my article about screenrecording
with AIR 2.0 was also released yesterday at the Adobe Developer Connection. Check it out here.
It shows you how to use the new NativeProcess class with VLC and Ffmpeg to create a simple screenrecording tool.
Goodbye IPhone

We had a good time but now it`s time to move on. Rest in peace my friend…
Apple F%&c& you!!!
That`s what you get if you give little unpriviliged kids too much power.
Just imagine if a company like Microsoft would act like this megalomoniac a$$ho%6es.
I was really waiting for the new MacBook Pro with my credit card ready but now I`m honestly thinking about switching back to M$$ after 3 years.
It`s like finding out your new hot girlfriend listens to Nickelback – what a dissapointment but at the same time maybe a refreshing eye opener.
Glad I can now save like 1500 bucks on my new PC and don`t have to spend them just to be cool – because Apple isn`t cool anymore.
Flex 4 is Awesome!
Started my first serious app with Flex 4 and i can`t tell how much I enjoy it.
Have not heard so many AHHHS, WOW, F$%CK Yipiiiiiiiee from myself while developing for quite some time.
Don`t really want to add to the fake HTML 5/Flash is dead discussion (have not yet seen a year without this talk
)
Only thing I can say is that great tooling and proved frameworks really matters to me…
Flex 4 – I love you!
Screenrecording app with AIR 2.0 Beta
Yeah yeah it`s been a while….
But here is something I just have to show. I guess you`ve all played with the awesome AIR 2.0 Beta so you know about the NativeProcess class and all the options we have now.
Basically the only thing you have to do is google for some cool cross platform command line apps and build a nice AIR user interface and you can build beautifull and powerfull desktop apps.
So one of the first things I tried was something that was on my wishlist for the flash platform for a long time – SCREENRECORDING!
This app records the users screen and encodes it to flash friendly mp4 files with h264 video.
Check out this screenrecording of my screenrecording app
I really plan to write an article about how to do this but i`ll never promise anything again
Vote for Google Data API crossdomain.xml!
Ever tried to access some of the google data apis like for example analytics data export?
Because of the new header restrictions introduced in Flash Player 9 it`s no fun.
If you think it needs to change please vote for a crossdomain.xml on googles server:
http://code.google.com/p/gdata-issues/issues/detail?id=406 (click the small star on the top left)
THANKS!
Berlin finally gets a Flex Camp
June 14th (My Birthday by the way
) Berlin (Germany) will get a completely free Flex Camp organized by the Berlin Flex User Group (Flex Labs).
Whether you want to enjoy free presentations and hand on coding session or just come and celebrate my birthday this is definitely the place to be.
Remember we don`t have a Max this year in europe so this is something you should not miss.
Confirmed speakers are: Andre Michelle, Thomas Reppa, Dirk Eismann, Cedric Madelaine, Duane Nickull…
You can`t imagine how much energy the Berlin Flex User Group puts into this event so please show up and make it a success.
I can no longer accept that the Belgiums laugh about our small community
Get the details here: http://www.flex-labs.de/flashcamp
Thanks to Flex Lab for organizing this!
Ahhhhh! And very short notice but well worth it. Tomorrow May 27th they have Andrew Shorten talk about Catalyst and Dirk Eismann about BlazeDAss.
Check out the details here: http://www.flex-labs.de/blog/2009/05/2705-designdevelop-meeting-update/
Gumbo Tips #1 FlexGlobals.topLevelApplication
I`ve not posted for a long time and it seems it will stay like this for a while as I`m hands down in work ![]()
However I`m using my spare time to get up to speed with Gumbo. My learning project will be a new version of RichFLV (not saying that it will ever be ready
). So i thought I start a little series with small things I found while converting projects from Flex 3 to Gumbo.
Here is a first really simple one:
Application.application is no longer In Gumbo we have FlexGlobals.topLevelApplication instead.
I know you should rarely use Application.application because it reminds too much of the old devil root but sometimes it`s needed (or?)
For example if you want to create a popup and you create it not in the root of your app or in a non visual class in Flex 3 i would have done
something like this:
PopUpManager.addPopUp(progressWindow,DisplayObject(Application.application),true);
now in Gumbo you could use this
PopUpManager.addPopUp(progressWindow,DisplayObject(FlexGlobals.topLevelApplication),true);
Some info about this change can be found here: http://opensource.adobe.com/wiki/display/flexsdk/Spark+Application
BTW can anyone recommend a good code highlighting plugin?
Loading/Playing mp3s without round-tripping to the server
One of the cool new features of Flash Player 10 is that you can load files from the client without uploading them to the server.
The only limitation is that you`ll only be able to access the raw bytes of the file and there is no way to find out the filepath (see problem discussion here). The problem is that until now we cannot pass mp3 bytes to the sound object or the netstream class so there is no easy way to play mp3s locally on the client (without first uploading them to the server).
So here is a solution that uses the old trick of generating a SWF file in memory which contains the mp3 associated with a linkageId.
Check out my solution here
Note that some mp3s might not work as the Mp3Reader class is not very optimized but it should show the general steps to chieve the goal.
Let me know if it`s useful and if you could make any enhancements.
Next we`ll look into how to load two mp3s and mix them and save them as a wav (PCM) file.
Thanks Adobe! I`m now a community expert :-)
I got a nice surprise in my email and i`m really honored to be a Adobe community expert now!

While i`m not yet sure what this really means i`m know it means i should kick my ass and get this blog running again.
I was really lazy with posting here the last months because of a lack of time and the frustration of this blog being hacked.
However i`ll do my best to post a bit more in the coming months.