Adobe atmosphere builder 1 ユーザーズマニュアル

ページ / 84
70
Connecting Worlds, Users, and the Web
Creating links to Web sites
You can add hypertext links to a world using JavaScript.
To add a hypertext link to a world:
1
Create a text file that contains JavaScript code for creating a hypertext link. For 
example, the following script launches the Adobe Web site when a user clicks the object 
that it is attached to:
this.onClick=function(){
launchURL(“http://www.adobe.com”);
}
2
In Atmosphere Builder, do one of the following:
Select a wireframe view, and select an object to attach the script to. In the Object 
Inspector palette, enter the path to the JavaScript file you created in Step 1 in the Javascript 
URL text box.
In the World Settings palette, enter the path to the JavaScript file you created in Step 1 in 
the Javascript URL text box. For more information on the World Settings palette, see 
“Administering worlds” on page 70.
Administering worlds
The World Settings palette contains options for administering a world. You can specify a 
name for your world, specify the occupancy limit, and set up chatting.
To display the World Settings palette:
Choose Window > World Settings.
Specifying a world’s name and topic
Specifying a world’s name and topic makes it easier for users to find and identify your 
world on the Web.
To specify a world’s name and topic:
In the World Settings palette, specify values for the following options:
atmosphere.book  Page 70  Wednesday, March 21, 2001  6:14 PM