Archive for 'ActionScript'
VerifyError: Error #1053: Illegal override of removeChild Bridge in mx.managers.SystemManagerProxy.
25 March 2009Ran into this error recently when using automation testing (RunTimeLoading.html/swf).
Turned out to be a recently updated SWC (library) that was compiled under a newer SDK than the main app.
With the mixed SDKs main app / SWC(s) RunTimeLoading.swf was unable to load regardless of which SDK version RunTimeLoading was compiled under.
Iterating a filtered collection
12 February 2009Okay, nothing profound here but thought I’d post as it’s a common question.
If you have filtered a collection,
ex
var ac:ArrayCollection = new ArrayCollection();
…
…
ac.filterFunction = myFilter
ac.refresh()
but you’d like to iterate over / access the unfiltered collection, simply use the .list property
var items:IList = ac.list
cheers
Josh
Flex 4 (Gumbo) Compiler Benchmark
21 November 2008‘Benchmark’ is being used pretty loosely here. I just got back from MAX and thought I’d check out the new compiler performance.
In addition to the exciting new display logic separation (Spark Framework), the SDK team has worked on speeding up compilation.
I compiled (incremental build) a project containing 57K lines of code (34K […]
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” […]
