I never thought about lazy functions in JavaScript. Apparently, you can implement it this way:
var foo = function() {
var t = new Date();
foo = function() {
return t;
};
return foo();
};
I hate JavaScript.
Making things move since 1999
I never thought about lazy functions in JavaScript. Apparently, you can implement it this way:
var foo = function() {
var t = new Date();
foo = function() {
return t;
};
return foo();
};
I hate JavaScript.
Scala is hard. To use its syntax sugar you have to know what’s going on.
Now as jailbreaking is legal, couldn’t Adobe publish a Flashplayer for the iOS (iPhone, iPod, iPad) over Cydia(App Store for Jailbreaked Apps)?
I guess this would be a huge market!
https://bugs.adobe.com/jira/browse/FP-5228
I’d like Flash Player on my iPad please!
I am talking about –> operator. Did you know about it? It’s called “down to” operator. Here’s an example.
var a:uint = 20; while ( a --> 0 ) trace(a);
Isn’t it cool?!
Usually I dislike posts titled “10/20/30 whatever for/to whatever whatever“. Why 10? Can there be more? Why you chose these ones?
But this post about AIR applications seems to be really useful. At least I got some interesting stuff from the article. It is definitely a good read if (even if not) you are developing AIR applications.
Scala version 2.8.0 has been finally released, Joa updated apparat amazingly fast and v.0.2.1b is just a stable Scala 2.8.0 compiled application.
http://va.lent.in/projects/swf/initInjector/initInjector.0.2.1b.zip
InitInjector is a little Scala app which allows you to move code from SWF constructor to a private init method and subscribe it to ADDED_TO_STAGE. This fixes an error of stage being null in loaded SWFs constructor.
0.2.1b:
0.2b:
Thanks to everyone for reporting bugs.
All of you who liked the first version of famous algorithms on steroids library from blooddy will be pleased by the new release. This time it’s even faster and more stable. The author got rid of some bugs too (like this one).
Also at last he hosts the file himself so I finally can cut my traffic bills by half.
Just read an article about Smokescreen, which “It runs entirely in the browser, reads in SWF binaries, unzips them (in native JS), extracts images and embedded audio and turns them in to base64 encoded data:uris, then stitches the vector graphics back together as animated SVG.” for iPhone/iPad.
Wonder what people can do just to see flash in iPad.
This thingie can only render flash banners. And we all know that banners is the most important and advanced thing of all flash stuff.
Recent Comments