When I try doing a simple beginner tutorial with Flash Remoting, I am
instructed to insert #include NetServices.as in the first frame of
ActionScript. (I have installed the remoting components for ActionScript 2.0.
I am using Flash MX 2004 Professional and the server is ColdFusion MX.) I
receive an error when testing the movie that says that the NetServices.as file
can not be found.
I have seen one posting on this forum that says that NetServices.as has been
depreciated, but all the documentation on Macromedia's site says to use it.
Does anyone have any clue as to what's going on? I'm totally baffled!
I also have read that installing the remoting components for AS 2.0 will put
an "include" folder under the configuration folder that contains the
NetServices.as file along with other necessary .as files. That folder doesn't
exist on my system.
Any help with this is GREATLY appreciated! Thanks!
derobinson - 15 Dec 2004 17:15 GMT
Not real help, but perhaps a workaround....
Try dragging the Remoting connector to your stage, then just delete it. That
adds a copy to your library and also brings along all the classes that the
connector will use. Then you shouldn't even need the include.
(Note: this may increase your file size in a small way since it may bring in
classes that you don't really need, but...at least it may get your file to work)
Good luck!
Hawk42 - 21 Dec 2004 05:39 GMT
Click the link below and install the Flash MX Remoting Components 1.0.
Remoting Components 1.0 and 2.0 can be installed together.
http://www.macromedia.com/software/flashremoting/downloads/components/
Hope this helps
Hawk