Push All Scripts

This commit is contained in:
Fred Beckhusen
2015-08-07 10:38:47 -05:00
parent 2ad9795428
commit ce47ec2f3e
8079 changed files with 2442776 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="Bootstrapping_HTML_on_a_prim">
<Project name="Bootstrapping_HTML_on_a_prim" path="Bootstrapping_HTML_on_a_prim\Bootstrapping_HTML_on_a_prim.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,6 @@
<Project name="Bootstrapping_HTML_on_a_prim" guid="D860EF1E-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D860F003-6C00-1014-B904-200204C60A89">
<Script name="Bootstrapping_HTML_on_a_prim_1.lsl" guid="D8610CC8-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,57 @@
// :CATEGORY:Viewer 2
// :NAME:Bootstrapping_HTML_on_a_prim
// :AUTHOR:Tali Rosca
// :CREATED:2010-09-02 11:30:17.583
// :EDITED:2013-09-18 15:38:49
// :ID:112
// :NUM:153
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// DESCRIPTION: []::Bootstrapping_HTML_on_a_prim
// :CODE:
key url_request;
default
{
state_entry()
{
url_request = llRequestURL();
}
http_request(key id, string method, string body)
{
if (url_request == id)
{
url_request = "";
if (method == URL_REQUEST_GRANTED)
{
llSetPrimMediaParams(0, [
PRIM_MEDIA_CONTROLS, PRIM_MEDIA_CONTROLS_MINI,
PRIM_MEDIA_PERMS_CONTROL, 0,
PRIM_MEDIA_PERMS_INTERACT, PRIM_MEDIA_PERM_ANYONE,
PRIM_MEDIA_AUTO_SCALE, TRUE,
PRIM_MEDIA_AUTO_PLAY, TRUE,
PRIM_MEDIA_AUTO_ZOOM, FALSE,