Depth issue with dynamically created textboxes and ungrouped/non-symbol objects

wow that was a mouthful…
anyway…
im building a full as anything text-typing-component… easily modified and adapted etc…one problem however… (well at the moment there are several niggling little problems but hey! lol)
i came across a depth issue in testing… its a little peculiar so you will have to bear with me…
i have 2 layers, called* typer layer* and plain layer… on the plain layer i have drawn out a shape… like a circle for instance…
if plain layer is on top of typer layer everything works fine.
if plain layer is below typer layer the typer does not type… it doesnt even show up…
at present the dynamically created text field into which the typing text will be put into has a depth equivalent to that of a guide inside the component (just a plain mc used for determining sizes etc nothing special) +1 i added 1 to its current depth because if i dont i only seem to get EITHER the circle OR the typer… whereas if i add 1, i get EITHER the typer AND the circle OR just the circle…
but this doesnt make sense does it? i mean if the typer layer is on top then it has a higher depth (ie. closer to zero as depths are currently in the negatives still ;)) so if i add 1 it shouldnt conflict with anything and i should get it typing and displaying the circle surely?
and if it is below then the circle has a higher depth so in this respect if the typer wouldnt work when it is on the bottom i could understand this as the depths would be conflicting and as such the dynamically created text field couldnt be created in the first place because the depth level is already occupied… im not entirely sure if that would be true but regardless, the reverse is happening!

what is truly bamboozling me though is that if i convert the circle into a movieclip everything works fine even if they are on the same layer… like it should…

can anybody help?

if you dont understand what im struggling to ask here, please ask and i will post the beta typer here and then walk you through the problem…

ANY help/input is welcome because i really am stumped…

Prophet.

14 views but no replies :frowning:
nebody got ne ideas at all??

Prophet.

PS note i dont get this problem if i have text boxes below the typer… its just vector images (drawn in flash) and images… ok this is startin to get confusing so (as far as i know):

WORKS REGARDLESS:
symbols
text

DOESNT WORK WHEN TYPER IS ON TOP OF:
vector art (lines, fills, circles, squares… everything you draw in flash)
images

I get a headache when reading this much explaining :stuck_out_tongue:
No doubt you know exactly what you’re talking about, but it just won’t insert my brain.
So how about that fla, I might be of a bit of help.

ok thats the fla (with instructions on install)
all you have to do to pogger it up is put one of the things in the list at the bottom of post #2 in a separate layer… beneath the layer the typer is on…

cheers for takin a look at least…

Prophet.

PS if you can find a better way of deleting it (youll see what i mean ifu read instructions ;)) pls drop me a line: samyoue@gmail.com

No answers here i`m afraid but i changed the code to
d = TboxGuide.getDepth()+5
and tested with tons of stuff and it seemed fine.

yeah until we get more than 5 layers im guessing… :S

thanks 4 havin a go as wel…

Prophet.

no, i tried 10 layers above/10 below and 10 on the same layer

yeah?
spooky…
will hav a look, cheers!

Prophet.

EDIT:- just tried it and if i do that then the typer types… but all the layers below dont show! (i had 15 layers, typer on layer 8 and circles on the rest… the circles on layers above the typer were shown but those below were not…) man this is weird!

Maybe you should have tried squares :lol: I`m thinking of developing a new component too, The circle shape removal tool.

Sorry Prophet, i spent well over an hour trying different ideas with no success. Either got the component above everything or below everything…

Its quite peculiar isnt it… :S

Prophet.

PS ne other peeps had a go?

for those interested i solved it:

d = this.getDepth()+1

soz2 dbl post but i jus solved it an edited over my request for more help :wink:

Prophet.

Good.
Now that you have it bug free (and quite a small file), there`s no chance MM will want to buy it!

lol im sure i can adapt it to make it more buggy4commercial reasons! :wink:

Prophet.

EDIT:- for now tho… the free version :wink: