Questions tagged [netconnection]
77 questions
1
vote
1 answer
Unable to Connect to FMS
Why cant i connect? When i run the application i receive NetConnection.failed in the output. Can you please take a carefull look at my code. I believe my string url is correct. I am unsure is my FMS is down or if theres a code error.
Thank…

user2160610
- 13
- 4
1
vote
1 answer
AS3 how do I control a movieclip in a peer to peer instance swf?
I've made a app using netconnection and netgroup in Flash CS6. I'm trying to build a simple 2-player multiplayer game. When 2 two players are connected I would like to hide a movieclip in one of the instances of the swf but not the other. How is…

hh_s
- 33
- 7
1
vote
3 answers
Adobe Air crash on NetConnection call
I have an Adobe Air mobile application that has a NetConnection. One on call to my AMF server it makes the call and everything returns fine. When I make a second call my app crashes.
Anyone one run into this?

Chris
- 39
- 2
1
vote
1 answer
adobe air android Netconnection.close()
I have noticed in my adobe air app that I get intermitent crashes while trying to close my Netconnection. The app stops responding and eventually if you keep trying to do something it crashes. It is happening around 7 out of 10 times which is…

Bynho
- 572
- 6
- 16
1
vote
0 answers
Flash Player hangs few seconds after NetStream.publish() on Mac Only
I'm having a realy wierd issue since the last two days.
I'm developping a Flex Application to be able to live stream video.
Every thing works just fine on Windows but on MacOs the NetStream Stops streaming after a few seconds (3 to 10 seconds) but…

Amine
- 11
- 1
1
vote
2 answers
tracing a netconnection error in as3
I am having a problem with correctly identifying when a connection was NOT made while trying to connect to an external file. It works fine if I have the localhost on (which is config.gateway1) but if I turn the server off I only get an…

Mike Wilding
- 49
- 1
- 5
0
votes
1 answer
newbie: flex netstream how to get my code stream and receive netstreams correctly?
I have problems getting my flex code to work, below is my code I try to netstream a webcam and receive it and use 2 functions for that. Any flex guru can help me fix these functions?
function onNetConnectionPublish():void {
…

Ilse
- 233
- 1
- 3
- 11
0
votes
3 answers
flash.utils.IExternalizable + Remoting + Flex Error #2004
There is a client - server basic application. The client uses a simple remoting to comunicate with the server side. The server side could be powered on WebORB, BlazeDS or any other product. The client side is using the FLEX framework. That is it…

Cyril Deba
- 1,200
- 2
- 16
- 30
0
votes
1 answer
Java method call in flash file
I have sample code for NetConnection in as3 :
var good:Boolean;
nc = new NetConnection();
nc.connect("rtmp://ip:port/MyDemo/");
nc.addEventListener(NetStatusEvent.NET_STATUS,getStream);
function getStream(e:NetStatusEvent):Void
{
…
user1156290
0
votes
2 answers
How to Synchronize Red5 NetConnection Calls
I am developing a online game using red5 and flex. using RTMP connection. I used only netConnection.call. my issue is the red5 calls are not coming synchronized manor. some calls are coming to client suddenly some calls are taking time. I want to…

Sajan Christudas
- 61
- 5
0
votes
3 answers
Trying to connect to AMFPHP - NetConnection.connect() returns TypeError: Error #1009
UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:
Error #2044: Unhandled NetStatusEvent:. level=error,…

yellow-saint
- 884
- 2
- 13
- 37
0
votes
0 answers
"test-netconnection" shoes false even if a port is open
I have been using test-netconnection -computername myserver -port 433 as a test to check if I can access a port on a server from a laptop.
if TcpTestSucceeded was false I took it that the server was not accessible on that port.
Yesterday I realised…

kevins1966
- 366
- 2
- 4
- 19
0
votes
1 answer
Flash Media Server NetConnection problem with Client Object
i am connecting successfully to an fms with the following command:
netConnection = new NetConnection();
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.client = new Object();
netConnection.connect(…

DasAntonym
- 452
- 3
- 19
0
votes
1 answer
How do I make the operating system save my credentials when I use WNetAddConnection2 or WNetAddConnection3?
I wrote a window to enter my username and password to login.
I can't save the credential when I use the following method, what should I do
NETRESOURCEW net_resource {0};
net_resource.dwType = RESOURCETYPE_DISK | RESOURCETYPE_ANY;
TCHAR…

0ices
- 35
- 9
0
votes
1 answer
Multiple netconnection at one mxml application?
Since I have to get data from other red5 application. is it possible using multiple netconnection in one mxml application?

sara
- 11
- 1