Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hprose/hprose-as2

Hprose for ActionScript 2.0
https://github.com/hprose/hprose-as2

Last synced: 2 days ago
JSON representation

Hprose for ActionScript 2.0

Awesome Lists containing this project

README

        

# Hprose for ActionScript 2.0

[![Join the chat at https://gitter.im/hprose/hprose-as2](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/hprose/hprose-as2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

>---
- **[Introduction](#introduction)**
- **[Usage](#usage)**

>---

## Introduction

*Hprose* is a High Performance Remote Object Service Engine.

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

*Hprose* supports many programming languages, for example:

* AAuto Quicker
* ActionScript
* ASP
* C++
* Dart
* Delphi/Free Pascal
* dotNET(C#, Visual Basic...)
* Golang
* Java
* JavaScript
* Node.js
* Objective-C
* Perl
* PHP
* Python
* Ruby
* ...

Through *Hprose*, You can conveniently and efficiently intercommunicate between those programming languages.

This project is the implementation of Hprose for ActionScript 2.0.

## Usage

You don't need use the ActionScript source files. You only need install the `hprose_as2.swc`.

If you use Flash CS3 or earlier version, you can use `hprose_as2.mxi` to install `hprose_as2.swc`. If you use Flash CS4 or later version, you can use `hprose_as2_cs4.mxi` to install `hprose_as2.swc`.

Then you can use it like this:

```ActionScript
import hprose.client.HproseHttpClient;
var client:HproseHttpClient = new HproseHttpClient('http://www.hprose.com/example/');
client.hello('World', function(result) { trace(result); });
```