Flash 8 Flash Remoting

I’ve seen quite a few people posting about Flash 8 apparently not supporting Flash Remoting and wanted to blog something about that. As far as I’ve seen the only issue is that the Flash Remoting installer hasn’t been updated to install itself in the Flash 8 directory.

If you’re comfortable with working with the Flash Remoting AS2.0 classes the solution is easy, just download the Flash Remoting source code and then follow the instructions described here to copy the classes to the correct location on your hard drive (of course using the Flash 8 install directory rather than Flash MX 2004).

If you do need the FlashRemoting connector component and already have it installed with Flash MX 2004 what you can do is just copy the SWC over from the [Flash MX 2004]\en\First Run\Components\Data Components\ folder to [Flash 8]\en\Configuration\Components\Data\ then reboot Flash 8 and it will be listed in the components panel.

[update] You can get hold of the NetConnection Debugger and Service Browser panels by copying them from the [Flash MX 2004]\en\First Run\windowSWF\ folder to [Flash 8]\en\First Run\windowSWF\

[update 2] Macromedia now has the Flash 8 Remoting components and classes available for download. http://www.macromedia.com/go/flash_remoting_fl8

19 Comments

  • vinnie vivace
    September 14, 2005 - 12:18 am | Permalink

    indeed, im using the AS2 classes no problem… what i am missing is the
    netdebug/connection panel… after uninstalling mx 2004 and the remoting bits
    they disappeared (makes sense) then tried to rerun the remoting installer but
    it requires mx 2004 to be installed…

    im using ServiceCapture which is great, but still would like the flash panel there…

  • September 14, 2005 - 12:26 am | Permalink

    true Vinnie, if you still have MX 2004 installed you should just be able copy the files from the [Flash MX 2004]\en\First Run\windowSWF\ folder to [Flash 8]\en\First Run\windowSWF\.

  • September 14, 2005 - 12:29 am | Permalink

    To get the debugger panel, you should be able to copy it.
    I think it’s in something like:

    c:\documents and settings\USERNAME\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\WindowSWF\

    just copy the swfs in there to the WindowSWF in the Flash 8 config dir (same path as above, replace MX 2004 with 8)

  • vinnie vivace
    September 14, 2005 - 6:11 am | Permalink

    nice one boys. thanks that worked well

  • Pingback: diamondtearz » Flash 8 and Remoting

  • September 14, 2005 - 6:22 pm | Permalink

    This is a beautiful and welcome solution because my boss wants his data and not two weeks from now but yesterday.

    I have a small issue though. I have followed these instructions but now don’t know how to bring up my NetDebug panel- any hints? I’m going to search the web in the meantime.

    M

  • September 14, 2005 - 6:26 pm | Permalink

    Mani, if you follow the instructions in the comments (my reply to the first comment) you’ll see where to find the NetConnection Debugger and Service Browser panel.

  • September 14, 2005 - 8:07 pm | Permalink

    I have copied all the files to where they are supposed to be but the recordset object still doesn’t load. Any suggestions?

  • September 14, 2005 - 8:47 pm | Permalink

    I just did a quick test and the RecordSet class seems to import and instantiate correctly if you copied everything to the Flash 8 classes folder.

    import mx.remoting.RecordSet;
    testRecordSet = new RecordSet();

    What error do you get?

  • September 14, 2005 - 9:07 pm | Permalink

    // Error:
    The class or interface ‘mx.remoting.RecordSet’ could not be loaded.

    // Actionscript:
    import mx.remoting.RecordSet;
    var Clients:RecordSet = new RecordSet(["ID","Name","Promo","Picture","Copy","InPrint"]);

    // File Location:
    C:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx\remoting\RecordSet.as

  • September 14, 2005 - 9:19 pm | Permalink

    No error compiling that here — did you check RecordSet.as just in case its corrupted or something? The error you get seems to indicate that the file is not there or invalid.

  • September 14, 2005 - 9:30 pm | Permalink

    Got it… I was missing files from the mx.data folder.

    Thanks.

  • Pingback: Binamedia » Blog Archive » ¿ Y dónde esta Flash Remoting ?

  • September 15, 2005 - 4:55 pm | Permalink

    My current project is using AS1 remoting. Do you know the steps to move this aspect of the project into Flash 8? More manual moving of files? Forsee any conflicts?

  • September 15, 2005 - 7:46 pm | Permalink

    I haven’t used AS1.0 Flash Remoting in months — think it should just be a question of moving the appropriate files to Flash 8, I’ll try to give it a closer look this weekend.

  • Pingback: 黑手們的那個blog » Peter Elst » Flash 8 Flash Remoting

  • Tim
    September 19, 2005 - 11:04 pm | Permalink

    Any news on the as1.0 remoting stuff yet ?

  • FlashComMan
    September 20, 2005 - 3:26 pm | Permalink

    When I try to copy the source code into the flash 8 folders, it asks me if I want to overwrite several files. ???

  • September 20, 2005 - 3:30 pm | Permalink

    I know what you mean — I don’t think its actually overwriting anything, that warning comes up because there are folders with the same name in the Flash Remoting classes zip file.

  • Comments are closed.

    .