Mike Chambers posted an entry on his blog about using Application.application.foo as an approach to allow global variables in Flex Applications. A couple of people, myself included, mentioned in the comments that an alternative was to use one or more singleton classes instead and Dave asked for a more complete example of using singletons. Well here it is Dave, for you and anyone else who might...
Category: Design Patterns
Singletons in ActionScript 3 Wed 07 February 2007 16:03
UPDATED Tue 20 March 2007 15:48
135 comments Link
YellowBadger Blog 
|
Archives |
|
Categories Design Patterns (1) Singleton (1) ActionScript (1) |
