Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Viewer 2 Display_an_image_works_with_animate  

Display_an_image_works_with_animate

Display_an_image_works_with_animate

Category: Viewer 2
By : Becky Pippen
Created: 2010-09-02 Edited: 2010-09-02
Worlds: Second Life

the Zip file

Download all files for Display_an_image_works_with_animate
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Display_an_image_works_with_animate_1.lsl
1 default
2 {
4 {
5 integer face = 4;
6 string imageURL =
7 "http://upload.wikimedia.org/wikipedia/commons/7/70/Rotating_earth_(small).gif";
8 string dataURI = "data:text/html,<object data='" + imageURL + "'></object>";
9 llSetPrimMediaParams(face,
10 [PRIM_MEDIA_CURRENT_URL, dataURI,
11 PRIM_MEDIA_WIDTH_PIXELS, 256,
12 PRIM_MEDIA_HEIGHT_PIXELS, 256]);
13 }
14 }

Back to the Best Free Tools in Second Life and OpenSim.