----- Original Message -----
Sent: Thursday, January 18, 2001 12:14
AM
Subject: Re: [Dynapi-Help] Filtering a
"result"
I'm trying to make a simple function that
generates SkinWindows because skinwindows are layer intensive and I don't need
them til later. Says on preinitialization time. I was setting my
own ID's hence the prior question. Now I am attempting to define the
DynLayer name within the function all (this.e). This window forms up
fine. But if I try a dirtybird.setVisible(false) nothing happens to
dirtybird and it returns 'dirtybird' is undefined. 'dirtybird' is
this.e.
function
make_layera(e,a,b,c,d){
this.e = e;
this.a =
a;
this.b = b;
this.c = c;
this.d
= d;
this.e = new
CoreSkinWindow(a,b,c,d,'',theme);
this.e.setCloseButton(20,6,0,16,16);
this.e.setZIndex(300);
this.e.setResizeable(true);
SortEvent.enableZSort(this.e);
DragEvent.enableDragEvents(this.e);
setTimeout('this.e.setVisible(true);',800);
this.e.canvas.setBgColor('#D5D5D4');
this.e.canvas.setBgImage(SRC="images/orbimages/orblet.gif");
skinWindow(this.e);
parentLayer.addChild(this.e);
}
----- Original Message -----
Sent: Wednesday, January 17, 2001 11:51
PM
Subject: RE: [Dynapi-Help] Filtering a
"result"
I
think toString() returns the same result.. so use something
like
xlayer.toString().indexOf('layer39')
Pascal Bestebroer ([EMAIL PROTECTED])
Software
ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com
If a query to xlayer.children produces a
statement like this...
DynAPI.getDocument("DynDocument0").all["JSDynLayer1"],DynAPI.getDocument("DynDocument0").all["JSDynLayer3"],DynAPI.getDocument("DynDocument0").all["JSDynLayer4"],
etc..............
except with 39 layers in it. Whats the
best way to test for the presence of "1" of the
39?