i created a flash movie with several swf files that
would be loaded in other levels. i was wondering if
it would be possible to “alpha” level0 when a swf file in level1
is loaded and to “un-alpha” it when level1 is unloaded?
i hope u understand what i mean.
A level is like a MovieClip, it has all the properties and handlers, you can do pretty much anything you want with them.
[AS]_level0.onEnterFrame = function() {
this._visible = !_level1;
};[/AS]
That should do…
Although it would be much better if you set its _visible property to true/false when you load/unload the level instead of the onEnterFrame handler.
[AS]on (release) {
loadMovieNum(“abot.swf”, 1);
_level0._alpha = 50;
}
//
on (release) {
unloadMovieNum(1);
_level0._alpha = 100;
}[/AS]
I thought you wanted to make it completely invisible, that’s why I used the _visible property.