The code I changed was in the layer creation code so it should have been
called for every layer.

So I could use a segment such as:?

var a=obj.getClip();
cliptop=a[0];
etc.

BTW, I'm using the version that you uploaded on 3/10, and in answer to
David's "DYNAPI Out of steam" post.  I'm using the afroapi because:

1. It works with NS6 - when I tried the Dynapi a few weeks ago it didn't.
2. It contains a timeline object which I need now, not in the future.
3. MP always seems quick to respond to problems :-)

...and I too feel it's very arrogant of sourgeforge to not provide a
function which replies directly to the list the email comes from.  I run
several mailing lists for my company, and I've setup mailing list with the
likes of topica, yahoo, etc and belong to many more.  This is the ONLY one
that behaves in this way.

Mike (C)1991

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
> Pemberton
> Sent: 10 October 2001 08:33
> To: Dynapi-help
> Subject: Re: [Dynapi-Help] Clip properties
>
>
> The errors in Javascript do not always get detected until you try
> running the
> specific code.
>
> With regards to the clip property of a layer, there is a method
> called getClip
> that returns a 4 element array of values corresponding to [top,
> right, bottom,
> left]
>
> I hope this is of use.
>
> BTW, what is the release date of the version that you are using?
>
> Mike Carlin wrote:
>
> > Is there a way of simply retrieving the clip boundaries of a layer?  I'm
> > trying to centre a layer over another which may be clipped and thus the
> > centreing needs to take place on the clipped region.  I'm using
> the afroapi
> > and have tried editing layer.js but my changes do not seem to have any
> > effect.  (I've even edited-in blatant javascript mistakes without errors
> > appearing!) How could that be if I include afroapi.api.layer?
> >
> > Mike (C)1991
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/dynapi-help
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>



_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to