Working with Tween in Flash Lite

In last months my team and I are working on Flash Lite projects so hard, in particular with Tween class we found a good way to work with them.
Also Adobe has released in last weeks a new interesting resource: Mobile and Devices cookbook, for now it’s only online, I hope soon it will be also published by O’Really!

So I’ve just post in this great online resource some suggestions to work with Tween in a Flash Lite project.
I think the most important is the third one:

3. 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”)).
With this trick you can have great performance for your animations

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 want try this you have got a Flash Lite 2.x device and download the sample file.
I put a comment in the code, first of all, try to comment the right code line and then try without it.
Please leave me other suggestions or comments on this post or write me directly.

Enjoy 

 

 

Flash on the Beach 2008

Yes, it finished!
FotB 2008 was really great, amazing speakers and cool people to spend great time together.
Last day there, I followed one of the most amazing session by Mario Klingemann; he showed how to build a QRcode generator with BitmapData in AS3 retrieving the image from a webcam… it was unbelievebal!
He also showed us interface of one software of Aviary, the great project where he is envolved with a lots of others great developers, this is a very interesting project made with Flex.

 I had a great talk with Richard Galvan, from Adobe, during FotB about Thermo, now it’s more clear for me how to create a real workflow with the introduction of Thermo when it will be released.

In fact, my problem, was to understand how a designer can organize and prepare all custom components or modules for the flex developer.
But, talking with Richard, I understood that the best  way to create a workflow with Thermo is:

  • first brief where developer explain to designers how to create assets
  • designers create static assets with an image editor like Photoshop
  • designers work with Thermo to create all users interaction
  • developer bring Thermo file and start to divide the application in the right way
  • developer create business logic of all application

It’s very interesting way to create RIA or desktop application… so now we’ll wait for an official BETA of Thermo.

Also I found very interesting Doug McCune‘s session, he talked about SWF decompiler and how to re-create and study algorithms made by others developer, in fact he decompiled Photoshop Express and use it’s algorithms to make DougExpress a fantastic Flex application totally customize that manipulate images like Photoshop Express.
Very interesting!

So you know, FotB was very amazing, next year it will be from 19 to 23 September in Brighton and in April for American audience, you can’t miss them!
Finally a big thank you to Zohar that gives me a CS4 T-shirt… Shortcut to Brilliant, thank you man!