Bratwurst

Adobe Flex 2 Language Reference, class Class:

For example, if you are using an MXML compiler to generate SWF files, you would create an embedded class as follows:

[Embed(source="bratwurst.jpg")]
public var imgClass:Class;

Real Coders do Assembly

So our Flash Commodore 64 emulator project, FC64, got nominated for the Flashforward Film Festival recently (read my previous post). The 60 finalists are given the opportunity to submit a 45 second trailer showcasing the work, that will be shown live in front of 1000 people at the ceremony.

I won’t spoil it so i won’t show the trailer here (you gotta wait until after the Flash Film Festival ceremony or better yet attend it to see it). What i can do though is – in the spirit of open source – show you the source code:

http://codeazur.com.br/stuff/fc64trailersource.asm

The trailer is written in 6502 assembly and runs in FC64 – a real ‘Demo’. It actually should run as is in the original C64 hardware, and in any other C64 emulator. If i ever find the time, i’m going to prepare a binary image to load it into other emulators.

By the way, FC64 features an assembler (the souce code above is loaded and compiled at runtime into the emulator), as well as a disassembler and debugger. This is currently not reflected in the emulator UI and undocumented. Plans are to make the UI a full featured IDE for developing stuff for the C64.

I had hell of a fun coding the trailer demo, and it put me right back in the mid 80es when i used to waste night after night coding on my beloved bread box. Ahhh, memories.. :)

Back to AS3 development now, listening to Depeche Modes ‘See You’. Ha :)

Goodies for Flex2 Developers

I was invited by Adobe to join them in San Francisco for the two day Adobe Component Developer Summit (ACDS) last month. The event was a blast to say the least, surely the best developer get-together i’ve been to ever. I got to finally meet people that i know for many years now but never met before (you know wo you are), and the presentations were all very solid.

Ted Patrick (he set the whole thing up and receives my special thanks once again: was great meeting you, Ted) announced today that the speakers made their slides (and sample code where applicable) available to the public. It’s absolutely a great resource for developers who want to get their feet wet with Flex 2, or who want to dig deeper. My personal favourite presentation was Gary Grossmans “ActionScript 3.0 and AVM2: Performance Tuning” [PDF].

Check out Ted’s post “Adobe Component Developer Summit – Slides and Examples” for the download links.

[Oh and by the way, in case you missed it, the price winning and dug Commodore C64 emulator project FC64 that Darron Schall and myself have been working on in our free time for a while now is an open source project so feel free to check out the sources to see how we did it. Maybe you even want to contribute.. please drop me or Darron a mail, we greatly apprechiate your input]