new, thefwa, version
Mar 01jloamisc, thoughts

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.
as3, class, skype, status
Feb 22jloacode

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
as3, flex, icon, load
Feb 20jloacode
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)
air, air2beta2, compile, dmg, exe, rpm
Feb 20jloacode
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
as3, sort, sorton, vector
Feb 20jloacode
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
crouching, Flash, game, hidden, panda, swine
Feb 20jloamisc

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
air, air2beta2, airpackager, app, as3, dmg, exe, rpm
Feb 20jloaapp, code

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
air, air2beta2, app, as3, exe, poweroff
Feb 20jloaapp, code

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
as3, js, metrics, scrollbar, swf, swfsize
Feb 20jloacode

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