Hi, As far as I can see the code is correct.
It loops around each config file: for each (var file:File in configFiles) And updates the swf version: var swfVersion:RegExp = /<swf-version>\d\d<\/swf-version>/; contents = contents.replace(swfVersion, "<swf-version>" + FLASH_PLAYER_SWF_VERSION + "<\/swf-version>"); The player version is set like so based on the flash player version and info in teh config file. FLASH_PLAYER_SWF_VERSION = files.(@name == 'FlashPlayer' + FLASH_PLAYER_VERSION).@swfversion.toString(); Any ideas why this might not be working? Thanks, Justin