Groups | Blog | Home
all groups > macromedia flash flashcom > april 2005 >

macromedia flash flashcom : Begginer Help


Lanexx
4/20/2005 3:55:40 PM
Hi, I just tried to run first example of flash communication server, which is
called doc_connect.fla, and i'm getting the following error:
**Warning** Scene=Scene 1, layer=Actions, frame=1:Line 8: Case-insensitive
identifier 'netConnection' will obscure built-in object 'NetConnection'.
client_nc=new netConnection();

**Warning** Scene=Scene 1, layer=Actions, frame=1:Line 17: Case-insensitive
identifier 'netStream' will obscure built-in object 'NetStream'.
out_ns=new netStream(_root.client_nc);

Total ActionScript Errors: 2 Reported Errors: 2

Level: status
Code: NetConnection.Connect.Success

My server is running. Somebody can tell me where is the problem?

Thanks
eSpeed
4/22/2005 12:00:00 AM
[quoted text, click to view]

client_nc=new netConnection();
out_ns=new netStream(_root.client_nc);

then the solution is to change netStream to NetStream and netConnection to
NetConnection. I would be interested to know if you are publishing your code as
AS 2.0 or AS 1.0? I am surprised that it still works as AS 2.0 is case
sensitive and would not find a class called netStream or netConnection.
Sergio Duclos
4/29/2005 2:17:25 PM
YOU ERROR, NetConnection IS CASE SENSITIVE..

Sergio Duclos

"Lanexx" <webforumsuser@macromedia.com> escreveu na mensagem =
news:d45u1s$ea7$1@forums.macromedia.com...
[quoted text, click to view]
AddThis Social Bookmark Button