Re: [Flashcoders] [Off Topic] AMFPHP Subfolders

2006-02-09 Thread Adam Colpitts
Try using Dot notation with your packages (sub-folders)

eg:
//Setup Remoting Service for 'test/RecordSet'
var service:Service = new Service(gatewayUrl, null, 'test.RecordSet', null,
null);

hope this helps :)

Adam
+ completeperspective.ca
+ fourthTier.ca
+ plug, plug, plug!

On 2/9/06, Jim Tann [EMAIL PROTECTED] wrote:

 Hi all,

 Just started messing about with AMFPHP and was wondering if you can have
 services in subfolders as it seems to throw an error for me where it can
 see the file but not open the class this is the error,

 The file {test/RecordSet.php} exists and was included correctly but a
 class by that name could not be found in that file. Perhaps the class is
 misnames or you are running into a case-sensitivity issue, or the class
 exists but contains syntax errors.

 The call in the flash movie is,

 var service:Service = new Service(gatewayUrl, null, 'test/RecordSet');

 this all works when I have RecordSet.php in the root of serives but
 not when I put it in the subfolder test.

 Any help would be greatly appreciated.
 Jim

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] [Off Topic] AMFPHP Subfolders

2006-02-09 Thread Jim Tann
Exactly correct, thank you my friend.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Colpitts
Sent: 09 February 2006 15:40
To: Flashcoders mailing list
Subject: Re: [Flashcoders] [Off Topic] AMFPHP Subfolders

Try using Dot notation with your packages (sub-folders)

eg:
//Setup Remoting Service for 'test/RecordSet'
var service:Service = new Service(gatewayUrl, null, 'test.RecordSet',
null,
null);

hope this helps :)

Adam
+ completeperspective.ca
+ fourthTier.ca
+ plug, plug, plug!

On 2/9/06, Jim Tann [EMAIL PROTECTED] wrote:

 Hi all,

 Just started messing about with AMFPHP and was wondering if you can
have
 services in subfolders as it seems to throw an error for me where it
can
 see the file but not open the class this is the error,

 The file {test/RecordSet.php} exists and was included correctly but a
 class by that name could not be found in that file. Perhaps the class
is
 misnames or you are running into a case-sensitivity issue, or the
class
 exists but contains syntax errors.

 The call in the flash movie is,

 var service:Service = new Service(gatewayUrl, null, 'test/RecordSet');

 this all works when I have RecordSet.php in the root of serives but
 not when I put it in the subfolder test.

 Any help would be greatly appreciated.
 Jim

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders