Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
Carl Fink webforumsuser@macromedia.com #1
createEmptyMovieClip always below other layers?
I'm using createEmptyMovieClip() to make, well, an empty MovieClip, in which I then draw a TextField using createTextField().
The trouble is, even though I tell the routine to put the empty MovieClip on layer 9999, the TextField appears *behind* items on layer 10. Is this expected behavior? Any workarounds?
I did do some web searching and found no other mention of this problem.
Here's the code in question:
if (this.tipText.length > 0) {
this.createEmptyMovieClip("the_tip_MC", 9999);
with (this.the_tip_MC) {
var clipBounds = getBounds(_root.invisoBackground);
createTextField("tipText", 9999, 10, 20, 100, 20);
tipText.border = true;
tipText.autosize = "left";
tipText.backgroundColor = 0xFFFFCC;
tipText.background = true;
tipText.text = this.tipText;
myFormat = new TextFormat();
myFormat.font="_sans";
tipText.setTextFormat(myFormat);
}
}
--
Carl Fink
Please respond to the newsgroup only.
Carl Fink webforumsuser@macromedia.com Guest
-
attachMovie-createEmptyMovieClip-loadMovie
Hi there, I have some troubles in Flash MX in my Movie : _root.main. I attach a MC called "InfoWin" in this I create a MovieClip called "vr"... -
CreateEmptyMovieClip and Layers question
Hi - I'm trying to improve my ActionScript skills and have run into difficulty. I'm trying to create a flexible and dynamic system that loads... -
createEmptyMovieClip on bottom layer?
I've got a fla with several layers containing my menu, header, content, etc. On the bottom layer I've got some code that creates an empty MC, loads a... -
createEmptyMovieClip & functions
Hi! Could somebody explane to me why following code does work: --------------------------------------------------------------- click_mc =... -
createEmptyMovieClip <-> setMask
Hi, Does anyone know why I can't seem to set a mask right after i create the movieclip? Something like this ... -
PierreAlain #2
Re: createEmptyMovieClip always below other layers?
as far as I experienced, the created movie clip is ABOVE all clips --in the
level it is created--. If you want it easy, create a swf witch will be
loaded level 9999 where you put your code to create the EmptyMovieClip
--
Pierre Alain
[email]pie@lifnet.com[/email]
PierreAlain Guest



Reply With Quote

