Skip to content

itarato/Kitten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Kitten - Drupal Communication Library

Download the compiled library:
http://dl.dropbox.com/u/2629592/KittenFlexLib.swc

// Creation
var c:Connection = new Connection('http://example.org/', 'amfphp/gateway');


// Authentication
c.isSessionAuthentication = true;
c.isSessionAuthentication = false;

c.isAPIKeyAuthentication = true;
c.isAPIKeyAuthentication = false;
c.setAPIKey(API_KEY, API_DOMAIN);


// Attach events
c.addEventListener(ConnectionEvent.CONNECTION_IS_READY, connectionIsReadyCallback);
c.addEventListener(ConnectionEvent.CONNECTION_IS_FAILED, connectionHasFailedCallback);


// Connect
c.connect();


// Call a remote method
c.call('method.function', callbackForResult, param1, param2);

About

Small Actionscript library for handling Drupal - Services communication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published