Call me lazy, but i have almost always gone with using static constants where other developers scream enum enum… ENUM!!! public static const TYPE_ONE :String = "typeOne"; public static const TYPE_TWO :String = "typeTwo"; public var type :String = TYPE_ONE; Ok, so i hear ya, you can chill now, from now one its: [...]
If you want your custom components bindable properties to popup selectable values (i.e. true/false) via code completion in Flex Builder and also to show in the Properties Panel in design view, the Inspectable tag is your friend: [Inspectable(category="General", enumeration="true,false")] public var isCool:Boolean; If your like me and have been a bit slack on the metadata [...]
Papervision provides a number of useful object parsers for loading 3D models, including the DAE and Collada classes. Ive found the DAE class to work more consistently than the Collada one, so thats how im rolling. Listening for mouse events on the loaded model should be simple right? Turns out its quite a pain in [...]
I have never really got runtime shared libraries working quite the way I would like, though i have often found myself in a situation where they seemed a good idea in theory at least. So this looks interesting… SWFExplorer loads in an external swf and exposes the available assets as classes for easy instantiation. Its [...]

Recent Comments