Tutorials ActionScript
From HippoHX
Pretty much there isn't any difference between using HippoHX's AS3 or AS2 client API apart from the obvious difference between AS2 and AS3 themselves. You have samples of using both AS3 and AS2 APIs in the repository.
Let's show a very simple AS3 API sample:
- Get HippoHX latest release.
- Add api/client/as3 folder to your classpath.
- Let's try to use Application class to trace the folder in which your application is running:
package{
import com.hippohx.Application;
public class MyClass{
public function MyClass(){
trace("Application folder = " + Application.getInstance().getApplicationFolder());
}
}
}
- Compile your swf and now follow the Hello World tutorial to get an actual HippoHX's application.

