macromedia flash flash remoting:
Hi All, there a couple of other topics here that touch on my problem but aren't quite the same .. have got flash 8pro installed, and ran the flash remoting setup for flash 8 ... however whenever i attempt to put: #include "NetServices.as" #include "NetDebug.as" into my flash files it just throws me an error saying that they can't be found. (same with the DataGlue too). Now all these files do indeed exist, and they are located in the following directory: C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx\remoting Can anyone throw any light on how to get this damn thing working ? I have been trying all day, my actionscript is limited and my remoting is nil .. as i'm just learning, is it really this difficult for everyone ??? Thanks in advance.
just to go along with my original post on this subject ... I am also using coldfusion mx 7, which has native remoting support. Everything would appear to be ok on that end of things. It's definately something to do with either the ..as file being in the wrong spot, or even just that some other files are have just configured completely wrong during the install. Have tried removing absolutely everything a couple of times now, thinking it might be just using some old stored paths but still no luck. Am still looking though
Be sure that the following files are located in C:\Documents and Settings\(user name)\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Include: DataGlue.as NetDebug.as NetServices.as NetDebugConfig.as NetDebugEvents.as NetDebugHelpers.as NetDebugImpl.as NetDebugLocalConnection.as NetDebugNetConnection.as RecordSet.as RsDataProviderClass.as I copied these from my MX 2004 and my flash apps that use AS 1.0 compile now in Flash 8.
i don't even actually have some of those files at all .. anywhere. if i put this: import mx.remoting.debug.NetDebug and import mx.remoting.services.Service for example it tells me there's no errors in my script .... #include "NetDebug.as" still wouldn't work or #include "Services.as" Is the import method cool to use ? and mean that it's working, all beit quirky ? Cheers, Mark
I was reading through Flash 8 help and it said the NetServices.as is depricated. It also seems that there is no longer any support for ActionScript 1.0 in Flash 8, so that may be why NetServices.as does not work. I am trying to use ColdFusion as a back end to a Flash project. Does anyone know where there may be some good tutorials or documentation about the new ActionScript syntax for remoting with Flash 8? Thanks:cool;
shellman33 - I tried your solution and F8 gives me 11 syntax errors for NetServices.as.
I have the same problem. I have uninstalled everything and tried everything I can think of and onboth my PCs I get the same problem. Has anyone managed to solve this issue ??
Originally posted by: shellman33 Be sure that the following files are located in C:\Documents and Settings\(user name)\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Include: DataGlue.as NetDebug.as NetServices.as NetDebugConfig.as NetDebugEvents.as NetDebugHelpers.as NetDebugImpl.as NetDebugLocalConnection.as NetDebugNetConnection.as RecordSet.as RsDataProviderClass.as I copied these from my MX 2004 and my flash apps that use AS 1.0 compile now in Flash 8. I cant actually find this folder at all. Is it because of my settings ???
well this is just bloody fantastic. I went back to my old version and now it wont work. Flash 8 is just great -NOT.
Yea NetServices.as NetDebug.as are associated with Remoting AS1, the remoting install for flash 8 is Remoting AS 2, so those files are not included in the install. So if you don't have the AS 1 Remoting files from MX, you will need to switch to Remoting AS 2, witch imho is easier and more reliable.
Don't see what you're looking for? Try a search.
|