venerdì 22 aprile 2011

Binding bundle property with actionscript

var lbl:Label=new Label();
BindingUtils.bindProperty(
lbl,
"text",
ResourceManager.getInstance(),
{ name: "getString",
getter: function(resMan:IResourceManager):String {
return resMan.getString("BUNDLE_NAME","BUNDLE_KEY_LABEL");
}
});
Queste quattro righe mi hanno risolto lo spinoso problema dell'internazionalizzazione tramite actionscript.

lunedì 18 aprile 2011

Champagne Supernova

How many special people change?
How many lives are living strange?
Where were you while we were getting high?

lunedì 7 marzo 2011

Walking on the moon

Some may say
I'm wishing my days away, no way
And if it's the price I pay, some say
Tomorrow's another day, you'll stay
I may as well play

lunedì 10 gennaio 2011

Feel the pain


Dinosaur jr.
1994
...

I feel the pain of everyone
Then I feel nothing
I feel the pain of everyone
Then I feel nothing

I feel the pain of everyone
Then I feel nothing
I feel the pain of everyone
Then I feel nothing

Is it up to me?
You won't wait to see
Screwed us both again
About as close as you dare

I feel the pain of everyone
Then I feel nothing
I feel the pain of everyone
Then I feel nothing

Is it up to me?
You won't wait to see
Screwed us yet again
About as close as you dare
Hey now, take it back
Get off the attack
Trailin' on your scene
Just try and keep it clean