all groups > macromedia flash flash remoting > september 2005 >
You're in the

macromedia flash flash remoting

group:

Remoting in Flash 8



Re: Remoting in Flash 8 UCF NewMedia
9/13/2005 12:00:00 AM
macromedia flash flash remoting: I was able to get it working just fine. I copied
Flash MX 2004/en/First Run/Classes/mx/remoting/* to Flash 8/en/First
Run/Classes/mx/remoting/
and
Flash MX 2004/en/First Run/Components/Data Components/* to Flash 8/en/First
Run/Components/Data Components/

It was working fine for me using as2 remoting scripts

Re: Remoting in Flash 8 jedders
9/13/2005 12:00:00 AM
Thanks Ian,

That fixed the remoting issue for me. I also put Flash MX 2004/en/First
Run/Classes/mx/rpc/* to Flash 8/en/First Run/Classes/mx/rpc/
and
Flash MX 2004/en/First Run/Libraries/* to Flash 8/en/First Run/Libraries/

This will add the remoting to your common Libraries in Flash 8. Make sure to
restart Flash 8 for the changes to take affect.
Remoting in Flash 8 emansouri
9/13/2005 11:52:56 AM
I installed Flash 8 and I had hoped it would be a more seamless transition from
Flash MX 2004.

Since I couldn't find any download info for Flash 8 Remoting Components, I
copied all related files from:

/Applications/Macromedia Flash MX 2004/First Run/Classes/mx/remoting
/Applications/Macromedia Flash MX 2004/First Run/Include
/Applications/Macromedia Flash MX 2004/Configuration/Include

to the corresponding locations in the Flash 8 folder

I testing I get:

There is no method with the name 'NetServices'.
NetServices.setDefaultGatewayUrl(b.REMOTINGURL);

There is no method with the name 'NetServices'.
gatewayConnection=NetServices.createGatewayConnection();


Re: Remoting in Flash 8 aaronexodus
9/13/2005 7:40:43 PM
Re: Remoting in Flash 8 cosmits
9/13/2005 8:53:42 PM
Hi all
I copied all of the libraries above (exept for Flash MX 2004/en/First
Run/Classes/mx/rpc/* - which i've never heard of....)
But still - nothing.
it doesn't work for me,
does anybody heard of any official migration guide,
I mean - does MM even still interested in continuing this technology
since last version - mx 2004 - in which we all witnessed the horefying
connector incident, which showed us that MM is all about xml
and amf was left for the phpamf open source underground to deal with
personaly - I didn't got the php remoting connector to work anyway
i resolved to code, which isn't working, along with the outdated remoting
web support....
anyone?
I hate going through all of this all over again
I mean - come on, it's your product, and it is so basic, and obvious that
remoting
users anticipated the upcoming flash8 like everybody else,
so - how come i feel neglected ???

Yariv
Re: Remoting in Flash 8 cosmits
9/13/2005 9:06:56 PM
Error opening include file NetServices.as: File not found.
#include "NetServices.as"

Error opening include file NetDebug.as: File not found.
#include "NetDebug.as"

anyone?
MM?
God?
are you real ?
am I a begger ?
is this what i'm doing now? begging ?

Re: Remoting in Flash 8 jedders
9/13/2005 9:11:23 PM
To get the NetConnection Debugger into Flash 8 you will need to copy the files
from

Flash MX 2004/en/First Run/WindowSwWF* to Flash 8/en/First Run/WindowSWF/

and restart Flash 8.

If you are still having problems getting remoting to work after following the
instructions we described above. Make sure to add the RemotingClasses and
RemotingDebuggingClasses from the common libraries back into you Library and
then re-compile your remoting project.

Jed Obershaw
www.helixstudios.com

Re: Remoting in Flash 8 aaronexodus
9/14/2005 12:00:00 AM
Actually, you know how I got it to work? I downloaded the source and extracted
it into the Flash 8/en/First Run/Classes/mx/ folder. I didn't just copy it
from my old MX2k4 installation. You're probably missing some files. Search
macromedia.com for "remoting component" and scroll down to the bottom.
Download the source and extract it there, and it should work. The only thing
that is missing is the NetConnection debugger. Any ideas on getting that
working? That's really why I switched from using an xml-based solution in the
first place. I wanted to be able to debug it and see what was going on easily.

Re: Remoting in Flash 8 jedders
9/14/2005 12:00:00 AM
After you have moved the Libaries folder from MX to the Flash 8 folder as
described in my post above you will need to restart flash8. Then go to
Window/Common libaries/Remoting and you will see the remoting classes to add to
your project.

Re: Remoting in Flash 8 aaronexodus
9/14/2005 12:00:00 AM
Re: Remoting in Flash 8 cosmits
9/14/2005 11:22:15 AM
Hi
thank you for responding
can you please write the path to -
RemotingClasses and RemotingDebuggingClasses from the common libraries

I wasn't able to locate them
cheers
Yariv
Re: Remoting in Flash 8 cosmits
9/16/2005 12:00:00 AM
Hi
thanks for answering
I still can't seem to get remoting to work on flash 8
I did as you advised - I searched for "remoting component"
but wasn't able to locate " the source " - by which you mean the
**NetServices.as** and **NetDebug.as** ???
or is there anything else to extract to flash 8?
can you be so kind and please point to a link where i can download the
"source" ?
thanks again
Yariv
:)
Re: Remoting in Flash 8 Rowan
9/16/2005 12:00:00 AM
Re: Remoting in Flash 8 cosmits
9/16/2005 12:00:00 AM
hi again
ok - i got the source
i downloaded all of the classes
and made sure to copy each and every one of them into flash 8 classes/mx
some of them were already existing - so i didn't overwrite them, hope it's the
right thing to do...
anyway, i restarted flash8 cheerfully, and discovered to my amasment that it
still does'nt work,
though i now can see the **RemotingClasses** and **RemotingDebuggingClasses**
from the common libraries/ remoting,
and i have the netconnection debugger on my panel options, it doesn't work,
i first got an error that said -
Error opening include file NetServices.as: File not found.
#include "NetServices.as"

Error opening include file NetDebug.as: File not found.
#include "NetDebug.as"

so i used "import" statements instead -
// #include "NetServices.as"
// #include "NetDebug.as"
import mx.remoting.NetServices
import mx.remoting.debug.NetDebug

and i still got the error -

**Error** Symbol=lister_mc, layer=actions, frame=1:Line 2: The class or
interface 'RecordSet' could not be loaded.
var resultSet:RecordSet;

so i added the line -

import mx.remoting.RecordSet -

and strangly enough i still get the same error message...:(
anybody?

yariv
Re: Remoting in Flash 8 Rowan
9/16/2005 12:00:00 AM
Re: Remoting in Flash 8 aaronexodus
9/16/2005 12:00:00 AM
http://www.macromedia.com/software/flashremoting/downloads/components/

Scroll down to the bottom and you'll find a zip file with the source. You'll
still need to follow the other instructions in this post to get the actual
remoting components to show up in the library and to get the
NetConnectionDebugger working.
Re: Remoting in Flash 8 dnk NO[at]SPAM canada.com
9/16/2005 12:00:00 AM
Originally posted by: aaronexodus
Actually, you know how I got it to work? I downloaded the source and
extracted it into the Flash 8/en/First Run/Classes/mx/ folder. I didn't just
copy it from my old MX2k4 installation. You're probably missing some files.
Search macromedia.com for "remoting component" and scroll down to the bottom.
Download the source and extract it there, and it should work. The only thing
that is missing is the NetConnection debugger. Any ideas on getting that
working? That's really why I switched from using an xml-based solution in the
first place. I wanted to be able to debug it and see what was going on easily.


When you copied the files in there - did you let it overwrite the duplicates?
Or just copy in the missing files?


Re: Remoting in Flash 8 aaronexodus
9/16/2005 12:00:00 AM
Originally posted by: dnk@canada.com
Originally posted by: aaronexodus
Actually, you know how I got it to work? I downloaded the source and
extracted it into the Flash 8/en/First Run/Classes/mx/ folder. I didn't just
copy it from my old MX2k4 installation. You're probably missing some files.
Search macromedia.com for "remoting component" and scroll down to the bottom.
Download the source and extract it there, and it should work. The only thing
that is missing is the NetConnection debugger. Any ideas on getting that
working? That's really why I switched from using an xml-based solution in the
first place. I wanted to be able to debug it and see what was going on easily.


When you copied the files in there - did you let it overwrite the duplicates?
Or just copy in the missing files?



It was a fresh Flash 8 installation, so the folder didn't even exist. I just
extracted it right in there - there was nothing to overwrite.
Re: Remoting in Flash 8 dnk NO[at]SPAM canada.com
9/16/2005 12:00:00 AM
Originally posted by: jedders
To get the NetConnection Debugger into Flash 8 you will need to copy the files
from

Flash MX 2004/en/First Run/WindowSwWF* to Flash 8/en/First Run/WindowSWF/

and restart Flash 8.

If you are still having problems getting remoting to work after following the
instructions we described above. Make sure to add the RemotingClasses and
RemotingDebuggingClasses from the common libraries back into you Library and
then re-compile your remoting project.

Jed Obershaw
www.helixstudios.com


IS it possible to get someone to email me the required file to do this? I do
not have 2004 installed.....


Re: Remoting in Flash 8 Rowan
9/16/2005 12:00:00 AM
Hmmm, these are for the AS2 components. I need AS1.

I have downloaded the AS2 source, extracted everything to the MX folder;
over-writting when promoted, and it does not work. I still get the:

**Error** Screen=convertScreen, layer=Layer 1, frame=1:Line 1: Error opening
include file NetServices.as: File not found.
#include "NetServices.as"

error...

any suggestion?

Re: Remoting in Flash 8 jedders
9/17/2005 8:32:06 AM
Just wanted to clarify for everyone that in my previous posts I am moving my
AS2 flash remoting files and not AS1. I don?t use AS1 anymore and for those of
you who are still using AS1 you may have to wait till Macromedia releases a
remoting patch.


Re: Remoting in Flash 8 Rowan
9/19/2005 12:00:00 AM
Its not as simple as that. Simply changing how you connect to the gateway and
service, does not mean your application will work using AS2...

I have been using AS1 scripts for some time, and I use pagable record sets,
display a progress bar on the screen which is updated as the records (pages)
are recieved from the server. There appears to be no way of doing this with
AS2 scripts -- well I haven't found it yet....


Re: Remoting in Flash 8 cosmits
9/19/2005 9:09:14 AM
Hi all
I still can't get remoting to work on flash 8
I copied all of the above files and folders and overwrote whatever was there
if it came to a name conflict

still - nothing.... :(
does any of you realy got it to work and feels like giving me a hand here ?

Cheers
Yariv
Re: Remoting in Flash 8 Glen Purkiss
9/19/2005 1:08:51 PM
#include "NetServices.as" is no longer the way to go in AS2

instead try this:

import mx.remoting.*;

this.gateway =
NetServices.createGatewayConnection("http://mydomain.com/flashremoting/gateway")
;
this.service = this.gateway.getService("MyService",this);
Re: Remoting in Flash 8 Nojzh
9/27/2005 10:00:10 AM
hi..

i was having the same "File not found" with the #include "NetServices.as" and
#include "NetDebug.as" part...

after installing the Flash Remoting component, copy all the .as files in Flash
MX 2004's <installdir>\en\First Run\Classes directory to Flash 8's
<installdir>\en\First Run\Classes directory... then run Flash 8 again.

it worked with me...

Regards,
NOJZH


Re: Remoting in Flash 8 See4th
11/15/2005 12:00:00 AM
As a huge RIA guy, I first have a <rant>... How is it possible that one can do
a search in Flash 8 Help for 'netConnection Debugger' and come up with zilch,
nada, nothin'! Are they (MM) that focused on replacing Flash with Flex/MXML
that they completely abandon Remoting? Trying to BE Microsoft and abandoning
Flash is a huge mistake! </rant>

Now for you v1 remoting guys, here's the solution. In addition to jedders
solution, copy the NetDebug.as, NetServices.as files (and others you'd like)
from the 'Flash '\MX 2004\en\First Run\Include' to the '\Flash 8\en\First
Run\Include' dir. This will allow you to perform remoting with v1 components.
Re: Remoting in Flash 8 paulbMCSE
11/21/2005 12:00:00 AM
I have been working with Flash Remoting since MX, I have noticed that with
every release that Macromedia puts out. They fail to fully test this feature. I
have yet to get it work with Flash 8, so it's back to 2004 until someone at
figures out how to get this to work without a patch. Hey Macromedia .. You
think you might try to fix in the near future?? We are waiting!!
Re: Remoting in Flash 8 Corgan1979
12/26/2005 5:18:44 PM
OK ive worked this all out:-

First make sure you have a clean install of Flash 8.

Next download and install "Macromedia Flash Remoting Components for Flash 8
ActionScript 2.0" from
http://www.macromedia.com/software/flashremoting/downloads/components

Finally use the following code (instead of #include "NetServices.as" #include
"NetDebug.as"):-

mx.remoting.NetServices.initialize();

mx.remoting.debug.NetDebug.initialize();


Tada!
Re: Remoting in Flash 8 mantra|
1/2/2006 7:24:42 AM
upon trying the mx.remoting.NetServices.initialize(); the following error is
produced :

" **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: There is no method
with the name 'initialize'.
mx.remoting.NetServices.initialize(); "

This is with a clean install of flash 8, along with the flash 8 remoting
components. The debug seems ok.

import mx.remoting.NetServices;
mx.remoting.debug.NetDebug.initialize();

Re: Remoting in Flash 8 Vito A
2/13/2006 7:46:36 PM
I've downloaded and installed the remoting components update for Flash 8, and
remoting is working, but the NetConnection Debugger does not. If I use the
following code:


import mx.remoting.debug.NetDebug;
if (NetDebug.initialize()) trace("NET DEBUGGER INITIALIZED SUCCESSFULLY");
else trace("NETDEBUGGER DID NOT INITALIZE!!!");

I received a "did not initialize". How in the world will this work?
I read the post about opening the additonal libraries/remoting library, and
the dragging the RemotingDebugClasses into the specific library for the current
project with which I'm working, but then I'd have to do this for every .FLA
file I want to debug, not to mention, it should be adding programmatically in
the ActionScript above.

If I drag the NetDebug library into my project, Flash Remoting netDebugger
works, but once I remove it, it stops working. Why isn't it finding the
NetDebug.as from the "import" function in the code?

Any help would be appreciated as I'm under a huge time crunch to complete a
project. Thanks!
Re: Remoting in Flash 8 Big Dirty Bird
3/2/2006 2:30:30 AM
:| MAN THIS IS RETARDED!! I have done all the moving and copying, WHICH IS
GARBAGE BY THE WAY MACROMEDIA!! All I want to do is go to WINDOW > COMMON
LIBRAIES > REMOTING, and have the DAMN window POP-UP! WHY is this so HARD? I
got the net Connection Debbugger, but as of now I am relying on old projects
which have the remoting components on the stage so I can copy and paste them in
the new project. Is that how this software is meant to work? Some one please
tell me how to fix this issue.
Re: Remoting in Flash 8 oldshoe
3/2/2006 3:57:25 AM
AddThis Social Bookmark Button