all groups > macromedia flash flash remoting > august 2004 >
You're in the

macromedia flash flash remoting

group:

NetServices.as errors


NetServices.as errors faajohn
8/29/2004 10:43:11 PM
macromedia flash flash remoting:
When testing movies that call the NetServices.as, I get the following errors:

------------
**Error** C:\Program Files\Macromedia\Flash MX
2004\en\Configuration\Include\NetServices.as: Line 80: Expected a field name
after '.' operator.
NetServices.trace("NetServices", "info", 2, func + " was received from
server: " + result.class + " " + result.description);

**Error** C:\Program Files\Macromedia\Flash MX
2004\en\Configuration\Include\NetServices.as: Line 82: Unexpected '}'
encountered
}


---------------

I have been going through the online tutorial "The Camp Selector" by Kevin
Towes from the Macromeida web.
If the tutorials do not work, I think that Macrmedia should pull them off the
site, or at least update them with a word of caution. (I am running an XP box,
with Flash MX 2004 Professional.)

Any help or comments are appreciated.

john houston

Re: NetServices.as errors - this has become URGEN jameslyon
8/30/2004 5:13:36 PM
Be sure to check your code before discrediting valuable Macromedia Trainers
such as Kevin Towes...

You did not add plus signs ( + ) between the different parts of the trace.
This is what it should be, given that the variables are correct:

NetServices.trace("NetServices, "+ "info," + 2+ ", " + func + " was received
from server: " + result.class + " " + result.description);

Also commas should be included inside quotations as part of the string.
AddThis Social Bookmark Button