This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash General > July 2006 > this.getNextHighestDepth() and attachMovie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author this.getNextHighestDepth() and attachMovie
Trashcan

2006-07-10, 6:21 pm

ok, I discovered an issue with this.getNextHighestDepth() and
attachMovie

this doesn't work.

this.createEmptyMovieClip("y1972", this.getNextHighestDepth());
this.attachMovie("button_mc", "y1972", this.getNextHighestDepth());
y1972._x=100;
y1972._y=100;

but this does!!!:

this.createEmptyMovieClip("y1972", this.getNextHighestDepth());
this.attachMovie("button_mc", "y1972", i);
y1972._x=100;
y1972._y=100;

By simply not using this.getNextHighestDepth() on the attachMovie
function, I could get a hold of my movieclip. Anybody else have this
problem?

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews