How to Setup AS2 Remoting With Flash CS3

Boy, was this a bitch! I can’t take credit for this solution because I found it in a reply to a Adobe forum post (thank you jedders). I just wanted to re-produce it here a) As just another place to find it, b) So I know where the solution is when I’m looking for it again, and c) Because jedders’s post missed a couple of files and I wanted a complete reference.

Why Adobe left the AS2 Remoting files out of the CS3 installation is beyond me. I work with a countless number of files that utilize AS2 remoting. I don’t have the time to convert them all to AS3 and I think it’s silly to keep Flash 8 on my machine simply because I have to compile files that utilize remoting.

So here, step by step, is what worked for me on Windows XP (another reply to the same thread stated that anyone running Vista should interpret C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\… as
C:\Users\YOURUSERNAME\AppData\Local\…. Sorry Mac users, I have nothing against your OS, I just don’t know it):

1. Copy Remoting and RPC Folders from your Documents and settings location TO FLASH CS3 LOCATION.

C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx
to
C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Classes\mx

2. Copy Remoting.Fla From.

C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Libraries
To
C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Libraries

3. Copy NetConnection Debugger.swf and Service Browser.swf from.

C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\WindowSWF
To
C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\WindowSWF

4. Copy NetConnection Debugger.swf and Service Browser.swf from or WindowSWF folder. Note that this is not the same step as the one above. The folders are different.

C:\Program Files\Macromedia\Flash 8\en\First Run\WindowSWF
To
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\WindowSWF

5. Copy the Libraries Folder.

C:\Program Files\Macromedia\Flash 8\en\First Run
to
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run

6. Copy Remoting and RPC Folders from your Program Files location TO FLASH CS3 LOCATION.

C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx
To
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Classes\mx

7. Copy the RemotingConnector.swc from.

C:\Program Files\Macromedia\Flash 8\en\First Run\Components\Data Components
to
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Components\Data

8. Copy DataRange.as, PageableList.as, and PageableData.as
C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx
To
C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Classes\mx
AND
C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\WindowSWF

If you’ve done all of that properly you should be able to publish AS2 files that utilize remoting using Flash CS3.

Thanks again to jedders!

-rG

17 thoughts on “How to Setup AS2 Remoting With Flash CS3

  1. Hi Jon,

    Thanks for stopping by and for the reply. I’m familiar with SWX but this post isn’t about finding a solution. It’s about how to use Flash CS3 to edit Flash 8 files that utilize remoting.

    As I mentioned, I work with a slew of files from many different sources. I simply don’t have the time to rewrite the code for every fla we use that utilizes remoting.

    I’m only pointing out that by following the steps in this post I can use Flash CS3 to publish Flash 8 files that utilize the classes associated with remoting without editing any of my source code.

    Another reason for sticking with remoting is that more Flash vendors will be familiar with it as a data access solution than will be familiar with SWX. I’m guessing that this will be the case for the foreseeable future.

    I’m not knocking SWX. It’s a perfectly viable solution with some impressive functionality. In my position however, I have to opt for the quickest-to-implement and most widely-used solutions. At this point in time, that’s remoting.

    Glenn

  2. Great, thanks so much for this!

    By the way, to get it working, on step 8, I also had to copy DataRange.as, PageableList.as, and PageableData.as to:

    C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Classes\mx\data

  3. in step 8 you are missing the data folder
    and the “Documents and Settings…..” is a wrong path

    8. Copy DataRange.as, PageableList.as, and PageableData.as
    C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx\data
    To
    C:\Program Files\Adobe\Adobe Flash CS3\en\First Run\Classes\mx\data

    AND

    C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\WindowSWF

    most be

    C:\Documents and Settings\YOURUSERNAME\Local Settings\Application Data\Adobe\Flash CS3\en\Configuration\Classes\mx\data

  4. How about a solution for Mac OS X? I had this working at one point, but after installing Flash CS5 it refuses to work. (I can’t remember what I did to get it to work in the first place…)

    Everything I try results in the error: “The class ‘mx.data.types.RecordSet’ needs to be defined in a file whose relative path is ‘mx/data/types/RecordSet.as’.

Comments are closed.