Posts Tagged "OOP"

February 10th 2008 @ 3:53 pm Filed under: Javascript Tags: ,

If you’re anything like me, hardcore object-oriented Javascript coding always come with unexpected errors and some of the strangest behavior you can’t really explain.
But that’s always the programmer’s fault, of course. It turns out Javascript isn’t made to be used in a object-oriented way, but rather in a prototype-oriented fashion.
This lengthy post compares Java and [...]

read on »
February 7th 2006 @ 11:38 am Filed under: Flash, Web Design Tags: , ,

The use of a static method to delegate events in Flash is one of the easiest ways of associating functions to an event.

read on »
February 1st 2006 @ 2:13 pm Filed under: Flash, Web Design Tags: , ,

I’ve been having a lot of trouble having Event (clicks, loads, etc…) in Flash for as long as I’ve been doing Object-Oriented ActionScript. I barely managed to call inline functions and having to use the absolute path to the property. Example:
class Foo {
public var _someProperty:String
public function Foo() {
// Lets skip how I actually make the [...]

read on »
November 12th 2005 @ 10:11 am Filed under: Flash, Web Design Tags: , ,

Macromedia have brought a lot more depth into Flash by adding pre-compiled components (or movie clips) to the software’s library. Mostly available only in the professional edition, these components make building application faster and easier.
One of the components I’ve played with it the Window object. It’s simple to understand and it’s possible to create a [...]

read on »