Innova
04-24-2007, 05:08 AM
I have amfphp working fine in a couple flash documents. I am trying to add it to another one, and it doesn't work:
**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 1: Syntax error.
import mx.remoting.debug.NetDebug;
**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 2: Syntax error.
import mx.remoting.*;
**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 3: Syntax error.
import mx.rpc.*;
Total ActionScript Errors: 3 Reported Errors: 3
To make things simple I am just trying to get the hello world example on amfphp's site working. It works fine if I paste the code into a new document, but I get the above error when pasting into my existing document. I have dragged the Libraries to the stage in both cases.
What else could be the problem?
**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 1: Syntax error.
import mx.remoting.debug.NetDebug;
**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 2: Syntax error.
import mx.remoting.*;
**Error** Symbol=pages, layer=GalleryScript, frame=4:Line 3: Syntax error.
import mx.rpc.*;
Total ActionScript Errors: 3 Reported Errors: 3
To make things simple I am just trying to get the hello world example on amfphp's site working. It works fine if I paste the code into a new document, but I get the above error when pasting into my existing document. I have dragged the Libraries to the stage in both cases.
What else could be the problem?