Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : Alert Component Depth Control with API Drawing


Aware-0
3/1/2004 6:14:08 PM
I've got an mc on _root that I use as an API drawing board. Now I've created a
button component that, when pressed, launches a scary Alert component saying
"Are you sure you want to delete your precious drawing? It was so good and
all...". The problem is that when the Alert shows, it's underneath the API
drawing.

Now the code for drawing is something like createEmptyMovieClip("draw_mc",
nextHighestDepth()) then draw_mc.moveTo(x,y)/lineTo(x,y) etc.

Why is it that if the Alert is called AFTER the draw_mc is created, that it is
behind all the drawings. Is API Drawing on the _root for some reason above all
other MCs on the _root? if so, how might I solve my problem?


Peace,
Ian
vectorman69
9/10/2004 2:56:43 PM
Originally posted by: Aware-0
I've got an mc on _root that I use as an API drawing board. Now I've created a
button component that, when pressed, launches a scary Alert component saying
"Are you sure you want to delete your precious drawing? It was so good and
all...". The problem is that when the Alert shows, it's underneath the API
drawing.

Now the code for drawing is something like createEmptyMovieClip("draw_mc",
nextHighestDepth()) then draw_mc.moveTo(x,y)/lineTo(x,y) etc.

Why is it that if the Alert is called AFTER the draw_mc is created, that it is
behind all the drawings. Is API Drawing on the _root for some reason above all
other MCs on the _root? if so, how might I solve my problem?


Peace,
Ian


I have the same proble, did you resolve it?

regards


AddThis Social Bookmark Button