From: Micah C. <mi...@ou...> - 2004-10-28 15:24:53
|
Try removing NetServices.as from this directory. >ron:/Library/Webserver/Documents/examples/basic ron$ ls >NetServices.as examples.fla examples1.swf All your remoting components should be in mx.remoting.*, and not in your working directory. Also, in your .fla, use import mx.remoting.NetServices; instead of #include "NetServices.as"; -Micah >-----Original Message----- >From: amf...@li... >Sent: 10/27/04 - 13:30 >To: amf...@li... >Subject: RE: Re: [amfphp] Re: amfphp-general digest, Vol 1 #385 - 2 >msgs > >All, > >I had to turn away from this installation issue due to some other >pressing buiness. Micah, you went through a lot of trouble. Thank you. > >Could you or anyone else confirm that I've manually installed the > >remoting files in the right directories? I'm still getting errors. >I've >listed the contents of the directories below. Or, if anyone can send >me a URL showing the correct placement of files, that would do too. I > >didn't see a list of where the files should be in the >documentation. > >For those just seeing this, I've been having multiple problems >with the >installation of the Remoting files on MOS 10.3.5. (I did send >information on the macromedia installation support site: >http://www.macromedia.com/support/email/isupport/) > >TIA, >Sam > >Here's detailed directory structure: > >Flash Remoting directory >/Applications/Macromedia Flash MX 2004/First Run/Classes/mx/Remoting >============================================ >-rwxr-xr-x 1 ron admin 7792 10 Mar 2004 Connection.as >-rwxr-xr-x 1 ron admin 9921 1 Jun 14:57 DataGlue.as >-rw-r--r-- 1 ron admin 317 24 Oct 18:54 NetDebug.as >-rwxr-xr-x 1 ron admin 3309 1 Jun 14:57 NetServiceProxy.as >-rwxr-xr-x 1 ron admin 3612 1 Jun 14:57 >NetServiceProxyResponder.as >-rwxr-xr-x 1 ron admin 7041 1 Jun 14:58 NetServices.as >-rwxr-xr-x 1 ron admin 4051 1 Jun 14:58 Operation.as >-rwxr-xr-x 1 ron admin 4402 1 Jun 14:58 PendingCall.as >-rwxr-xr-x 1 ron admin 895 1 Jun 14:59 RTMPClientIDResponse.as >-rwxr-xr-x 1 ron admin 35708 8 Jun 21:49 RecordSet.as >-rwxr-xr-x 1 ron admin 1448 1 Jun 14:59 RecordSetIterator.as >-rwxr-xr-x 1 ron admin 489 8 Jun 21:51 >RemotingComponentVersion.as >-rwxr-xr-x 1 ron admin 2591 8 Jun 21:50 RsDataFetcher.as >-rwxr-xr-x 1 ron admin 1302 8 Jun 21:49 RsDataRange.as >-rwxr-xr-x 1 ron admin 5988 1 Jun 14:59 Service.as >drwxr-xr-x 9 ron admin 306 10 Jun 21:57 debug > > >/Applications/Macromedia Flash MX 2004/First >Run/Classes/mx/Remoting/debug >============================================ >total 64 >-rwxr-xr-x 1 ron admin 7370 10 Jun 2002 ConnectionMixin.as >-rwxr-xr-x 1 ron admin 3366 1 Jun 15:00 GlobalLocalConnection.as >-rwxr-xr-x 1 ron admin 9090 1 Jun 15:00 NetDebug.as >-rwxr-xr-x 1 ron admin 3406 1 Jun 15:00 NetDebugConfig.as >-rwxr-xr-x 1 ron admin 1937 1 Jun 15:00 NetDebugResponseProxy.as >drwxr-xr-x 8 ron admin 272 10 Jun 21:54 commands >drwxr-xr-x 18 ron admin 612 10 Jun 21:54 events >-rw-r--r-- 1 ron admin 0 27 Oct 11:46 filesdebug.txt > > >/Applications/Macromedia Flash MX 2004/First >Run/Classes/mx/Remoting/debug/commands >=========================================== >total 48 >-rwxr-xr-x 1 ron admin 809 1 Jun 15:00 AddRTMPClient.as >-rwxr-xr-x 1 ron admin 622 1 Jun 15:00 GetConfig.as >-rwxr-xr-x 1 ron admin 699 1 Jun 15:01 Local.as >-rwxr-xr-x 1 ron admin 769 1 Jun 15:01 StartRTMPTrace.as >-rwxr-xr-x 1 ron admin 803 1 Jun 15:01 StopRTMPTrace.as >-rwxr-xr-x 1 ron admin 837 1 Jun 15:01 UpdateNetDebugConfig.as >-rw-r--r-- 1 ron admin 0 27 Oct 11:46 filesDebugCommands > > >/Applications/Macromedia Flash MX 2004/First Run/Classes/mx/services >=========================================== >total 8 >-rwxr-xr-x 1 ron admin 2758 1 Jun 15:04 Log.as > >TIA, >Sam > >PS: error messages: >examples.fla >**Error** Macintosh >HD:Library:WebServer:Documents:examples:basic:NetServices.as: Line 22: > >Classes may only be defined in external ActionScript 2.0 class scripts. > class mx.remoting.NetServices extends Object > >**Error** Macintosh >HD:Library:WebServer:Documents:examples:basic:NetServices.as: Line 24: > >Error opening include file RemotingComponentVersion.as: File not found. > #include "RemotingComponentVersion.as" > >**Error** Scene=Scene 1, layer=service initialization, frame=1:Line 2: > >Error opening include file NetDebug.as: File not found. > #include "NetDebug.as" > >Total ActionScript Errors: 3 Reported Errors: 3 > >ron:/Library/Webserver/Documents/examples/basic ron$ ls >NetServices.as examples.fla examples1.swf > >service-browser.css >browse.php examples.swf gateway.php > >services >credentials.fla examples1.fla secured.php > >On Oct 25, 2004, at 1:11 AM, Micah Caldwell wrote: > >> >> Okay, I got a chance to install Flash and Flash remoting on MacOS >X >> earlier but I forgot to send my results to the list, sorry about >that. >> >> As with the PC installer, the Mac installer appears to be broken. > >> Unfortunately, on MacOS X I don't know how to move one folder >onto >> another with the same name without deleting the contents of the >> origional, so I had to do this manually. From the command prompt >you >> can probably do it pretty easily. >> >> Goto Macromedia's website and download the source for the >Remoting 2.0 >> components: >> >http://download.macromedia.com/pub/flashremoting/mx2004/components/ >> actionscript_2.0/flashremoting_comp_sourcecode.zip >> as listed on: >> http://macromedia.com/software/flashremoting/downloads/components/ > >> #flr_as2 >> Once you have that downloaded it should decompress into a folder >> called "mx". Inside the mx folder ther are a number of >subfolders, >> and inside those there are a number of files and more folders. >> >> What you need to do is put those files into your mx directory, but > >> only overwriting the files that are duplicated. On Windows, you >can >> just copy the new mx folder over top of the old one and it will >only >> overwrite what is in the new one, leaving the old stuff intact. >On >> MacOS X it appeared that when I did that the old mx folder was >> completely deleted and the new one put in it's place. >> >> I went through and manually copied each file by hand, and some >folders >> when they didn't already exist. >> >> To make a long story short, you don't currently have any of >the >> remoting components installed. You need to install them via >sources. >> >> -Micah >> >> >>> -----Original Message----- >>> From: amf...@li... >>> Sent: 10/24/04 - 15:52 >>> To: amf...@li... >>> Subject: RE: Re: [amfphp] Re: amfphp-general digest, Vol 1 >#385 - 2 >>> msgs >>> >>> Hi Micah, >>> >>> Flash remoting setup >>> ron:/Applications/Macromedia Flash MX 2004/First >Run/Classes/Mx ron$ >>> ls >>> accessibility core lang skins >>> behaviors data managers styles >>> containers effects remoting transitions >>> controls events screens utils >>> >>> The remoting directory: >>> ron:/Applications/Macromedia Flash MX 2004/First >>> Run/Classes/Mx/remoting ron$ ls -l >>> total 0 >>> drwxrwxr-x 8 ron admin 272 20 Jun 17:03 debug >>> >>> The user I log in as is in the admin group -- I see no >permission >>> problem >>> >>> The Flash application directory structure (executables) >>> on:/Applications/Macromedia Flash MX 2004/Flash Mx 2004 ron$ >ls >>> Contents Flash >>> ron:/Applications/Macromedia Flash MX 2004/Flash Mx 2004 ron$ >cd Flash >>> -bash: cd: Flash: Not a directory >>> ron:/Applications/Macromedia Flash MX 2004/Flash Mx 2004 ron$ >ls -l >>> total 8 >>> drwxrwxr-x 9 ron ron 306 16 Aug 16:40 Contents >>> -rwxr-xr-x 1 ron ron 0 15 Jul 17:08 Flash >>> ron:/Applications/Macromedia Flash MX 2004/Flash Mx 2004 ron$ >cd >>> Contents >>> ron:/Applications/Macromedia Flash MX 2004/Flash Mx >2004/Contents ron$ >>> >>> ls -l >>> total 24 >>> drwxrwxr-x 4 ron ron 136 16 Aug 16:40 Frameworks >>> -rwxrwxr-x 1 ron ron 7852 16 Aug 16:47 Info.plist >>> drwxrwxr-x 6 ron ron 204 16 Aug 16:40 MacOS >>> -rwxrwxr-x 1 ron ron 8 15 Jul 17:08 PkgInfo >>> drwxrwxr-x 5 ron ron 170 16 Aug 16:40 Plug-ins >>> drwxrwxr-x 12 ron ron 408 16 Aug 16:40 Resources >>> drwxrwxr-x 3 ron ron 102 16 Aug 16:40 SharedSupport >>> >>> Thanks very much, >>> >>> Sam |