ciao a tutti!

ho scritto questo codice

codice:
onClipEvent (mouseDown) {
	if(this.hitTest(_root._xmouse,_root._ymouse,false)){//se il mouse ci clicca sopra
			//mi include i dati degli articoli
			#include "vardati.as" 
		//inizio codice IF
		if(_parent.inputName){
			if(inputStyle){
				if(_parent.inputTheme){
					if(_parent.inputAuthor){
						#include "nsta.as"
					}else{
						#include "nst.as"
					}
				}else if(_parent.inputAuthor){
					#include "nsa.as"
				}else{
					#include "ns.as"
				}
			}else if(_parent.inputTheme){
				if(_parent.inputAuthor){
					#include "nta.as"
				}else{
					#include "nt.as"
				}
			}else if(_parent.inputAutor){
				#include "na.as"
			}else{
				#include "n.as"
			}
		// STYLE	
		}else if(_parent.inputStyle){
			if(_parent.inputTheme){
				if(_parent.inputAutor){
					#include "sta.as"
				}else{
					#include "st.as"
				}
			}else if(_parent.inputAuthor){
				#include "sa.as"
			}else{
				#include "s.as"
			}
		//THEME
		}else if(_parent.inputTheme){
			if(_parent.inputAuthor){
				#include "ta.as"
			}else{
				#include "t.as"
			}
		}else if(_parent.inputAuthor){
			#include "a.as"
		}else{
			msg="IDIOTA! NESSUN CAMPO COMPILATO!";
		}
	}
}
con errore

**Errore** Scena=Scena 1, livello=Livello 2, fotogramma=1:Linea 6: L'operatore '=' deve essere seguito da un operando
if(_parent.inputName){

**Errore** Scena=Scena 1, livello=Livello 2, fotogramma=1:Linea 31: Rilevato 'else' senza corrispondente 'if'
}else if(_parent.inputStyle){

Totale errori ActionScript: 2 Errori segnalati: 2


non riesco a capire però cosa c sia di sbagliato

i files t.as (e simili) hanno tutti questo schema di base

codice:
//NT.AS

stringa="?";

for(var n=1; n<tot+1; n++){
	if(name[n]==_parent.name and theme[n]==_parent.theme){
		if(stringa="?"){
			stringa+= "id="+n;
		}else{
			stringa+= "&id="+n;
		};
	};
};

getURL(string, _blank);

//END script
con piccole varianti tra file e file

il file vardati.as è così

codice:
//inserimento variabili


//numero di voci

tot=5

//####################

//####DICHIARAZIONE ARRAY######

author=Array();
theme=Array();
style=Array();
name=Array();

//###VOCI###

author[1]=
theme[1]=
style[1]=
name[1]=

//##########

author[2]=
theme[2]=
style[2]=
name[2]=

//##########

author[3]=
theme[3]=
style[3]=
name[3]=

//##########

author[4]=
theme[4]=
style[4]=
name[4]=

//##########

author[5]=
theme[5]=
style[5]=
name[5]=

//##########

author[6]=
theme[6]=
style[6]=
name[6]=

//##########

author[7]=
theme[7]=
style[7]=
name[7]=

//##########

author[8]=
theme[8]=
style[8]=
name[8]=

//##########

author[9]=
theme[9]=
style[9]=
name[9]=

//##########

author[10]=
theme[10]=
style[10]=
name[10]=

//##########

author[11]=
theme[11]=
style[11]=
name[11]=

//##########

author[12]=
theme[12]=
style[12]=
name[12]=

//##########

author[13]=
theme[13]=
style[13]=
name[13]=

//##########
non riesco proprio a capire dove il codice sia sbagliato

vi allego lo zip dei files

files

ciao e grazie