Archive for December, 2011

Merry Christmas and a Happy New Year!

Ars Thanea - The Art of Imagination

Merry Christmas and a Happy New Year Everyone!

Related links:
Ars Thanea

JOB - Mobile Programmer

JOB - Mobile Programmer We are looking for Mobile Programmer to join one of our offices in Warsaw.
More details in Polish can be found here.

Spread the word - thank you!

Related links:
Ars Thanea
Careers

JSFL - #include & classes

Working lately with Flash Platform and JSFL I came across to the very useful tip on gskinner.com. Please read it below.

In MyJSFLClass.jsfl

MyJSFLClass = function () {}
 
MyJSFLClass.prototype.run = function ()
{
    fl.trace( "Hello World!" );
}

in script.jsfl

var JSFL_PATH = fl.configURI + "/path_to_jsfls/";
var included = {};
function include ( file )
{
   if ( included[file] ) { return; }
   included[file] = true;
   eval( FLfile.read( JSFL_PATH + file + ".jsfl" ) );
}
 
include("MyJSFLClass");
var foo = new MyJSFLClass();
foo.run();

Unfortunately it doesn’t seem to work in CS5.

Related links:
Gskinner.com