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
jameslyon - 30 Aug 2004 18:13 GMT
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.