variabile dichiarata nella _root:
_root.azienda=false;
nel mc di nome "mc":
onClipEvent (load) {
for (i=1; i<17; i++) {
_root.mc["mc"+i]._alpha = 100;
}
num = 16;
}
onClipEvent (enterFrame) {
if(_root.azienda){
if (_root.mc["mc"+num]._alpha>=50) {
if (num>10) {
_root.mc["mc"+num]._alpha = _root.mc["mc"+num]._alpha-10;
}
}
} else {
num--;
}
}
nel pulsante "azienda"
_root.azienda=true;
CON LA VAR AZIENDA CHE DIVENTA VERA DOVREBBERO PARTIRE LE ISTRUZIONI NEL MC, MA NON SUCCEDE NULLA. SE TOLGO "if(_root.azienda)" LE ISTRUZIONI SI AVVIANO, MA ALL'EVENTO DEL FOTOGRAMMA E NON DEL PULSANTE COME VORREI.
QUALCUNO PUO' DARMI QUALCHE SUGGERIMENTO ?
GRAZIE

Rispondi quotando