Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static function connectPHP(_URL: String) {
- setPreloadScreen(true); <<<<<<<<<<<<<<<<<<<< ERIC 1 ENVIO
- trace("[connectPHP]");
- urlPHP = urlHOST + _URL;
- requestPHP = new URLRequest(urlPHP);
- requestPHP.method = URLRequestMethod.POST;
- requestPHP.data = varSEND; //obrigatorio aqui ok
- public function loaderCOMPLETE(e: Event): void {
- setPreloadScreen(false); <<<<<<<<<<<<<<<<<<<< ERIC 2 RETORNO
- public function loaderIO_ERROR(e: IOErrorEvent): void {
- setPreloadScreen(false); <<<<<<<<<<<<<<<<<<<< ERIC 3 RETORNO
- output("IOErrorEvent:", e);
- //------------------------------------------------------------
- POPUP_MSG("erro acessando o servidor!!\nverifique sua internet!");
- //--loginmenu.visibleInputs(false);
- //--loginchangemenu.visibleInputs(false); //senao aparece no stage tambem
- //--visualizarmenu.visibleInputs(false);
- }
- public function loaderSECURITY_ERROR(e: SecurityErrorEvent): void {
- output("SecurityErrorEvent:", e)
- }
- public function loaderHTTP_STATUS(e: HTTPStatusEvent): void {
- output("HTTPStatusEvent:", e)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement