Archive for October 2008
When creating a mobile application using flash lite it can be very cool to tween objects around and create a cool interactive interface. But when using tweens you will immediately face the performance issues when animating clips on the stage. It can be fighting a brick wall sometimes to get the animation run smooth. Last week Luca Mezzalira posted an interesting trick on adobe’s mobile and devices cookbook. He pointed out some things you can consider in order to optimize your animation. Some of them you already knew yourself: do not animate too many object together, it slows down the performance heavily, avoid alpha animation etc.
But there were 2 tips that really got my attention.
- TweenLite is a good library to use for mobile animations
I have not done much detailed research but I always use greensock’s tweenlite (as2) engine in my Flash Lite projects because they seem to tween smoother en perform better. I compared it once with Tweener and on my n81 it seemed like basic animation performance was practically the same but when using bigger objects and alpha animation tweenlite performed better. Anyone ever experimented with these engines? Feel free to share your results, i’m only saying what I seemed to notice on my n81 device.
- When you move a movieclip that contains lots of textfields or clips, switch movie quality to low (fscommand2(“SetQuality”, “low”)) and, when animation is finish turn quality to high (fscommand2(“SetQuality”, “high”)).
This is a really simple but very efficient tip and has a great effect on your performance. You can download a test file at Luca’s blog.
I agree with Luca saying:
In fact I tried to use always high qualit and performance was not good, when I tried to set low quality before a Tween and switch to high when it finished, performance grown until to 50% instead of first method.
If you ever compared tween engines or did research on how to optimize tweens feel free to share it!
Today I came across a very interesting thought from SAMIR about online flash lite packaging while holding an NDA. He is referring to www.swfpack.com which allows you pack your swf applications for different mobile runtimes like sis.
But even after such good merits , I would not prefer to use it if I am working on any (i) commercial mobile app (ii) any app I am building for any client with whom I have signed an NDA , as this would risk my app to be uploded to a third party domain, which is not accepted in all the above said cases. So, I seriously doubt if similar tools which help you in a core development projects, are online, will be much used by industry developers for these cases , unless there is some agreement between the provider of the web tool and themselves …a kind of NDA. - SAMIR
I was quite curious what the reaction of Kuneri would be so I posted a little comment on their blog and they responded right away with a comment and a blogpost. Cool!
Good and valid questioning. As far as I know/see, no Web 2.0 service offers an NDA. See any online project management tool out there (Basecamp, GoPlan?) , which store much more sensitive data than a compiled file. None of them offer you an NDA and SWFPack is no different than any Web 2.0 product. See a recent post I published, would answer more questions: http://bloggy.kuneri.net/2008/10/14/swfpack-and-security/
To summarize the swfpack security policy :
– All project files (SWF or ZIP) are erased right after the SIS generation. There is no way for us or anyone else to access your source files.
– We keep latest generated SIS file on your account, so that you can download it again later on. There is no way another user to access a SIS file generated by another account, and we make it possible for you to delete the generated SIS file from our servers immediately and permanently.
– We do not have SSL connection for file uploads or downloads at the moment. This will be available for Pro accounts.
– We do not get any source files from you. Basically you upload a SWF file, which is a compiled binary.
It seems like they try and keep things as safe as possible for developers to package commercial stuff with swfpack. I am wondering if they will ever release an api? Would be cool for developers and their companies to be able to play with the service they are providing!
Via Alessandro I read that there are slides available from the presentations that were given at the Flash Lite Technology Day in Boston. You can check them out here:
- Flash Lite Video – James Talbot, Adobe
- CS4 Workflow – James Talbot, Adobe
- Flash Lite Tips and Tricks – Alessandro Pace, Forum Nokia Champion
- Real Applications With Flash Lite – Ira Hochman, Untravel Media
- Flash Lite and Nokia Web Runtime – Rob Toole, Fidelity Investments
If your are into flash lite but could not make it to this event it could be interesting to check these slides out!
Nokia released it first s60 5th edition device: Nokia 5800 XpressMusic. What’s cool is that S60 5th Edition continues to support Flash Lite 3.0, with the addition of ActionScript extensions to take advantage of S60 Platform Services. These extensions provide access to:
- The application manager.
- Calendar records.
- Contacts records.
- Log information.
- SMS and MMS messaging.
- The media gallery.
- Device location.
- System information.
These new APIs enable Flash Lite developers to access device-application data, such as that held in Calendar and Contacts, as well as information on a device’s location.
Together, the UI- and platform-access enhancements will enable Flash Lite developers to create a completely new breed of context-aware applications and services that provide users with information unique to their own experiences.”
For those who migh have missed the Nokia 5800 XpressMusic leaks, the first S60 touchscreen handset packs a 3.2″ screen of the exciting widescreen resolution of 640 x 360 pixels. A 3.2 megapixel autofocus shooter and VGA video at 30 fps are the imaging assets. There’s quad-band GSM support and 3G with HSDPA. Some of the other extras include: GPS, 3.5mm standard audio jack, TV-out and a microSD card slot. An ambitious music offering, Nokia 5800 XpressMusic will come with 8GB microSD card in the retail package and stereo surround speakers.
At last: check out this cool video to experience the look and feel of the first Nokia Touch Screen Device!
During yesterday’s “Town Hall meeting”, at FOTB08, a panel of Adobeans was ready to answer any questions that would come up.
One of the questions everyone asks all the time is when we will see the Flash Player running on the iPhone. Paul Betlem, Sr. Director of Engineering, answered the question by repeating what they’ve been saying for a few months now. We can notice how many people picked up on his answer and how many people see it as the confirmation of Flash on the iPhone. This is what Paul said:
Adobe is committed to bringing Flash Player to the iPhone. While the development work has begun, we can’t share more details at this point. It is important to note that we do need to work with Apple beyond what is available through the SDK, its emulation environment and the current license around it to bring the full capabilities of Flash to the iPhone. We think Flash availability on the iPhone benefits the millions of joint Apple and Adobe customers, and we want to work with Apple to bring these capabilities to the device.
source: Serge Jespers
I’ve said it before and I’ll say it again: Apple will not publish a Flash player for the iPhone unless and until there exists some other mobile phone that (a) does run Flash, and (b) starts taking sales away from the iPhone. Which, my guess is, means never. Apple has no motivation to allow it. If Adobe really wants to get Flash on the iPhone, they should shut up about the iPhone and start talking about and coding for Android. An excellent implementation of Flash for Android would give Adobe some amount of actual leverage. Until then, Adobe’s just embarrassing themselves every time they mention it.
I think John is right, altough he does not have to talk about Android alone I think. I discussed this today with my colleague Wim Vanhenden and we both believe that if Nokia can provide a touchscreen device with the same capabilities as the n95 and a higher/nicer user experience combined with acceptable mobile browsing they can compete with the iphone by adding a flash player. If Adobe would develop a flash player for android as well, I agree with John, saying Apple could be motivated to publish a flash player on the iphone. Let’s wait and see how it turns out.