The new FWA



No Comments


TheFWA
Yes, i was very excited to see the new version of TheFWA’s website (they planned to release it on march 1st, besides i knew that group94 were doin it). And 2day was the release date actually. And i’ve just seen it and i should say that i’m VERY dissapointed with it (not with the dev, but the concept). Why u’d ask? Well, i’ve got an explanation for that. The navigation is not that convinient as it used to, selected work description loads and replaces the whole content now (which’s damn unhandy), and there’re PAGE RELOADS now which i HATE. My opinion’s that TheFWA’s ruined 4 now.
Pluses: yeah, SEO increased, more ads space. Bravo 1/4.

I liked the previous version more. :(

Adobe + Android = friends



No Comments


Yes! Adobe officially announced Flash Player 10.1 and Adobe AIR for Android.
Kevin Hoyt recorded a great video showing some air apps demos running on Motorola’s Droid device.

Read more at Lee Brimelow’s blog

UPD: Thibault Imbert and Michael tryed out the flash player 10.1 on the Google Nexus One phone. They tested out some flash web sites, games which weren’t actually optimized for the mobile platform i.e. those r typical web sites from the fwa. And the nexus one managed to get that content work nice and smoth.

Flash Player 10.1 on Google Nexus One from michael chaize on Vimeo.

ps: don’t forget that cs5 (which will improve dev for the mobile devices including iphone) is about to release soon :)

Skype status icon class



No Comments




Today i had some free time to make a skype status icon class (don’t know who’d need that).
Anyways, it’s a simple class that connects to the skype service, retrieves the status code for a specified account name and displays the status icon. All parameters customizable. I’ve even created a sample page with a php proxy (see the archive)

Download SkypeStatusIcon sources

Flex Button icon load failed?



No Comments


The only thing why flex sucks is that components can’t actually load icons (Button class for example) i thought.

Yes, but that was until i found Ben Stucki’s slight solution to this issue.
He wrote a nice utility class called IconUtility which creates BitmapAssets at run-time. This class is huge.
Sample button icon load up code:


var myBtn:Button = new Button();

myBtn.label = "press me";
myBtn.setStyle("icon", IconUtility.getClass(myBtn, "assets/my_icon.png"));
addChild(myBtn);

IconUtility Component for Dynamic Run-Time Icons

Download: IconUtility Class (302 kb)

Building air2beta2 apps howto



No Comments


Greetings 2 all.

As some of you probably now, adobe has released the air2beta2 at their labs, which brings new ablities like:

  • Enhanced support for interacting with printers (beta 2)
  • Support for TLS/SSL socket communication (beta 2)
  • Support for the detection of mass storage devices.
  • Advanced networking capabilities like secure sockets, UDP support, and the ability to listen on sockets.
  • Support for native code integration.
  • The ability to open a file with its default application.
  • Multi-touch and gesture support.
  • New APIs for access to raw microphone data.
  • Webkit update with HTML5/CSS3 support.
  • Global error handling.
  • Improved cross-platform printing
  • Improved security and support for enterprise and government standards.
  • Native process support

I’ve spend the whole day yesturday playing with the new api and in order that you not waste your time adjusting the sdk’s, figuring out how to build an exe/dmg file with full sdk support i’ve decided to post a little tutorial here.

Read more

Vector.sortOn()?



No Comments


As you probably now the new fp10 api provides a new Vector class (wonder my didn’t they just make typed Arrays like in C#) that increases performace about x2 times.
But, still among with the performance you could face some difficulties working with Vectors, for example it doesn’t implement a sortOn() method which, i think you’d agree, is very handy.

So, here’s how i do the sortOn() with Vectors:


/**
 * Converts vector to an array
 * @param    v:*        vector to be converted
 * @return    Array    converted array
 */
function vectorToArray(v:*):Array
{
    var n:int = v.length; var a:Array = new Array();
    for(var i:int = 0; i < n; i++) a[i] = v[i];
    return a;
}

/**
 * Here's a little example on how to sort a Vector using sortOn
 */
var v:Vector.<Object> = new Vector.<Object>();
v.push({id:5, email:"andrew@someweb.com"});
v.push({id:35, email:"david@someweb.com"});
v.push({id:12, email:"jill@someweb.com"});

var vSorted:Vector.<Object> = Vector.<Object>(vectorToArray(v).sortOn("id", Array.NUMERIC));
var n:int = vSorted.length;

Hope might be useful.
Cheers

My Brute’s coming back



No Comments


Do u guys remember the MyBrute casual flash game?

Valentin Simonov recently showed me a sort of modification of MyBrute called Crouching panda hidden swine (wonder who came to that name :) .

Anyways, the game is awesome! Nice graphics, animation, gameplay.
It really makes u relax a bit. Totally recommend it.
Try it your own.

ps: btw mybrute has just emailed me to “stay tuned” omg my account is still there http://julius-loa.mybrute.com/cellule

AirPackager, easy air-to-exe/dmg/rpm



2 Comments




AirPackager is a small app that will help you generate exe/dmg/rpm files out of your air package in other words – it’s just a GUI for the adt.
To install the app you need the AIR2 beta2 runtime
Again, works only on windows.

Download AirPackager.exe

PowerOff app – testing air2beta2 api



1 Comment




PowerOff is a simple shutdown timer, which i created just to reveal (test) some of the new features of AIR2 beta2 api.
To install the app you need the AIR2 beta2 runtime
And, btw, it works only on windows.

Download PowerOff.exe

Download PowerOff source files

SWFSize lib – working with browser/controlling swf metrics at run-time



No Comments




SWFSize is a simple, lightweight library to control the swf’s container metrics & use the browser’s native scrollbars.
Project page http://chargedweb.com/swfsize/.

UPD: version updated to 1.1

Older Entries