private String formatString(String content){
  if (content != null)   return StringUtils.formatString(content);
  return content;
}

private String formatString ( String content ) { if ( content != null ) return StringUtils . formatString ( content ) ; return content ; }
quotes a string and escapes any special characters so that it can be used as a literal actionscript value .
