Authentication
Hi everyone,
Having fun here working with services and amfphp in order to serve content to both flash and non-flash parts of an upcoming site. Glad to be part of the group to see if I can get help or add help!
I have a conceptual issue with authenticating against the service modules using the system.connect and user.login methods. Unfortunately many of the tutorials explicitly turn off authentication keys at the beginning, so there are not as many examples of this approach.
Read moreAMFPHP arrays to Flash
Hello Drupalistas!
I have Flash consuming AMFPHP services from Drupal. Now I want to build a "mixed" content type and serve that through AMF as well. So I added a CCK "image_field" to the "Page" content type. Now I have an image associated with every "page". This is fine and good, and my services browser shows this:
[log] =>
[format] => 1
[uid] => 1
[name] => admin
[picture] =>
[data] => a:0:{}
[field_image] => Array
(
[0] => Array
(
[fid] => 1
[title] => image1.jpg
[alt] => image1.jpg
[nid] => 1
[filename] => image1.jpg
[filepath] => files/image1.jpg
[filemime] => image/jpeg
[filesize] => 46444
)
)How to get a RecordSet?
How does one send a RecordSet to Flash using Services and AMFPHP? Not just a result Object, but specifically a RecordSet?
I'm using Flash 8 to consume a views service via AMFPHP 1.9 beta 2. I used the example code from the Services Flash 8 Tutorial. The result contains the data I want, but it doesn't have any of the methods that the RecordSet class provides, such as setDeliveryMode( ), getColumnNames( ), sort( ), etc. ( ActionScript 2.0 Remoting API Reference)
Read more
