Greetings. It’s the n00b again ![]()
I have a MovieClip called “FrameSide”, and I use the following to fill it with a colour:
var FrameSideColor = new Color(“FrameSide”);
FrameSideColor.setRGB(0xFF0000);
That works nicely… almost. Because it also fills the border… why is that? Is there a way to change that without having to draw the border again? Using “lineStyle” doesn’t really do the trick- or if it does, I couldn’t find out how because it doesn’t work…
Help! :crying:
And now my other problem… Layers and Depth. lol.
This is what I am doing to load 2 MovieClips with AS on the fly and load graphics into them (yes I know I could make a function out of it instead of typing it out twice- and I probably will once everything runs :)):
//---------------------------------------’
_layer2.createEmptyMovieClip(“team1logo”,1);
with(“team1logo”) {
createEmptyMovieClip(“container1”,3);
container1.loadMovie(team1_img_file);
container1._x = 8;
container1._y = 8;
}
//---------------------------------------’
_layer2.createEmptyMovieClip(“team2logo”,2);
with(“team2logo”) {
createEmptyMovieClip(“container2”,4);
container2.loadMovie(team2_img_file);
container2._x = 458;
container2._y = 8;
};
//---------------------------------------’
First of all: Those Graphics are working just fine (and it’s not the actual question)… it’s just for reference.
But I tried it first without different depth settings for the MovieClips- and the second MovieClip seemed to override the first…?
And even if I use different depths for “team1logo” and “team2logo” but then the same depths for “container1” and “container2”… they still override each other. How so, if the “parents” are already on different depths? That was confusing at first.
But like I said- that isn’t even the main problem. The actual problem is this: I have a “PopUp” Movieclip on “_layer1” (so it’s clearly above “_layer2”, right?)- the MovieClip on it that serves as the “window” is not dynamically generated with AS, it’s in the file to begin with (and not visible)… but when I make it visible, it’s behind the dynamic graphics that I created with the script shown above… how could that be, if the PopUp is on the layer above that of the graphics?
I’m lost. ![]()