Update Your Scene’s Background Image

Scene background can be modified programmaticly


To load a different background into a player already Embedded into a HTML page, use the setBackground(Name) command:
  1. Call setBackground(''); (without a parameter) to clear the background: setBackground()

  2. Call setBackground('New York 1'); to load New York 1: setBackground('New York 1')

  3. Call setBackground('Nightclub'); to load Nightclub: setBackground('Nightclub')

© 2003 Oddcast Inc. All Right Reserved