webdu 2012: web developer conference

FlashMX/PHP Development with Sunny Hong of ghostWire Studios.

Show all feed information | Ping Blog Update

Severe TextField WordWrap Bug in Flash Player version … 8 months ago

There is a severe TextField bug in current Flash Player version 10.3.183.5, causing text to display vertically with each letter on each line in TextField instances where the wordWrap property has been set to true. This causes a concern for the Flash Platform in general, because this shows that …
keywords current, flash, flash 3, flash player version, hostage, instances, textfield

[AS3] Referencing Embedded Assets Of Another Class Using … 9 months ago

This is rather unorthodox but it works. In Flash, when you embed an image into the SWF using a static class member of a class, a new class with the name of CLASSNAME_MEMBERNAME is actually created internally. Using flash.utils.getDefinitionByName(), you can access this class, regardless of …
keywords actionscript, as3, assets, bitmap, bitmapdata, embedded, flash, static class, swf, tips, using flash

FlashDevelop, Flex SDK, Windows 7, Missing DLL last year

This post is for my own future reference because I have forgotten about this problem until a recent reinstall of Windows 7. After a clean install of Windows 7, trying to use compc and/or mxmlc from the Flex SDK through command line may yield a “System Error” message: It seems like …
keywords flash, flashdevelop, flex, microsoft, others, sdk, system error

On Permutations, Probabilities and Psychology last year

Shuffling an array of items is a common topic in programming, especially as an academic exercise. In my previous post, I wrote about a different approach towards cards shuffling in programming – which is to not do it. Instead, you can randomly select and remove an item from the array …
keywords array, cards, game programming, others, psychology

[Game Programming] Consider A Different Approach To Cards … last year

Very commonly, computer programs (usually games) that have the need to simulate a shuffling of a deck of cards (or drawing a tile from a bag, etc.) will go the obvious way of putting the items in an array, and then randomize the order of the elements of the array. A common algorithm for doing [...]
keywords actionscript, algorithm, array, as3, computer programs, deck of cards, elements, flash, game programming, games, tile, tips

FlashDevelop: Getting trace() Statements To Show In … last year

This is quite an obscure, little known, hidden-by-default feature, but the FlashDevelop IDE actually has a built-in Flash tracer. The plug-in is unfortunately not enabled by default, and new users of FlashDevelop often get frustrated wondering where to look for the output of their trace …
keywords actionscript, flash, flashdevelop, ide, tips, trace statements

Mac OSX Keeps Restarting On Its Own? last year

Ever since I first started using Mac OSX, I have been haunted by this strange behavior. On Windows, if I leave the machine to take a much needed break, or to take a phone call, go for a run, take a shower, etc. I can return to the machine later, with my work-in-progress intact, [...]
keywords mac osx, others, strange behavior, user experience, ux, work in progress

uiImage: Loading Resources From Foreign Domains 2 years ago

The uiImage component is used to display an image (JPG/PNG/GIF). The path to the image is specified by the source property. By default, the uiImage object will attempt to load resources from the “assets/images/” folder (path is relative to the application SWF). To load from a …
keywords actionscript, as3, aspire ui, assets, flash, flash components, folder path, image jpg, images, png

[OSX] Goodbye, Spaces… Hello, Spark! 2 years ago

This post may come across as blasphemous to ardent Mac fanatics, but I am hoping that OSX users who are in the same predicament as me may find it useful. I have finally disabled Spaces on Mac OSX. It’s a little painful to disable it, because I had considered it a very crucial feature, …
keywords hello, mac osx, others, tips

uiFrame: ActionScript 3.0 GroupBox 2 years ago

It is often overlooked, but the uiFrame component in the Aspire UI toolkit essentially has the same utility as the GroupBox in WPF (Windows Presentation Foundation). A GroupBox displays a border/frame around a group of controls, with or without a caption/title. This is typically done to provide …
keywords actionscript, as3, aspire ui, flash, flash components, tips, toolkit, visual feedback