Email: enquiries@yellowbadger.com Tel: +1 360 820 1469

Singletons in ActionScript 3 Wed 07 February 2007 16:03
UPDATED Tue 20 March 2007 15:48

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...

135 comments Link

Simply Java Wed 07 February 2007 13:53
UPDATED Tue 20 March 2007 15:48

I've been working on my Flex 1.5 Eclipse plug-in, and I finally got round to adding something I've wanted to put in there for a long time. Namely, automatic detection of flex-config.xml. Now if you're going to automatically detect the config file, there isn't a whole lot of point in doing it unless you read the contents and make them available to the rest of the plug-in. Getting the contents of XML files into Java has it's fair share of quirks, but I can handle that because there's a lot of ...

626 comments Link