-
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
-
Object Oriented Programming in JavaScript (Extending / Inherit classes)
posted in JavaScript on 2010-12-23 function baseclass class childclass var getname subclass2 subclass1 extend -
As you probably know JavaScript is not exactly OOP based language. Of course there are some ways to handle with this and you can still create classes and inherit them. It is much much better to use classes. Your application will be well structured and split to modules.
read more
-
How to generate SWC file from ActionScript package
posted in ActionScript on 2010-12-18 swc file classes output generated swc file compc exe usage -
SWC file format is really useful when you want to transfer or to compact your ActionScript libraries. It is also used for exporting assets, which can be used later. Let's imagine that you want to create a .swc file for only small part of your application, i.e. pure .as files. I searched a lot for the fastest and easier solution and finally I think that the usage of compc.exe is the best option.
read more
-
Maybe One Day
posted in Inspiration on 2010-12-17 -
a Rankin and Chris Production / Directed by Chris Cottam / UK / 2009
read more