anyone know how i could incorpotrate a varial i this code witch makes it go on top of the old one. Right now its set to one.
And then delete the old one?
on (release) {
var newMc = this.attachMovie(“megmain”,“interface”,1);
newMc._x = 0;
newMc._y = 0;
i figure someone new is online today.
Its joust that im sooooooooo desperate, ive got my deadline on monday=) and im readin in the flash help file but it dont seem to work=)
First of all, that reason doesn’t justify the multiple threads… I know that there is no rule on that, but I think that is a netiquette…
Having said that, I saw your original thread… and you are not providing all the information that needs whichi we can use to help you…
Let me tell you this… Why not create a sample file and post it so the other people can take a look??? I say sample file because that way you might be able to pinpoint where your problem lies while creating one, and the file size gets smaller…
no it dont do that here, cus im loading it into _root now.
But the thing is, when u push the main menu(the small squears) the old one dissapears and the new one starts. Because the are both loaded in 1. But id like the new one to load in over the old one, so that it builds it self up over it, then when its done, it removes the old one.
Im thinkin it has to be some var on the attach, so if the old one is on 2 the new goes on 3. But i have no idea how to do it?
It doesn’t matter what it is as long as you keep track of it… Why did I change it to ‘interface’??? I just copied the script from that button… That’s why… No other reason…
To remove… Use (the instance name + the depth number). removeMovieClip()… For example, you want to remove ‘kompetansemain_1’ which is located in depth number 30, then…
_root.kompetansemain_130.removeMovieClip();
something like this??? Check out the debugger while you are doing it to make sure you get the right path for the movieclip…