Just a quick note on this. There are ways to prevent variables from being overwritten. ASSetPropFlags.
Here is a description as to its usage. http://www.flashguru.co.uk/assetpropflags/ It's kind of strange, but it's useful once and awhile. Scott -----Original Message----- From: [EMAIL PROTECTED] on behalf of Jim Tann Sent: Mon 3/20/2006 1:27 PM To: Flashcoders mailing list Cc: Subject: RE: [Flashcoders] Inconsistent Constant I agree with that. I set constants like that so I cant overwrite them on accident. Jim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Webster Sent: 20 March 2006 17:36 To: Flashcoders mailing list Subject: Re: [Flashcoders] Inconsistent Constant Ian, > Flash doesn't have the concept of constants, so you couldn't > enforce a constant even if you wanted to (except by a hack like > defining a null set() function, but that's beside the point a bit)... > you can only suggest that specific things should be constant by > convention It's not really beside the point. We define constants in this way... class Test { public static function get SOME_CONSTANT():String { return "value"; } } ...which works perfectly. -- Steve Webster Head of Development Featurecreep Ltd. http://www.featurecreep.com 14 Orchard Street, Bristol, BS1 5EH 0117 905 5047 _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

