Shop search for MPZ files
As provider of MPZ files, you can automatically receive community dollars when
the members
access your files by way of the "shop search".
To use this function, you only need insert a certain JavaScript code into your
pages.
For downloading MPZs you need to use the JavaScript function "moodl":
Please note the following rules for executing moodl():
1) The parameter <sFile> needs to contain the complete web address of the MPZ
file - but
without "http://" and ".MPZ".
2) The transfer only works if the MPZ file is found in the shop with this name.
Example:
Value for <sFile>: "www.moove.com/mpz/actors/giovanni_jacket"
Searching for giovanni_jacket (the part after the last "/") in the shop will
have one
result for the shop page www.moove.com/mpz/actors
If the parameter <sAmount> isn't entered, the community server will pick a
default value,
at the moment 10 communityd dollars. Example:
moodl("www.moove.com/mpz/actors/giovanni_jacket", "10");
You can also choose a different amhount of community dollars: Example:
moodl("www.moove.com/mpz/actors/giovanni_jacket", "20");
In this example 20 community dollars will be transferred to your account.
Please insert the following code into your web page:
function moodl(sFile, sAmount)
{
moodlInit();
RoCo.ExecuteAdvanced(99999,'http://' +sFile +'.MPZ',10000);
el=document.getElementById("mdl");
if(el)
{
var s = "http://community.moove.com/cs/as.dll?mdl&i="+URLEncode(sFile);
if(sAmount)
s += "&am=" +sAmount;
mysrc(el, s);
}
}
function moodlInit()
{
if(typeof(document.all.RoCo)=='undefined')
AppendHTML(document.body,'<OBJECT ID=RoCo
CLASSID="CLSID:EF8A8A22-EF05-4C7D-BC34-9BBF1DBC86F1" width=1
height=1></OBJECT>');
if(typeof(document.all.mdl)=='undefined')
AppendHTML(document.body,'<IFRAME ID=mdl frameborder=0 scrolling=no
width=1
height=1></IFRAME>');
}
function AppendHTML(el,s)
{
el.insertAdjacentHTML("beforeEnd",s);
}
function mysrc(el,sURL)
{
el.src=sURL;
}
List of tutorials, resources and tools for 3D designers
By the way: 3D items from the moove shop are always FREE
|