J'ai des difficultés à faire fonctionner une application Flex (avec as3httpclient). Je l'ai compilé (compc -load-config = build-swc.xml), mettre le as3httpclientlib-1_0_6.swc dans mes libs dir, et a couruProblème de compilation Flex avec as3httpclient
mxmlc -compiler.include-libraries lib/as3crypto-1_3_patched.swc
lib/as3httpclientlib-1_0_6.swc lib/corelib.swc -- App.mxml
Dans mon actionscript je
import org.httpclient.HttpClient;
mais je reçois l'erreur
Error: Type was not found or was not a compile-time constant: HttpStatusEvent
client.listener.onStatus = function(event:HttpStatusEvent):void {
... . Des idées?
BTW/avant la compilation "compc -load-config = build-swc.xml" Je hade à changement
<path-element>${flexlib}/libs/player/9/playerglobal.swc</path-element>
à
<path-element>${flexlib}/libs/player/10.0/playerglobal.swc</path-element>
afin qu'il compiler parce que mon flex la version n'a pas de playerglobal.swc pour Flash 9. 8o