Hi all (again),

I create a window with the following code:

_popUp = PopUpManager.createPopUp(_root, Window, true, { title:"Error", contentPath:"DialogueBox"}); (_popUp is defined but not instanciated at the very top of my class.)

When I create this, it is not visible and it does not have 'modal' control of the screen (despite the 'true' above). My class creates lots of components - but the pop up is the last thing it does (when I trigger an 'error').

If i close the topmost item in the window, I can see the pop up. This means that the pop up wasn't created at the highest depth like I was expecting.

A simple for loop with a trace shows all depths:

movie clip 'depthChild0' is at depth 100
movie clip '_rbFocus' is at depth 13
movie clip '_rbDuration' is at depth 12
movie clip '_rbFrequency' is at depth 11
movie clip '_cancelOrder' is at depth 10
movie clip '_submitOrder' is at depth 9
movie clip 'website3' is at depth 8
movie clip 'website2' is at depth 7
movie clip 'website1' is at depth 6
movie clip 'website0' is at depth 5
movie clip 'option3' is at depth 4
movie clip 'option2' is at depth 3
movie clip 'option1' is at depth 2
movie clip 'option0' is at depth 1

depthChild0 is the popUp

it sure looks like it should be at top - yet it isn't.

Messing around with it, it turns out that if I swapDepth on the pop up with depth 1048576 or higher, then it DOES appear on top - but it still doesn't take modal control.

There are two things I'd appreciate help with here.

firstly, setting depth like that is poor style - why is my window NOT appearing at the highest depth anyway? secondly, why does it not take modal control?
Many thanks

David
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to