clipped from: code.google.com   


Project Logo

This is an Actionscript 3.0 API to access all the available Vkontakte web services. This should hopefully save some people time from doing all the grunt work. It is currently a work in progress so not all the services are currently available.



 

Usage:


import ru.vkontakte.VKApp;
var func:Function = function(res:XML):void {
   
if (res.name() == "response") { ... }
};

var vk:VKApp = new VKApp(__this_Application___.parameters, __app_id__, __app_secret__, __test_mode_on___);

if (!vk.is_valid) {
 
Alert.show("This is snatch copy, see original at #api_id");
}

vk
.putVariable(566, "some value", null);
vk
.getVariable(566, func);