home *** CD-ROM | disk | FTP | other *** search
- function fSelectTab(selection)
- {
- if(selection == "Diffuse")
- {
- tabs.select(tabs.diffuse);
- }
- else if(selection == "Ambient")
- {
- tabs.select(tabs.ambient);
- }
- else if(selection == "Specular")
- {
- tabs.select(tabs.specularColor);
- }
- else if(selection == "SpecularLevel")
- {
- tabs.select(tabs.specularLevel);
- }
- else if(selection == "Glossiness")
- {
- tabs.select(tabs.glossiness);
- }
- else if(selection == "SelfIllum")
- {
- tabs.select(tabs.selfIllum);
- }
- else if(selection == "Opacity")
- {
- tabs.select(tabs.opacity);
- }
- else if(selection == "Bump")
- {
- tabs.select(tabs.bump);
- }
- }
- function pos(x, y)
- {
- this.x = x;
- this.y = y;
- }
- distanceDrop = 25;
- widthDrop = 8;
- heightDrop = 8;
- colorDiffuse = null;
- mapDiffuse = null;
- lockAmbient = null;
- colorAmbient = null;
- mapAmbient = null;
- lockSpecular = null;
- colorSpecular = null;
- mapSpecular = null;
- amountSpecularLevel = null;
- mapSpecularLevel = null;
- amountGlossiness = null;
- mapGlossiness = null;
- colorSelfIllum = null;
- amountSelfIllum = null;
- mapSelfIllum = null;
- amountOpacity = null;
- mapOpacity = null;
- mapBump = null;
- tabSelect = null;
- enableDrag = null;
- colorBackground = null;
- colorText = null;
- colorSelected = null;
- colorUnselected = null;
- drag = {enabled:true,tab:null,icon:null,x:0,y:0};
- vDrop = new Array(new pos(0,0),new pos(0,0),new pos(0,0),new pos(0,0));
- dragColor._visible = false;
- dragMap._visible = false;
- dragTarget._visible = false;
-