My example did basically that, except I didn't use folders and I had a different naming convention. I had all the animation's names as a number so that it would be simple to just have it correspond to a loop index.
You could continue to use named, but it may be quicker in events to use a numbered naming convention. I'll alter your example to show this.
http://dl.dropbox.com/u/1024727/AlsGang ... xample.zip
This example changes it to the right gang member using the global variable, and all of his frames for each of his animations are replaced from the appropriate folder.