Flash on the Beach

November 10th, 2007 by Slav

At the last moment, but better later then never I was holding my 3 day company passes to this years Flash event of the year.  Speakers line up was fantastic and so were the seminar topics. I have to say I wasn’t disappointed.

Read the rest of this entry »

Posted in Personal | 1 Comment »

Flash Filters 2 AS2 Converter

November 8th, 2007 by Slav

With this extension you can apply the filters to MovieClip on stage in authoring time, run this command and it will generate and output the AS2 code for you to the output window with which you can replicate the same effect dynamically.

You can use any number of filters, any kind of filters and any combination of filters. Read the rest of this entry »

Posted in JSFL | 2 Comments »

Tight binding with Delegate. Evil but sweet. Dirty but fast.

November 3rd, 2007 by Slav

First perhaps I should explain what I am talking about. One of the core OOP principles is a principle of a class being a “black box”. Or class’s encapsulation. Which means , it’s advisable not to expose inner working of a class , i.e. it’s methods, variables etc to the outside word. Instead , to communicate with that class , to choose a few clearly and carefully designed public methods , something being referred to as classes interface. In AS2 this is done of course by declaring the methods and variables as “private”.

Although ,majority of time, these are very good rules since there is a good reason behind them, on occasion it’s fine to break them providing the benefits of breaking them outweighs the consequences of doing so.

I discovered the method that enables very effective class 2 class communication. The trick is to define the function variable on a class that is being attached and delegate that functionality back to the main class, using Delegate class from package mx.utils. Read the rest of this entry »

Posted in AS2, flash | No Comments »