This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
flails /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Mar 24 18:53:57 -0700 2009 | |
| |
LICENSE | Fri Feb 20 04:00:44 -0800 2009 | |
| |
README | ||
| |
Rakefile | ||
| |
Test.mxml | ||
| |
build_swc.xml | ||
| |
manifest.xml | ||
| |
rails/ | ||
| |
src/ | ||
| |
swc/ | ||
| |
test/ |
README
Installation:
1) Download the swc file in the pkg folder.
2) Include the swc file into your library path
3) Setup your rails app to respond to json requests (TODO: Provide examples)
4) Profit!
Example usage:
const Comment:Model = new Model(["post", "comment"])
var request:Request = Comment.findAll();
const Post:Model = new Model("post");
var request:Request = Post.findAll();
request.onComplete(function(posts:*):void {
posts.forEach(function(post:*, index:int, array:Array):void {
Alert.show(post.subject);
post.comments.forEach(function(comment:*, index:int, array:Array):void {
Alert.show(comment.body);
})
});
});
request.onProgress(function():void {
Alert.show("Progressing!");
})
request.onError(function():void {
Alert("Darn");
})







