|
Datafile Reloading
In normal use, Muzo loads your datafile at startup, and this defines the styles, behavior and playlist used by the applet. The Datafile Reloading feature makes it possible to tell Muzo to restart using a different datafile in compatible browsers.. You might want to do this to provide a different playlist of tracks.In Muzo this feature is only available via JavaScript, used in response to a click on an ordinary HTML link, or to some other scripting event. To force Muzo to load a different datafile, you set the applet's newdatafile variable to the location of the datafile, as in this example function: function loadDataFile(d)If you changed the name 'Muzo' in your HTML code, change the instances in the script code above so they match the new name you chose. You can use an absolute or relative URL for the datafile name. If you use a relative URL, note that the location of the datafile is relative to the location of the SWF file (not the location of the web page).
|