Me revoilà avec un autre problème...
Ce message d'erreur apparait lorsque j'essaye de me connecter:
La ligne 154 correspond à celle de 'connection = new NetConnection() :Code:
1
2
3
4
5
6
7
8
9
10
11 Error #2044: NetStatusEvent non pris en charge : level=error, code=NetConnection.Call.BadVersion at main/init()[E:\ProjetFlex\moProjet.flex\src\main.mxml:154] at main/___main_Application1_creationComplete()[E:\ProjetFlex\moProjet.flex\src\main.mxml:2] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298] at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] at Function/http://adobe.com/AS3/2006/builtin::apply() at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]
MerciCode:
1
2
3
4
5 /****************** Constructeur ********************/ private function init():void { connection = new NetConnection(); connection.connect("http://localhost/amfphp/gateway.php"); }