This content has been marked as final. Show 3 replies
ok, so you are doing something like:
this.attachMovie("yourMovieClipID", "mcInstanceName", this.getNextHighestDepth());
what you need to do next is:
mcInstanceName._x = your_X_coordinate_goes_here;
mcInstanceName._y = your_Y_coordinate_goes_here;
Also, throw in some conditional logic. Like, put the whole thing in a if statement so that you don't have to worry about new instances coming up. Bear in mind, there can only be one movie clip with a given instance name in any one place... just like files on your computer.
I hope I've helped, if not, please give more details on your problem.
Yeeeeeeees, I solved the problem. For those who will have the same problem and searching here, my code was as following
var informationButton:MovieClip = _root.attachMovie("moreInfoButton", "displayInfo",this.getNextHighestDepth());
I changed the getNextHigehestDepth() to 0 and that was it. It is fixed hyyyhaaa.
Now I have to go and stuy what this getNextHig... is? because it took me a whole day to solve this problem..
Well as you see, I solve the problem. Don't ask me to explaing because I was just lucky otherwise my knowledge in Object Oriented as Actionscript is not the best. But I manage to do some stuff here without understanding the concept...