Flash 8 Flash Remoting
21 09 2005I’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




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…
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\.
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
nice one boys. thanks that worked well
[...] tting in my Flash 8 so I’m not sure that my old remoting stuff is still here. Either way Peter Elst Posted a way to make remoting work in Flash 8 and Macromedia predicts [...]
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
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.
I have copied all the files to where they are supposed to be but the recordset object still doesn’t load. Any suggestions?
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.
What error do you get?
// 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
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.
Got it… I was missing files from the mx.data folder.
Thanks.
[...] indowSWF a [Flash 8]enFirst RunwindowSWF. Este procedimiento fue visto en el blog de Peter Elst You can get hold of the NetConnection Debugger and Service Browser [...]
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?
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.
[...] Peter Elst » Flash 8 Flash Remoting 九月 16th, 2005 Peter Elst » Flash 8 Flash Remoting Entry Filed under: Devlop, Flash [...]
Any news on the as1.0 remoting stuff yet ?
When I try to copy the source code into the flash 8 folders, it asks me if I want to overwrite several files. ???
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.