MAXRacer live



2 Comments

Share




Ough, almost forgot… Remember that Alternativa’s racing demo at the Adobe MAX?
Well, guess what — they’ve uploaded it, so u can go and drive that ferrari (or whatever that is) on your own now (link below) :)

Take a MAXRacer ride

Copying objects bytearray vs for in loop



2 Comments

Share




I was curious, which of those would be quicker in the “copying objects” battle — bytearray / for in loop.
Foreseeing your possible thoughts, “yes” i do realize that those methods actually differ (bytearray copies the entire object, uses describeType etc), but still curiosity takes over :)
And, frankly, i was surprized with the results. See it for yourself.

Read more

SWFSize on gitHub



2 Comments

Share




SWFSize master branch is now available at GitHub, so that those of u that use svn/git could easily pull the source.
https://github.com/jloa/SWFSize

Math.atan2 and zeros



2 Comments

Share




Keep in mind that


trace(0 === -0);			// true
trace(Math.atan2(0, 0));	// 0
trace(Math.atan2(0, -0));	// 3.141592653589793
trace(Math.atan2(-0, -0));	// -3.141592653589793

function posZero(n:Number) { if(n === 0) return Math.abs(n); }

SCORM 1.2/2004 as3 implementation



6 Comments

Share




as3 loves scorm

It’s been a while since i last posted in my blog thx to the holidays and the the enormous num of projects that’ve fallen down. One of my lastest projects was to build a swf course for an LMS using the SCORM standart. That’s when i’ve ran across Philip Hutchison’s blog and his SCORM project. After a few days of SCORM researches and running through the pipwerks SCORM solution, i came up with the idea to make an extention of it, which would fully implement SCORM 1.2 and 2004 “from the box” in the nearest future (currently a beta yet it works). [to be continued...]

So, here’s my version of the SCORM implementation for as3:

Download as3scorm at sourceforge (OS, MIT license as always)

UPDATE: added a new archive with a sample course

Might be useful:
SCORM 1.2
SCORM 2004 4th edition (and some more)
SCORM resourses, books, articles, tools etc
Adobe’s serialization as3corelib
Philip Hutchison’s aka pipwerks SCORM labs

ps: Philip thx A LOT for yr help! Btw if u have any scorm related questions, do not hesitate to contact either me or Philip

Adobe max 2010 1st day



4 Comments

Share




adobe.max.2010

Today was the 1st day of the Adobe max 2010, and as far as some of you already know, i wasn’t able to attend it personally, so i had to watch it live at http://max.adobe.com/online/ (btw in HD !!!).
I won’t write a poem about it, as tomorrow there will be one available at the said above http://max.adobe.com/online/ they’ve already posted the replay of today’s session. However i just owe to mention what really impressed me and that was the Alternativa’s 3d game called “Max racer” (a demo of the new, 8th edition of the engine), which was presented by Kevin Lynch as a sneak peak of fp’s performance increasement.

Ough, and the most important notice: check out the today’s replay http://max.adobe.com/online/monday/


I guess, that’s it for now. Now, back to work. Cheers ;)


Microsoft buys Adobe?



3 Comments

Share




There’s that rumor walking around the web that ms intends to purchase adobe.
What for? Didn’t they just yell about SL being the future of the web 2.0?
I guess it’s just a rumor and possibly a marketing strategy (adobe’s shares increased about 17%).
Source

Mozilla’s mobile phone concept



1 Comment

Share







Have u already seen the mozilla’s seabird mobile phone concept?
As for me, finally, someone made a mobile phone (even if just a concept for now) that i would like to have for sure.
Damn, i would kill for that phone :)





Read more about mozilla seabird

ActionScript 4 required or a method from the future



4 Comments

Share







While surfing the flex docs i bumped into this method.
Btw, as4 is not just a rumor as the ecma4 development still continues.

ps: sry for the late update, i’ve got tons of projects… :(

JSCompressor or a GIU for the YUI Compressor



No Comments

Share




jscompressor

While the whole world is on fire, i made a small air app which actually is a GUI for the yahoo’s YUI Compressor util.

About the YUI Compressor tool:

The YUI Compressor is written in Java (requires Java >= 1.4) and relies on Rhino to tokenize the source JavaScript file. It starts by analyzing the source JavaScript file to understand how it is structured. It then prints out the token stream, omitting as many white space characters as possible, and replacing all local symbols by a 1 (or 2, or 3) letter symbol wherever such a substitution is appropriate (in the face of evil features such as eval or with, the YUI Compressor takes a defensive approach by not obfuscating any of the scopes containing the evil statement) The CSS compression algorithm uses a set of finely tuned regular expressions to compress the source CSS file. The YUI Compressor is open-source, so don’t hesitate to look at the code to understand exactly how it works.



In short, YUI Compressor is a jar tool which compresses *.js files. Sure, u can use it through the command line as described here, however just give JSCompressor a try :)

Requirements:
AIR: 2.0 run-time installed (in case u don’t have it click here)
OS: win
Download: jscompressor.exe

ps: i just love making small apps is my spare time ^_^

Older Entries Newer Entries