in fase di creazione stringa da inviare a flash usa urlencode


'&testo1='.urlencode($testo1).'&testo2='.urlencode ($testo2) ...