Page 1 of 1

changing main menu to certain position

Posted: 09 Jul 2007, 03:15
by dodospace
i'd like to thanks for imagevue team present such a powerful and attractive gallery, it saved me alot time that to develop of my own.
with the intergeration options it just awesome!!

there was one issue that i was searching everywhere else looking for the answer but i cannot get it:change the main menu to the left and keep it open until choose to close..

i have come up with a method myself and hope this can help some1 who is struggling with it:

my sample gallery address is: http://gallery.dodospace.com

to make the menu like this:

change menuMC->code layer->second keyframe
menuvars = function () {
i = 0;
mspeed = 2;
activeInc = 1;
hpad = 22;
vpad = 4;
menupad = 1;
backcolor = comparecol(configmenucol[0]);
textcolor = comparecol(configmenucol[1]);
textcolor = "0x"+textcolor;
trace("COFIGMENUCOL: "+backcolor+" : "+textcolor);
mainshadow = "true";
// textshadow = "true";
textshadowcolor = "0x000000";
textfont = "kroeger 05_63";
// textfont = "standard 07_53";
textsize = 8;
embedfonts = true;
touppercase = "true";
rxpos = 0;
rypos = 0;
_x = -99;
dragmargin = 10;
ypos = 11;
};
above is changing the menu's position when u open the gallery.

change menuMC->code layer->forth keyframe
MovieClip.prototype.mainsubbuttons = function() {
this.bback.onPress = function() {
// this._parent.transfusion();
current = this._parent.clipnum;
finfo.popstop();
_parent._parent.folderinfo.nofunc();
_parent._parent.killstartfx();
_global.imagefolderindex = this._parent.clipnum-1;
_global.groupfolderindex = gf;
_parent._parent.folder = mymenu.firstChild.childNodes[gf].childNodes[this._parent.clipnum-1].attributes.path;
mhead = mymenu.firstChild.childNodes[gf].childNodes[this._parent.clipnum-1].attributes.name;
mcat = mymenu.firstChild.childNodes[gf].attributes.name;
_parent._parent.mainhead.sethead(mcat, mhead);
trigmove(-99, 29, .2);
_parent._parent.gotoAndPlay(11);
};
above bold part is the plave to change the postion of after click on a folder,

delete the removeMenu(); line above trigmove() to make the menu keep open.


also to make it like my sample gallery, change config.ini
menuopen=true;
singlelevel=true;


ok hope some1 can change the position part to variables that can be configerd in the ini file..it will makes this easier..:p