github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

imlucas / as3playdar

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…

AS3 Playdar: Interact with the Playdar HTTP API and play resolved tracks in your AS3 application — Read more

  Cancel

http://www.imlucas.com

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Poll calls werent carrying onError params 
imlucas (author)
Sat Dec 05 15:10:40 -0800 2009
commit  1fe50d70d5c42a32b9f67f01dd803283a31bb4d2
tree    aa77a99811f7ddf326b849e56a69759a59ec06ca
parent  3fdd7c5ff1d2daef4356a328b6ff18caee01ebf0
as3playdar /
name age
history
message
file .actionScriptProperties Loading commit data...
file .flexLibProperties
file .project
directory .settings/ Sat Dec 05 15:06:39 -0800 2009 Add host, host_port, polling_interval and polli... [imlucas]
file README.md
directory bin/
directory src/
README.md

as3playdar

To use

Copy the as3playdar.swc into the libs directory of your Flex project.

Quick Examples

Basic Resolve and play

import org.playdar.Playdar;
var playdar:Playdar = new Playdar();
playdar.resolve(
    "Massive Attack",
    "Angel",
    function(r:Object):void{
        playdar.play(r.results[0].sid);
    }, 
    function(e:Error):void{
        trace('Error occurred while resolving: '+e.message);
    }
);

Checking if playdar is available

import org.playdar.Playdar;    
var playdar:Playdar = new Playdar();
playdar.status(
    function(r:Object):void{
        trace("Playdar is available and its running version "+r.version);
    },
    function(e:Error):void{
        trace("Playdar is unavailable");
    }
);
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server