Ruben’s blog

Ruben Swieringa on Actionscript and a whole lot of other stuff..

Category: Other

Interactive mindmap

As promotional material for today’s view day at my course I made an interactive mindmap which was beamed onto one of the walls of the classroom of the ‘Next Web’ minor.
I got some really positive responses so I decided to post it here, click the screenshot below to check it out (navigate by clicking an [...]

Open/closed design principle

A while ago a friend and I were having a discussion about the use the private and protected access control attributes in AS3. While I stated that you should always try to write your code as open as possible as to make it flexible, he said that you should always make your code closed unless [...]

Using DistortImage with dynamically loaded images

About a week ago someone asked me through the comments-section of a previous post if it was possible to use the DistortImage class with non-embedded (runtime-loaded) images.
Here’s an example:
DistortImage dynamic loading demo
DistortImage dynamic loading demo source
NOTE: I wrote that the code added to the mxml-file in a bit of a rush, it is by no [...]

Beyond Boundaries Amsterdam

Last tuesday a bunch of other students from school and I took a traintrip to Amsterdam to see Daniel Dura, Sakri Rosenstrom and Serge Jespers talk at Beyond Boundaries Amsterdam.
At 8 in the morning I met up with Arno at the trainstation in Leeuwarden, just in time to eventually be really late for the first [...]

Ambiguous reference bug for namespaces in Flex

Before coming up with a solution for binding read-only accessors a few months ago, I had already tried out various alternatives, among which the following (which was later also pointed out by others through the comments):
[Bindable]
// public getter:
public function get someProperty ():String {
return this._someProperty;
}
// protected setter:
protected function set someProperty (value:String):void {
this._someProperty [...]