flagflag  
1: 2010-01-20 (Wed) 14:10:36 iseki source 2: 2010-01-20 (Wed) 14:24:22 iseki source
Line 1: Line 1:
-*** public string [[osSetDynamicTextureURL>../osSetDynamic​TextureURL]](string dynamicID, string contentType, string url, string extraParams,  int timer) [#e8315625]+*** [[osSetDynamicTextureURL>../osSetDynamic​TextureURL]] [#y8603f3e] 
 +- public string [[osSetDynamicTextureURL>../osSetDynamic​TextureURL]](string dynamicID, string contentType, string url, string extraParams,  int timer) 
 + 
 +- サンプル 
 + integer picindex=0; 
 + list urlarray = []
 + 
 + default 
 + { 
 +   state_entry() 
 +   { 
 +       llSay( 0, "osSetDynamicTextureURL Tester"); 
 +       urlarray += ["http://www.goes.noaa.gov/FULLDISK/GEVS.J​PG"]; 
 +       urlarray += ["http://www.goes.noaa.gov/FULLDISK/MTVS.J​PG"]; 
 +       urlarray += ["http://www.goes.noaa.gov/FULLDISK/GIVS.J​PG"]; 
 +       urlarray += ["http://www.goes.noaa.gov/FULLDISK/GMVS.J​PG"]; 
 +       urlarray += ["http://www.osei.noaa.gov/IOD/OSEIiod.jpg​"]; 
 +       urlarray += ["http://internettrafficreport.com/gifs/tr​_map_global.gif"]; 
 +   } 
 + 
 +   touch_start(integer total_number) 
 +   { 
 +       string dynamicID=""; 
 +       integer refreshRate = 600; 
 +       string contentType="image"; 
 +       picindex = (picindex+1) % urlarray.Length; 
 + 
 +       string srcURL = llList2String(urlarray, picindex); // URL 
 +       string URLTexture = osSetDynamicTextureURL(dynamicID, contentType ,srcURL , "", refreshRate ); 
 +       if (llStringLength(URLTexture)>0) 
 +       { 
 +           llSay(0,"URLTexture = "+srcURL); 
 +           llSetTexture(URLTexture, ALL_SIDES); 
 +       } 
 +   } 
 + }


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthJun 2024Next Month
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Today

Who's Online

47 user(s) are online (3 user(s) are browsing xpwiki)

Members: 0
Guests: 47

more...

Access Counter

Today : 2954295429542954
Yesterday : 5671567156715671
Total : 2375411423754114237541142375411423754114237541142375411423754114
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com