Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / August 2004



Tip: Looking for answers? Try searching our database.

NetServices.as errors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
faajohn - 29 Aug 2004 23:43 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.