Groups | Blog | Home
all groups > macromedia flash flash remoting > july 2005 >

macromedia flash flash remoting : Establishing Connection



drbirkett
7/13/2005 2:51:18 PM
Could someone please let me know why the import statements from the Flash
Remoting Documentation give me a Syntax Error? I copy the statements directly
from the help file.

The Include statements that are in every Flash Remoting tutorials are also a
dud as they cannot be found by Flash. I have installed Flash Remoting
Component Pack for AS2. It says use Import. It doesn't work.

Does anybody know how to connect to CF using Flash Remoting? Is there a
tutorial that actually works?

Cheers
d.
TK01
7/15/2005 12:00:00 AM
LuigiL
7/18/2005 9:23:48 AM
1. You can install both versions (remoting version AS1 and AS2).
2. When using the version AS1 you can include the classes with:
#include "NetServices.as"
#include "NetDebug.as"
3. When using the version AS2 classes, you probably will get an error message
"...classes could not be found". All version AS2 classes need to be in
classes/mx/remoting (on a mac: users/user/library/application
support/macromedia/flash mx 2004/language/configuration/classes/mx/remoting).
Then the import statements
import mx.remoting.*;
import mx.remoting.debug.NetDebug;
NetDebug.initialize();
work as expected (on my machine, that is...).
AddThis Social Bookmark Button