Help shape the future of Flash

Been holding your breath for Flash Professional CS5? Well Adobe have finally announced that it’ll be available from April 12th. CS5 has an impressive list of new features but I’m sure as always there will be someone out there who has just had a great idea that isn’t going to appear in this release.

To be honest I think the Adobe engineers will probably try and strangle you if you ask them to squeeze it into CS5 this close to release, but all is not lost. You see, those kind people at Adobe have created Adobe Labs Ideas where you can suggest new features for future versions of Flash or vote for a suggestion that’s already been added. So what are you waiting for?

So far, here’s the suggestion that seems to have gotten most votes.

It would be nice if Flash CS5 could automatically inject some humanity and rationale into Steve Jobs and make him realize Apple (and thus, he) cannot grip the Interwebs in an iron fist of greed and censorship. I understand this may take a few unusual new class files and data objects, but I have faith in the Adobe team’s superior engineering capabilities.

I imagine it won’t be that hard to implement. Oh and while they’re at it I hope Adobe take my own feature request seriously. Again, it should be fairly easy to implement:

I’d like a class that allows mobile phones to be used as real lightsabers. The API should allow a blade of plasma energy to be extended for one meter from the end of the handset. It should also allow for the colour to be adjusted between blue, green and red.

Thanks Adobe! Looking forward to seeing these two features implemented in Flash Professional CS6.

Our new programmer hates Flash

Our new programmer Ian had managed to avoid using Flash since arriving at WeeWorld, but his luck ran out the other day when he was asked to work on some legacy ActionScript 2 code. I had a bad feeling he wasn’t going to enjoy it, partly because he’d just recently declared C# his new all-time favourite language, but mostly because AS2 is quite rubbish.

Sure enough, 30 minutes in he started muttering stuff under his breath and striking the keys on his keyboard just a little too hard. About an hour later he started shaking his head in disgust and became quite vocal about how backwards everything seemed. By mid-afternoon he’d become delarious and had stopped responding to instructions. Come five o’clock the poor guy looked like he’d suffered some kind of brain injury.

Thankfully he seems to be on the mend but is now insisting that he hates Flash. Maybe he’ll respond better to ActionScript 3.

Do people know what Flash is or care?

Most of you will have seen the ‘What is a browser?’ video where Google take to the streets of New York to see how many passers-by actually know what a web browser is. Even though they all seemed to surf the web regularly, only 8% of them knew what a web browser actually was. Well the video sparked an interesting conversation in the office between myself and a friend.

One question in particular came out from the conversation: Do people actually know what Flash is?

It would be really interesting to see a similar video asking this question to random folk. I suspect the results would be much worse than the miserable 8% from the Google video. Many of my friends and relatives know that I’m a Flash developer, but whenever I try explaining to them what Flash is their eyes glaze over, with some even seeming to slip into a semi-vegetative state.

So is this really a problem? Well it shouldn’t be. Your average user should just be able to enjoy browsing the web without caring about what technologies are being used to render the content. Unfortunately with the increasing penetration of the iPhone and the imminent release of the iPad looming, Adobe could be in trouble.

Most iPhone users, and I’d imagine this will be the case for those with iPads too, will probably get by with a stunted web experience. iPhone users have after all been making do with a Flash-less web for some time now and I suspect that most of them simply shrug their shoulders and move on when they stumble upon a Flash-based site.

If people don’t know what Flash is or even care then how are phone and tablet manufacturers going to convince them to purchase their Flash-enabled devices over Apple’s products? Other than geeks, who’s going to buy an Android phone because it says on the box that it supports Flash? Claiming that Flash-enabled devices will allow users to browser ‘the complete web’ isn’t going to do much good either, since Joe Public already mistakenly believe that the iPhone and iPad can already do this.

For me it’s difficult to see round this problem. Perhaps the trick is not to mention Flash at all, instead focusing marketing on popular Flash sites that will only be available to these Flash 10.1 enabled devices. Or maybe Adobe are just hoping that the handsets they’re targeting will eventually grab a large enough market share giving Flash the mobile penetration it needs to be relevant.

My main concern however is the time this will take. The longer iPhone and iPad dominate in their spaces, the more websites will drop Flash in order to cater for the ever increasing number of users who have Apple devices.

I’m extremely excited by the prospect of seeing Flash on mobile but there is an ever decreasing window of opportunity to get Flash 10.1 out there. Let’s hope that Adobe and its many partners manage to get Flash on enough devices before a tipping point is reached and websites stop using it.

The HP Slate and Flash

The iPad is a fantastic looking device but with so many manufacturers jumping on the tablet bandwagon it’ll be interesting to see what influence Flash support will have on consumers looking to make a purchase. Unlike the iPad, HP’s Slate will run the full internet, which means full support for Flash Player 10.1 and Adobe AIR.

In the video above, Alan Tan, product marketing manager at Adobe demonstrates Flash and AIR applications running on the Slate. It’s a nice looking device and the performance on the whole seems to be very good. Let’s hope HP get the price point right and that it appears nearer the first half of this year rather than the second.

Flash Lite 3.0 “out of memory” bug

Developing GamesFlash over the last few years was a great learning experience and, as I’ve said before, was something I was extremely proud of. There were times however when I felt like giving up. Although Flash Lite was a great stepping stone towards a full mobile version of the Flash player, there were terrible fragmentation issues across devices and a frustrating number of bugs introduced across various versions of the Flash Lite run-time.

When I decided to eventually add video support I came across one problem in particular that nearly lead to me having a nervous breakdown. Testing GamesFlash directly from the phone’s Flash Player application or within Device Central indicated that the Series 60 devices should each have approximately 4 Mbytes of dynamic heap available, which was enough for video support to work quite well. However, after packaging as a SIS file using various SIS packagers, I noticed that GamesFlash was suddenly only allocated 2 Mbytes of dynamic heap, which wasn’t nearly enough to comfortably run video. It resulting in the dreaded “out of memory” dialog appearing at run-time after playing a handful of videos.

Having used SWF2Go for the bulk of my SIS packaging I contacted lead developer Faisal Iqbal (AKA chall3ng3r) to see if he could shed some light on the problem. Unfortunately a workaround wasn’t forthcoming but at the time Adobe’s Distributable Player Solution came to the rescue as it packaged content without the same memory issues. With the Distributable Player Solution now cancelled I often wondered how others got round the memory problems I was having. Surely I wasn’ t the only one suffering from these memory issues.

Well I got an answer today thanks to a Tweet from chall3ng3r. Looks like it was a memory allocation bug in Flash Lite 3.0 on S60 devices, which makes memory settings in the stub launcher obsolete. Nokia have now fixed this issue and the fix is available in Flash Lite 3.1 via a firmware update. The posts made by chall3ng3r on the SWF2Go Forum indicate that the problem is specific to 5th Edition devices. I wonder if that’s a mistake as I definitely experience the same problem on 3rd edition devices such as the N95.

Happy Birthday Adobe AIR

Yup, it’s hard to believe but Adobe AIR is now two years old and it’s incredible just how far it has come in that short space of time. Given the growing debate over Flash’s future within the browser it’s often easy to forget that the Flash platform allows developers to create rich Internet applications that can be deployed to the desktop across multiple operating systems.

AIR now powers a variety of applications used by enterprises and everyday consumers in applications for social networking, gaming, eLearning, subscription-based services, video, productivity tools, collaboration services, and so much more. And thanks to its support for iPhone, which is due to be delivered as part of the Flash Professional CS5 release, 2010 will be a very exciting year indeed for AIR.

If you are in any doubt at all regarding the power of Adobe AIR, take a look at the video above, which demonstrates a collaboration between Adobe and Wired magazine to produce a new digital magazine concept running on an Android-based tablet. It’s quite stunning.

AIR for Android

Good news folk! Adobe have announced at Mobile World Congress their plans to bring Adobe AIR to mobile devices, starting with Android and Blackberry handsets. So what does this mean for us Flash developers? Well basically it means we’ll be able to write kick-ass mobile apps and sell them on the Android and Blackberry app stores. Check out the video below to see some content running on the Motorola Droid.

Performance looks really good and should excite Flash developers eager to generate revenue from the mobile ecosystem. Unlike Flash Lite, which is somewhat stunted, AIR apps will run the full Flash 10.1 experience, store data locally on the phone and also allow access to other data including photos. This is another significant step for the Flash platform with developers, in theory, being able to write apps that will run consistently across both web and mobile. Plus with Flash Professional CS5 on the horizon, iPhone apps will also be a possibility.

AIR on Android will be available in the second half of 2010.

Where has Forum Nokia’s Online Packager gone?

What the heck is going on with Forum Nokia’s Online Flash Lite packager? It must be months now since Nokia put the project on hold meaning anyone with great Flash Lite content that they’d like to package and distribute will have have to look elsewhere for an alternative.

It’s a real shame because the online packager removed the need for Flash Lite developers to have to install the Symbian S60 SDK directly on their PC. It also meant that Mac owners could package their content without having to get access to a PC. Currently Nokia’s only suggestion is to indeed install the Symbian SDK on a PC and write a Flash Stub application using Carbide c++. For some it’s probably more effort than it’s worth.

It’s just another frustration for those wishing to create Flash Lite applications for the wide range of Nokia devices out there.

All is not lost though. It certainly doesn’t look like the Online Packager solution is gone for good. In fact Forum Nokia has this statement on its site:

We are looking into providing a reliable online packaging solution for Flash… Sorry for any inconvenience caused by this action. We did get a lot of valuable feedback for our next version and wish to thank you all for your input.

It would be great if there were some more details released regarding the new packager. Is there a scheduled release date for it and what new features are we likely to see? If anyone knows then please get in touch.

And when the Online Packager does eventually re-surface let’s hope that Nokia have fixed the ridiculous signing process for Flash Lite content. I don’t really understand why Flash Lite content for Series 40 devices can be packaged in a simple NFL file and distributed without signing, whereas all S60 Flash Lite content has to be Symbian Signed and distributed as a SIS file.

Can’t we just have something similar to the NFL format on S60 devices? Currently it’s just too expensive and time consuming for those writing freeware apps to get their work onto the OVI store. I think it’s also still the case that anyone wanting to release content on the OVI store has to be VAT registered (please someone correct me if I’m wrong) before being allowed to submit content. This again just seems crazy and must surely be preventing many great creative individuals from submitting interesting and free apps to the OVI store.

I also noticed that Alessandro Pace also has similar thoughts regarding the NFL format, suggesting that Nokia push it out across all their devices.

Oh and if you are looking for an alternative packaging solution I’d suggest you take a look at SWF2Go Professional by Faisal Iqbal.

WeeMee iPhone app

Yeah, okay, so this post has nothing to do with Flash whatsoever. But hey I’ve got plenty of love for other technologies – even the ones that don’t support Flash.

So if you happen to have an iPhone along with the other zillion people out there then I thoroughly recommend you check out WeeWorld’s WeeMee Avatar Creator app that we released last week. It has climbed to the #4 spot in the Social Networking category of both the UK and US App Stores and it’s pretty ace.

Download it and give it a go at: http://itunes.com/apps/WeeMeeAvatarCreator

The Flash Player Mobile Push

It’s not long until Mobile World Congress and those fortunate enough to be there will finally get the chance to try Flash Player 10.1 running on mobile. To-date we’ve only seen some sneak peek videos released by Adobe showing Flash-enhanced sites running on devices such as the Nexus One, but I want to know how the majority of Flash-based sites will perform, not just a carefully selected few.

It’s clear even from those early videos that Adobe has spent considerable effort optimising Flash Player 10.1 for mobile. Forcing Flash to run on mobile devices without exhausting memory and at the same time keeping performance up must be an incredibly difficult task – after all, to increase performance you tend to have to consume more RAM.

From digging around on the web, here’s what I believe the engineers at Adobe have done to address these issues.

Flash 10.1 will support hardware acceleration. This will include video acceleration where the device’s GPU will be used to decode video leading to better video quality, improved frame rate and less power consumption. It doesn’t end there though; Flash’s traditional vector rendering pipeline will also be supported by the GPU meaning that vectors, bitmaps and animation will all render faster.

A very important question regarding mobile is ‘how will the device handle multiple player instances?’ After all, it’s a frequent occurrence to see multiple SWFs served from a single page and there is a real danger that this could cripple the handset. Adobe’s engineers have spent considerable time and effort addressing this. Traditionally on a web page, every single instance is started. But for mobile, Adobe have written an instance manager that will decide which instances should be started and which should not initially.

To aid instance management there will be a new HTML parameter called hasPriority that will allow the web author to specify the SWFs that are most important to the overall experience. The instance manager will also look for helper SWFs that are typically 1×1 pixels in size and start them up. The manager will also monitor memory usage closely and shutdown instances when the device is close to running out of memory. When shutting down instances, the player begins with those that are off screen or do not have focus.

The good news is that these changes aren’t just restricted to mobile – desktop users will also benefit from many of the changes too, although I believe the GPU vector renderer will initially only appear on mobile. And for those who’ve complained about Flash’s performance and poor stability on Mac, from a tweet by Adobe’s Lee Brimelow it looks like there might be some light at the end of the tunnel regarding that too. Here’s what Lee had to say in his tweet:

We will be putting out more information about the player issues on OS X very soon. Thanks for being patient everyone.

I’m looking forward to Flash Player 10.1, especially for mobile. Now does anybody know if it’ll be making an appearance on my Nokia 5800? Looks like Android is the lead platform.