Try throwing an error in the constructor
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
rss181919
Sent: Monday, September 08, 2008 8:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to terminate construction
I'm new to flex and just getting my feet wet
IIRC, if you throw an error from the constructor the object will still be
instantiated but not constructed: ie, memory allocated, instance
initialisers run (the code after the = in public var memberVariable :
Object = but the constructor function will be aborted, and there'll be
no reference
2 matches
Mail list logo