RSS LinkedIn Twitter

Archive for February, 2011

In Flex you can embed an audio file into your swf (as opposed to streaming it or loading it remotely via a URLRequest). You do that in the same way you embed other assets using the [Embed] metadata tag. To play the sound, you simply instantiate an instance of it, and call play. Optionally you […]

Wednesday, February 23rd, 2011 at 22:14 0 comments

I was much more impressed with Flex 4 Cookbook, from Joshua Noble, et al, than I was with Flex 3 Cookbook. I haven’t had a chance to try out all of the code snippets yet, but there are lots of good ones. I was especially glad that the authors were able to maintain focus on […]

Monday, February 7th, 2011 at 21:32 0 comments

I needed to dynamically generate some image tags from some images stored in the images directory of my Grails application. It wasn’t that difficult to find Groovy examples explaining how this was done. The trick to getting them to work with Grails was to know the full path to the Grails application, and then translate […]

Monday, February 7th, 2011 at 16:56 0 comments

I have a development database that I use for testing, etc. that I occasionally like to sync up with the production database. I found a tip on MySQL’s web site that I’ve found quite helpful over the past couple months– pipe the output of mysqldump to the MySQL host you want to bring up-to-date. That’s […]

Thursday, February 3rd, 2011 at 09:53 0 comments