DynLayer.setZIndex(X); /* set's the ZOrder of a layer to the given value (X).*/
 
The Below code will give you a white square with a red border that is 5 pixels thick.
 
myLayer1 = DynAPI.document.addChild(new DynLayer());
myLayer1.setSize(100,100);
myLayer1.moveTo(20,20);
myLayer1.setBgColor('red');
myLayer1.setZIndex(1);
 
myLayer2 = DynAPI.document.addChild(new DynLayer());
myLayer2.setSize(90,90);
myLayer2.moveTo(25,25);
myLayer2.setBgColor('white');
myLayer2.setZIndex(2);
----- Original Message -----
Sent: Wednesday, March 27, 2002 3:52 PM
Subject: [Dynapi-Help] forms and flash bug

It appears that a new layer created with dynapi does not display on top of forms or flash files ...
 
Is there a solution to this problem ??
 
And thanks a ton to everyone for there help...
 
Scott

Reply via email to