cyberscience
03-19-2004, 12:14 PM
Hello my fellow actionscriptors who have superior skills in actionscriping than a fifteen-year-old (yes im a youngin).
I'm experimenting with Flash Comm Server and I realized that Flash MX's components are kinda obsolete (i like 2004's components better). That's why I want to do it in AS 2.
But the problem is in AS 2, it wont let me create a Shared Object the 'standard' way that Macromedia shows in her example.
This is what it looked like in AS 1:
new_so = SharedObject.getRemote("position", client_nc.uri, false);
Ignore the getRemote parameters.
This example works with AS 1, but when I put it in AS2 (FMX2004), it says type mismatch.
Please help me with this example and tell me how to do it in AS 2. Thanks a lot.
I'm experimenting with Flash Comm Server and I realized that Flash MX's components are kinda obsolete (i like 2004's components better). That's why I want to do it in AS 2.
But the problem is in AS 2, it wont let me create a Shared Object the 'standard' way that Macromedia shows in her example.
This is what it looked like in AS 1:
new_so = SharedObject.getRemote("position", client_nc.uri, false);
Ignore the getRemote parameters.
This example works with AS 1, but when I put it in AS2 (FMX2004), it says type mismatch.
Please help me with this example and tell me how to do it in AS 2. Thanks a lot.