Archive for the ‘Flex’ Category
We’re nearly there…
Looks like the wait is finally over and Flex 3.0 and AIR 1.0 are just a few more days away.
Static initializers in AS3
From time to time - expecially after asking google - you stumble upon gems like this one. If you ever wanted to generate lookup-tables for static methods without the need to check if they’re already full of tasty values then static initializers in AS3 are for you:
package
{
// static initializer
{
fillLookupTable();
}
internal function fillLookupTable():void
{
// do some math, array pushing etc. here :]
}
}
Via barneyb
“Super Simple” Remoting package for AS3
If you are used to the behaviour of the remoting classes in Flex where each remote call in a service can have it’s own listeners and you’re working on a pure AS3 project, then this small package is for you: SSR, written by Aaron Smith (his blog).
Flash Player 9 Updates
Well it seems like Adobe pushes even more (2D-)hardware rendering into the Flash Platform. Not yet the 3D hardware acceleration everybody is holding their breath for - but seems like it’s just a question of time until they’ll add it. Macromedia had it already in place in Shockwave/Director years ago but sadly that platform never gained much ground in the web.
The most exciting new features of the update:
- Faster rendering of vector graphics on multi-core CPUs
- Hardware-scaling in fullscreen mode for improved video performance and quality in scaling
Release notes in Adobe’s labs here.
Update:
An even more detailed list about the new features can be found in a blog post by Tinic Uro here. Looks like the video decoding runs in a seperated thread too if the machine hosts 2 or more cores. Damn, now that’s pretty nice!