actually.  the default value of z needs to be changed to 0 instead of null.  it then 
does not
need to be reset.  this was a bug that was discussed about a week or so ago.

Robert Rainwater wrote:

> Yeah, after I looked carefully, I found only w,h,bgImage,bgColor
> needed to be reset.  I'll update CVS.  I believe this.z needs to be
> reset as well.
>
> --
> Robert Rainwater
>
> On 6/8/2001, 8:26:53 PM EST, Michael wrote about "[Dynapi-Dev] Layer Background 
>colors":
>
> > the x and y values default to 0 so they are not needed.  I agree with the w / h 
>code.  I
> > apologise if my post was a bit hasty.
>
> > sorry.
>
> > Robert Rainwater wrote:
>
> >> On 6/8/2001, 12:18:43 PM EST, Michael wrote about "[Dynapi-Dev] Layer Background 
>colors":
> >>
> >> > I noticed that someone just updated the CVS with some code that removes
> >> > the bgimage / color of a layer before it is recycled.
> >>
> >> > Has anyone got any example of a method that will allow a layer to be
> >> > made transparent after it has had the bgimage / color set?
> >>
> >> > Each time that I have tried this, it has always resulted in a buggy
> >> > display that I explained in a previous post.
> >>
> >> > Also, the setting of the objects x, y, w, h to null will have ne effect
> >> > as these are numeric values and as such are not references to other
> >> > objects that may result in memory leaks.
> >> > --
> >> It wasn't done for memory reasons.  If recreating a recycled layer,
> >> without given a size or location, the previous values would be used in
> >> specificCreate.  The wrong clip values were being set in
> >> specificCreate because of the tests for this.h and this.w.
> >>
> >> --
> >> Robert Rainwater
> >>
> >> _______________________________________________
> >> Dynapi-Dev mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> > --
> > Michael Pemberton
> > [EMAIL PROTECTED]
> > ICQ: 12107010
>
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to