Archive for 'ActionScript'
Flex Modules, Watch Your Scope!!
14 August 2008Here’s another help hint for those working with Modules in Flex: Watch your variable scope!!
When loading modules, you have a number of options for loading the SWF including the ModuleLoader and ModuleManager. If neither of those fit your needs you always have access to Flash’s Loader class. ModuleManger can be used for fine […]
AMFPHP Class Mapping Primer [1.9 beta]
1 July 2008Thought I’d post a simple AMFPHP class mapping primer.
I ran into a wall after re-arranging my VO / DAO package structure on the server, learned a few things in the process and thought I’d post .
I’m assuming your using AMFPHP 1.9 beta.
Class mapping allows your php backend and actionscript frontend to pass […]
AMFPHP Complex Classes - Yeah I knew that
19 June 2008Just blew half an hour tracking down something I *knew* I’d done before. Thought I’d post here for future ‘lapses.’
To return a typed object from PHP to the flashplayer the process is simple, declare a variable called $_expicitType in your PHP class
e.g.
class SummaryVO
{
var $_explicitType = “com.dl.SummaryVO”;
$standards = […]
AS3 PureMVC Dynamic Modules
24 May 2008Okay, I’ve had some questions on refactoring my PureMVC dynamic modules classes to support AS3 projects (i.e. no flex).
I’ve posted a sample app that does just that.
I threw this together off the cuff, so don’t expect too much
The app (10K) simply loads 6 modules dynamically, 3 “RedTint” modules and 3 “GreenTint” […]









