Dead Code Preservation :: Archived AS3 works from wonderfl.net

onStream – The Broadcasting Machine

--- README FIRST ------------------------------------
If "Peer-Assisted Networking" security panel appears:
1. click "remember"
2. click "Allow"
3. reload flash (or webpage)

--- APP ---------------------------------------------
Broadcast LIVE video to your friends or the whole world 
from a computer or mobile. Watch other people broadcasting 
their webcamera, conferences, shows or movies.

Full version:
http://onstream.yoz.sk/
Facebook app:
http://apps.facebook.com/onstream
More info:
http://blog.yoz.sk/2010/07/onstream-the-broadcasting-machine/

--- SCREENCASTS -------------------------------------
Creating broadcast type channel & searching channel
http://www.youtube.com/watch?v=xNX3rgnOmEg
Creating video chat channel & entering video chat channel:
http://www.youtube.com/watch?v=IxHXVpI-bss
Publishing channel to facebook
http://www.youtube.com/watch?v=DW1sL1LETjY
Watching multiple channels:
http://www.youtube.com/watch?v=iJa8OYBykOY
/*
--- README FIRST ------------------------------------
If "Peer-Assisted Networking" security panel appears:
  1. click "remember"
  2. click "Allow"
  3. reload flash (or webpage)

--- APP ---------------------------------------------
Broadcast LIVE video to your friends or the whole world 
from a computer or mobile. Watch other people broadcasting 
their webcamera, conferences, shows or movies.

Full version:
http://onstream.yoz.sk/
Facebook app:
http://apps.facebook.com/onstream
More info:
http://blog.yoz.sk/2010/07/onstream-the-broadcasting-machine/

--- SCREENCASTS -------------------------------------
Creating broadcast type channel & searching channel
http://www.youtube.com/watch?v=xNX3rgnOmEg
Creating video chat channel & entering video chat channel:
http://www.youtube.com/watch?v=IxHXVpI-bss
Publishing channel to facebook
http://www.youtube.com/watch?v=DW1sL1LETjY
Watching multiple channels:
http://www.youtube.com/watch?v=iJa8OYBykOY
*/

package
{
    import flash.display.Loader;
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    import flash.system.Security;
    
    [SWF(width="465", height="465", frameRate="30", backgroundColor="#ffffff")]
    public class Wonderflapp extends Sprite
    {
        public function Wonderflapp()
        {
            super();
            
            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;
            
            Security.allowDomain("onstream.yoz.sk");
            
            var data:URLVariables = new URLVariables();
            data.domain = "onstream.yoz.sk";
            data.FBclientId = "141145105902107";
            data.FBredirectURI = "http://onstream.yoz.sk/callback.html";
            data.FBscope = "publish_stream,offline_access";
            data.FBappURL = "http://apps.facebook.com/onstream";
            
            var request:URLRequest = new URLRequest("http://onstream.yoz.sk/flash/onStream.swf");
            request.data = data;
            
            var loader:Loader = new Loader();
            loader.load(request);
            addChild(loader);
            
            Wonderfl.capture_delay(20);
        }
    }
}