Hezarfen

posted in Inspiration on 2011-01-17   hezarfen
read more

Java 4ever

posted in Fun on 2011-01-13  
read more

GoogleMaps API v3: convert LatLng object to actual pixels

posted in JavaScript on 2011-01-07   map var map getprojection fromlatlngtopoint worldpoint scale object fromlatlngtopoint map getbounds getprojection fromlatlngtopoint map

It is not so easy as it looks like. You should get the map object's projection and the map's zoom to be able to calculate it.

read more

Free nice Icons by Yummygum

posted in Design on 2011-01-06   commercial projects check absolutely free icons

Absolutely free icons for commercial and non-commercial projects. Check out here.

read more

JavaScript: managing events (dispatch, listen)

posted in JavaScript on 2011-01-06   function event events dispatch classname type eventbus addeventlistener testclass2 testclass1 var

As a huge fen of the flash platform, I always like to work with events. The events system in ActionScript3 is really helpful when we are building a big application with many modules and we want to keep them independent. JavaScript hasn't native support of events, but we can still use them.

read more

CSS: selecting a specific child

posted in Other on 2011-01-05   span css main span specific child style set

The selectors are one of the most powerful features in CSS. Sometimes they can save you a lot of additional work. In this article I'll show you how to set the style of a specific child in a list of elements.

read more

PHP: Simple javascript obfuscator (merging files)

posted in PHP on 2010-12-30   jsstr jsstr jsstr str_replace jsstr str_replace jsstr str_replace jsstr jsstr js files fh file comment js core plugins

Currently I'm working on a big JavaScript project. It has a lot of files that have to be compressed. I wrote a simple php class that merges all the files into one. It has also a useful simple obfuscator method.

read more

AS3: Using custom Metadata in Flex (part 1)

posted in ActionScript on 2010-12-28   metadata public flex mycustomclass information metadata tags tag as3 flash utils describetype public function mycustomclass

I'm sure that you've already used metadata tags in your flex applications. There are several reserved keywords like [Bindable], [Embed], [Event] and so on (the full list is available here). The function of the metadata tags is to provide additional information to the flex compiler. For example information about embeding assets, dispatching events. This article doesn't explain how to use the default flex tags (you can learn that from here). It shows you how to create your own metadata tags and how to use them.

read more

CSS styles doesn\'t work on dynamically created elements in IE

posted in JavaScript on 2010-12-28   createelement div element document createelement div element document createelement var element document

Again, IE proves that is full with bugs. Simple but effective solution.

read more

Delegation in JavaScript

posted in JavaScript on 2010-12-27   var numofargs arguments length var numofargs arguments args var numofargs var args var delegate scope method function delegate scope delegation

I think that the delegation is an important part of every programming language. It is also possible in JavaScript.

read more

Old articles New articles