Use your macbook trackpad as a multitouch device on Max 5
August 13th, 2010
I was looking for somekind of framework or script in order to use trackpad as multitouch device. At first I found TongSeng from TUIO. After a little googling, I came across with an external called Fingerpinger which was written for Max Msp Jitter. It’s free and opensource. You can download it from here. And it’s very easy to work with it.
Convert Fist Letter in String to Uppercase With AS3
August 10th, 2010var Title : String = "bLoG";
Title = CapitalizeFirstLetter(Title);
//Ouput: Blog
function CapitalizeFirstLetter(Str:String):String
{
var converted:String = (Str.substr(0,1).toUpperCase() + (Str.substr(1,Str.length)).toLowerCase());
return converted;
}
Redirecting domains to www with .htaccess file
August 2nd, 2010If you have Linux server on your web site, you can easily redirect your “domain.com” to “www.domain.com” with .htaccess file. Every Linux based servers have .htaccess file. However, because of the “.”, it’s a hidden file. So, you can’t view unless you set your ftp client’s “view” property to “show invisible files”. You can turn on “show invisible files” with most of the ftp clients such as FileZilla, Transmit and etc…Even if you enable “show invisble files”, can’t you see the file? So there is an easy way. Just create by yourself in one of the text edit software such as Textedit or Notpad.
1- Open a blank document file with Notepad or Text Edit.
2-
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
**change domain.com and www.domain.com with your domain name.
3- Save the file as .htaccess without any extension.
4- Upload the file to your server with your ftp client
that’s all. Now check your browser and it’ll work. If you type onto your browser “http://domain.com”, it will be redirected to “http://www.domain.com”
Online Font Converter Tool
July 24th, 2010This is a great tool for converting font types online. The best part is you don’t have to sign up or be a member of the web site. Cool!
Convert AS3 Timeline Codes to Document Class Easily
July 23rd, 2010Here is a great tool that you can convert Flash Timeline codes to the document classes. It works perfectly. The only thing you do is, just copy timeline code into the empty textarea below, then put a name for your document class. When you press “submit” button, a php script generates your document class code at once. Thanks to Zevan Rosser for this converter tool. By the way, he is a smart coder. Many of Zevan’s codes are too short, but also functional. You should check his blog also for some kind of unique tutorials.
AS3 Timeline Code to Document Class Converter
Interview with Milton Glaser
July 21st, 2010There is a nice interview with Milton Glaser about art, design, computers and education at Design Informer.



With keyword in Action Script 3.0
July 12th, 2010I’ve been programming with as3 for two years and everyday I come across with a new stuff
Today, I was checking a as class and encountered with “with” keyword. There is no magic about “with” keyword. But, it allows you to write cleaner codes. Here is a little example how it works;
with (graphics)
{
clear();
beginBitmapFill(_bitmapdata);
moveTo(0, 0);
lineTo(pWidth, 0);
lineTo(pWidth, pHeight);
lineTo(0, pHeight);
lineTo(0, 0);
endFill();
}
Squatouch is represented at Cycling 74 and Computer Music Blog
July 9th, 2010Squatouch is a computer-based musical interface and offers a multitouch user interface via the forms of direct interaction which is designed and programmed by me.
Maxx242

