handling relative paths for URLs when producing swf output