Ciao a tutti
Ho creato una classe che estende EventDispatcher, eppure esce l'errore
1180: Chiamata al metodo non definito dispatchEvent.
Perché?
Questo è il codice:
Grazie dell'aiutoCodice PHP:package {
import flash.events.EventDispatcher;
import flash.events.Event;
public class LAMIACLASSE extends EventDispatcher{
static function CaricaFile(Url:String):String{
dispatchEvent(new Event(Event.EVENT));
}
}
}

Rispondi quotando