Java programmers have long been able to embed notes in their code prefaced with TODO or FIXME. Eclipse summarizes these notes in the Task view for quick, easy reference. FIXME is essentially a higher priority TODO reminder. There is a…
‘m tempted to say that aggregation is a stronger form of acquaintance, and that wouldn’t be far from wrong. In fact, in certain contexts it may be perfectly correct. Gamma, et al point out that the differences between the two is a matter of intent rather than explicit language mechanisms. That makes it a [...]
Related posts:ActionsScript 3.0 Design Pattern Relations Part I: Acquaintances
The ActionScript 3.0 Flyweight Saga: Part III Aggregation Aggravation, Stuff on the Stage and the Intrinsic State
ActionScript 3…
Jesse talks about upcoming conferences, why use a framework, clearing up whether or not he’d use Cairngorm 3 on a project, and MLK quotes of note.
Mentioned links:
360Flex
Flash and the City
MIX
Cairngorm 3
Swiz
Parsley
Mate
SpringAS
Robotlegs
Martin Luther King, JR
Samuel Smith Oatmeal Stout
Today’s quiz is not multiple choice. Instead, use your choice of the Graphics class or BitmapData to write a function that generates the below image:
Your function need not take any arguments, it need only return a display object containing the above image.
Feel free to post your solution in the comments.
[EDIT] Solutions:
The solutions that have been posted in the comments so far are REALLY nice – they’re all worth checking out… and I think everyone posted their code to wonderfl so you can see the result without needing to open flash…
Chuck Freedman, Evangelist for litl, joined us to discuss the his companies web book product. He helped compare it with the Chumby and discussed further opportunities for the device. Also joining us: Stacey Mulcahy, Leif Wells, and Zach Stepek….
The new as3signals library devised by Robert Penner offers a replacement to the native AS3 event model. One benefit is that signals are more lightweight, and therefore faster. Grant Skinner’s Performance Harness is a widely accepted library for comparing the speeds of code execution.
I found the following results on Mac OS X, Flash Player 10.0.42.34, with a release build.
When an event (signal) is dispatched but nothing is listening for it:
When an event (signal) is dispatched and handled by one method listener:
The source code for my test methods follows:
Dispatching events without listeners
Dispatching events with listeners
If you browse these tests, you will notice that more tests were run than I have displayed above…
Advanced Flash Tactics or AFTs are techniques that come from deep within the Flash Art Of War, the oldest Flash military treatise in the world. In this AFT I will go over – SourceMate. SourceMate is a new plugin…
Throw your soldiers into positions whence there is no escape, and they will prefer death to flight. If they will face death, there is nothing they may not achieve.