Friday, 26 March 2010

Swedish Interactive Movie

Flashland, what else?

Flashopen double-link - Test in Flash AS3

Testing Flash link-converter for 2 simultaneous hyperlinks.
It is redirecting to a php that writes two i-frames. Therefore, it doesn't work with websites that do not support it, like Twitter, Vimeo, etc....

The Flash app can be found HERE
Example of 2 hyperlinks

Multi-touch AIR applications

by michael chaize (in English)

Applications Adobe AIR Multi-Touch

by michael chaize (in French)

Thursday, 4 March 2010

Flash messages that fit Twitter-box

Messages left on Twitter (@flashopen) written in ActionScript 3.

My intention with this is not much really! Being busy all day writing AS and following Twitter (when I take a break) have had pretty much contributed to this kind of late mental disorder. Actually I'm not so sure if it is my fault completely. I'd like to blame Twitter for that though! Much easier. But who cares anyway!

Well, they are messages in code, with 140 characters or a bit less, that outputs the result of what I am thinking or feeling at that same moment. The code itself uses AS3 keywords that are, somehow, related to that same output. Ye I know, insane!

Should you have Flash CS3/CS4 installed, have never touched it and like to try it yourself to see if it true... here it is: Open the damn program & press F9. The Actions Frame panel will open before your eyes and it is exactly in there that you can paste that beautiful code. Click Control and choose Test Movie. The message is suppose to show up in the Output panel.

For those who don't have this amazing program ... here is the list:


Code:
var Steve=new Sprite();Steve.name="Jobs";addChild(Steve);Steve.addEventListener(MouseEvent.MOUSE_UP,function(i){removeChild(i.target.name)})

Output:


Code:
var phone="rings";var pick="cab ";var rain=pick.split("").reverse().join("")+"k!";trace("Sp"+phone.substring(0,4)+" i"+phone.charAt(4)+rain)

Output:
Spring is back!


Code:
var all=[" we"," dog","piss"];var walk=all[1].split("").reverse().join("");trace(walk+all[2].substring(1,3)+all[0]+all[0].charAt(2)+"kend")

Output:
god is weekend


Code:
var time="now";var planet="red";var future=planet.split("").reverse();var me=time.split("").reverse();trace("I "+me.concat(future).join(""))

Output:
I wonder


Code:
var see="evolution";var i=see.split("");i=i.slice(0,4).reverse();i.push(" you");i.unshift(" ");var a=see.charAt(6)+i.join("");trace(a) //AS3

Output:
i love you


Code:
var t="Is Monday";function cent(b,y,e){return};var q=t.split("s");var p=q.every(cent);trace(p==true?"":q[0]+" like"+q[1].substr(0,4)+"ey")

Output:
I like Money


Code:
var today={w:'is Sunday'};var truth=setTimeout(function(){trace(isPrototypeOf(today)==true?"ye":"no "+today.w.substring(3,6))},200);

Output:
no Sun


Code:
var my=new Point(x=1,y=1);var your=my.clone();var p={a:"do",b:" have a point"};trace(my.equals(your)?"I "+p.a+p.b:"I "+p.a+"n't"+p.b)

Output:
I do have a point


Code:
function tv(e){trace(e.bubbles?op+"NO":op+"YES")}var l=new Timer(500,1);var op="beer? ";l.addEventListener(TimerEvent.TIMER,tv);l.start()//?

Output:
beer? YES


Code:
var we="Adobe freaks";var pls=we.substring(3,9).split("");we="Please, ";for(var i in pls){we+=(pls[i])}trace(we+"e!") // Today's message AS3

Output:
Please, be free!


Code:
var cool="FITC Amsterdam";var so=cool.substr(9).split("");so.reverse();cool="";for(var i in so){cool+=(so[i])}trace(cool+" mia!")

Output:
madre mia!


Code:
var cant_see:uint=20;var my_patience:uint=1;setInterval(function(){trace(my_patience>cant_see?"bye bye":"I hear you");my_patience++},200);

Output:
I hear you ... bye bye