This project is read-only.

Scribble

Scenario 1

Description: Create an ScribbleImage object from a local image file and send to 1 user

var scribble = new Scribble().load("mypic.jpg");
userobj.scribble(scribble);

Scenario 2

Description: Create an ScribbleImage object from a remote image file and send to 1 room

var scribble = new Scribble();
scribble.src = "http://www.codeplex.com/mypic.jpg";

scribble.oncomplete = function (e)
{
    if (e)
    {
        var roomobj = room(this.arg);

        if (roomobj != null)
            roomobj.scribble(this);
    }
}

scribble.download("noobs");

Last edited Feb 6, 2014 at 1:39 PM by oobenoob, version 3