netconnection

flex : Random NetConnection.Call.Failed: HTTP: Failed

人盡茶涼 提交于 2020-01-10 05:17:09
问题 We are experiencing some random NetConnection.Call.Failed: HTTP: Failed when using the flex 4 mx.messaging.channels::SecureAMFChannel We have never had this problem in our local servers (server/client on the same machine), but when we went live, some users experienced this problem randomely (about 5% of the 800 beta users). Lately, at last i was able to reproduce the problem every once in a while on one client machine (windows XP), in our LAN using a remote server in the same LAN (but not on

How to relay complex type via NetConnection to FMS?

那年仲夏 提交于 2020-01-06 04:56:45
问题 I need to send complex type object (marked RemoteClass in Flex) via NetConnection to other clients. [RemoteClass] public class ComplexType { public var _someString:String; public var _someInt:int; } ... and using ... _nc = new NetConnection(); _nc.connect("rtmp://localhost/echo/"); _nc.addEventListener(NetStatusEvent.NET_STATUS, _onNetStatus); _nc.client = {}; _nc.client.echoCallback = _echoCallback; var dto:ComplexType = new ComplexType(); dto._someInt = 4; dto._someString = "abrakadabra";

In Android To Check the Internet Connection is Available for Frequently?

偶尔善良 提交于 2020-01-01 15:35:13
问题 Hai my Application is to Save (to Server) the Data through NetConnection. If net is not Available i saved Locally, and then when net is available again send to the server. My problem is to check Internet Connection Frequetly .So i tried the Service function for checking the Net connection. But it called once only. How to solve my Problem. Anybody kindly help me Thanks in advance! update package com.android.cdtech; import android.app.Activity; import android.content.BroadcastReceiver; import