Never ending nightmare

i am still workin on the same movie
u know there is a bug about unloadmovie method so i revised everything and attached the movies i loaded before,so that i could use removemovieclip method…
but there is still a problem; when i remove the mc s from some buttons and recall the same mc s again, they don’t obey the codes written …grrrhhh

here r all my codes;

onClipEvent (load) {
this._x=0;
this._y=9;
buttonNames=[“BÝZE ULAÞIN”,“ÝÞ ORTAKLARI”,“PORTFÖY”,“ÇÖZÜMLER”,
“SERVÝSLER”,“PROFÝL”,“ANA SAYFA”,“HABERLER”];
item._visible=false;
function populateList() {
spacing=20;
_global.numberOfButtons=buttonNames.length;
var i=-1;
while (++i<numberOfButtons) {
name=i;
item.duplicateMovieClip(name,numberOfButtons-i);
trace(this[name].content.attachMovie(“content”+i,“content”,2+i));
this[name].itemName.text=buttonNames*;
this[name]._x=0;
this[name]._y=390-(i*spacing);
}
}
populateList();
}

these r the ones i use to create my slider menu items and attach the related contents…they work properly…

on (release) {
trace(_root.window4_1.attachMovie(“yazilim”,“new”,10));
if(_root.window4_1._alpha=30)
{
_root.window4_1._alpha=100;
_root.window4_2._alpha=30;
_root.window4_3._alpha=30;
}
trace(_root.x +=2);
_root.window4_1.swapDepths(_root.x);
}

this one is for one button inside the mc content4 we attached before…there 3 buttons in content4…

on (press) {
_root.window4_1._alpha=100
_root.window4_2._alpha=30
_root.window4_3._alpha=30
_root.x +=2;
_root.window4_1.swapDepths(_root.x);
startDrag(this);
}
on (release) {
stopDrag();
}

this one is for a button inside window4_1 yazilim…

anyway here comes the one that works …

on (release) {
i=this._name;
removeMovieClip ("_root.window4_1.new");
removeMovieClip ("_root.window4_2.new");
removeMovieClip ("_root.window4_3.new");
while(0<=i) {
if (_root.slidermenu*.durum==1) {
_root.slidermenu*.play();
}
i–;
}
}
this one is on a button in slidermenu.item …

and here is the one that doesn’t work

on (release) {
i = this._name;
k = Number(i);
removeMovieClip ("_root.window4_1.new");
removeMovieClip ("_root.window4_2.new");
removeMovieClip ("_root.window4_3.new");
j = k+1;
trace(j);
_root.gotoAndStop(j);
while (i<=numberofbuttons) {
if (_root.slidermenu*.durum == 0) {
_root.slidermenu*.play();
}
i++;
}
}

let me explain u the problem ;

let’s say that i have opened the 4.th slidermenu item by clickin on its button and when it slides up it shows me content4 that i have attached…

now i wanna see the mc s inside it and trigger them by clicking on the buttons inside content4…

each of the buttons in content4 attach the mc s called yazilim etc… into instances window4_1…etc…

then i wanna take a look at another menu item so i close down (or up) content 4 and slide the other one i wanna check for…

and the mc s attached are removed…

but when i do this with a slidermenu item that is below the one i have just used (4th one ) and slide back the 4th one again;the problem starts…

it acts like there r no codes about alphas or depths of the mc s attached in instances window4_1 etc…

and worst of all it creates two copies of these mc s and doesn’t remove them later…

because they become undefined stuff this time…
but it works correctly when i remove them from a slidermenu item above it…

if there’s anyone here who can solve this problem i am gonna start adoring him/her…it’d better be a he

thanx in advance everyone…

try not to crosspost

what do u mean?

You posted two identical threads on different forums. that will not help you to get more atention dude.

:-\