no, è sbagliato come l'hai scritto, è così:

if (comune ==_root.stringa) {