Behrooz
Tahanzadeh


Connection #2

Same as Connection #1, Connection #2 has been designed to create an initial random image. But instead of straight lines and moving Dots, it uses curved lines and rotating Dots!
All Connections are created in random order like previous version but this time they’re illustrated by cubic B├ęzier curves. read more…



AppMenu class

Menus are one of the most important methods to create better user experience and integrating with OS. And AIR platform supports both windows menu (on Windows) and application menu (on Mac OS) very well. The downside is implementing menus through the Action Script is too complex. You have to create NativeMenu instance, then attach NativeMenuItems and then do it again and and again to create simple menus. So I’ve developed “AppMenu” class which converts well-formed XML data to every type of menu that you want.
read more…


Repository: AppMenu on Github
Programming Language: Action Script 3.0

SType action script library

It’s been always painful for me to create instances, assign their properties and add event handlers and do it over and over again in many lines! And the final code is always messy and hard to read. So I have developed a library called SType (for super type!) which does all three steps (create, assign, handle) in one line of code. SType uses AS3 Signal library have been developed by Robert Penner.

read more…


Repository: Stypes onGithub
Programming Language: Action Script 3.0
Runtime: Adobe AIR

wave #1

I have developed “Waves” to demonstrate waving effect by transforming separate object without moving them. In this version I tested rotation which means Individual lines rotate around themselves based on their distance to collision place (where user clicked!).

read more…



convert string into a valid file name

I always avoid struggling with file system because of its potential to be dangerous! But finally I forced to work with it in “Archdaily Inspector” project seriously. So I developed a code to convert a string into a valid file name.

read more…



Add update functionality
to an AIR application

One of the greatest features of Adobe AIR platform is its update capability. You can embed update functionality in every AIR application so easy and be sure that all of you users will run latest and bug free version of you application. The great thing about this is that it’s free to developer up to include this functionality in anyway that they like.

To accomplish an update process, generaly these steps must be done:

1.Check for update to see whether a newer version is available or not.

2.Download update file from server, if update is necessary.

3.Write Downloaded file in temporary location on users hard drive.

4.Call update function of Updater class and AIR will handle the rest of update process.

read more…