No Dice Required Rotating Header Image

Posts Tagged ‘Code’

New lines in Strings read from Xml

Are you reading Strings into your Flash application from Xml? Are your \n’s showing up as \n rather than a new line character? Are you confused why this is happening? Then you may be suffering from escapism.

Flash Memory Leaks

Are there memory leaks inherent in the Flash client? On my machine, the memory usage slowly climbs at a rate of about 4kb every 3 seconds in Firefox, and 4kb every 5 seconds in Adobe Flash Player.

Loading Images in Flash at Runtime

Need to dynamically load images in Flash at runtime? Learn how to load images from a string (maybe retrieved from XML). Preserve transparency and display progress!

Presentation Layer

I’m redesigning the Solution Explorer so that it works the way the user would expect, and this is a good example of how the Model-View-Controller setup makes life more simple over just hooking into Form events and using Form objects directly.

Context Menus in Tree Views

It is very easy to make a poor presentation layer with Visual Studio — in fact, if you ask “What’s a presentation layer,” then you’re probably doing it wrong.  It is all too tempting to draw a new button on a form double click the button and start coding away.  Visual Studio makes coding a [...]

I have your update right here!

I think the bugs that plagued the last version have been fixed. Let me know if anything seems strange here. The dots may appear to hop like frogs if they collide with the level obstacles, but this is just an illusion and you should try to take fewer drugs.
One particularly nasty bug was [...]

Magic Ants demo 5

Another release of Magic Ants, includes source code, tutorial and a description of collision detection against a background for a platform-like game.