Adding to the strangeness.  It appears the IE55 will allow you to name a DynLayer 'dirtybird' but it won't allow you to call dirtybird.setVisible(false).  This might be because Microsoft likes 'dirtybirds', not sure.  The really odd thing is... if I call sylvester.setVisible(true) then.. sylvester.slideTo('dirtybird') , then 'dirtybird' does indeed disappear.  Odd.
----- 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 -----
From: Pascal
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

-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Raymond Smith
Verzonden: donderdag 18 januari 2001 7:20
Aan: [EMAIL PROTECTED]
Onderwerp: [Dynapi-Help] Filtering a "result"

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?

Reply via email to