This is probably a stupid question, but…
is it possible to change the _level of a movie clip or button created within a main movie, instead of having to load it in from an external movie to set the _level?
nope… i don’t think so. :-\
Kax said no, so maybe it’s stupid what I’m going to say… =)
But don’t you mean the swapDepths() method??
Taken from the AS dictionary:
MovieClip.swapDepths
Availability
Flash Player 5.
Usage
myMovieClip.swapDepths(depth)
myMovieClip.swapDepths(target)
Parameters
target The movie clip instance whose depth is swapped by the instance specified in myMovieClip. Both instances must have the same parent movie clip.
depth A number specifying the depth level where MovieClip is to be placed.
Returns
Nothing.
Description
Method; swaps the stacking, or z order (depth level), of the specified instance (MovieClip) with the movie specified by the target parameter, or with the movie that currently occupies the depth level specified in the depth parameter. Both movies must have the same parent movie clip. Swapping the depth level of movie clips has the effect of moving one movie in front of or behind the other. If a movie is tweening when this method is called, the tweening is stopped.
well… he said level so i said no.
but yeah, maybe he meant to say depth, not level. :-\
gets very confused after reading the above
swapDepths() sets the depth level… So isn’t it kinda the same thing??
well… talking about flash, if you say level, i’d interpret it as a level not depth, so i assume i’m right.
besides he actually said _level.
lol. can’t argue with that