Hi,
Well I managed to get it to work, I didn't find the help in the docs or
on the website, in fact in the examples the events didn't work on some ,
I found on another site. I am using dynAPI 3, IE 6 and firefox. I found
that to trap an event I have to put "on" in front of it, examples I saw
said I had to trap threadfinish but when I digged into the code it was
pathfinish here is some code I used.
var listener = {};
listener.onpathrun = function(e) {
var o = e.getSource();
status = "play "+o.x+" "+o.y;
}
listener.onpathfinish = function(e) {
var o = e.getSource();
status = "stop "+o.x+" "+o.y;;
slider.Bounce(slider.bounceInc);
}
this.lyr.addEventListener(listener);
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leif W
Sent: 08 September 2004 07:59 AM
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] slideTo events
Message> ----- Original Message -----
> From: David Appledore
> To: [EMAIL PROTECTED]
> Sent: Tuesday, September 07, 2004 06:54
> Subject: [Dynapi-Help] slideTo events
>
> hi,
> I want to do another slideTo action once the current slideTo has
> finished. I have tried capturing threadfinished and threadstop events
> but they dont seem to fire. What is the best way of doing it?
>
> Thanks
>
> David
At the least, state which version of the DynAPI you are using, which
browser and version, and a description of what you are trying to do, and
preferably some examples of code that you have tried. If you are using
the old DynAPI 2, would it be possible to switch to DynAPI 3? If you
are starting a new project, then I'd suggest DynAPI 3. If you are
modifying an existing project, I'd suggest staying with that, unless
it's possible to rewrite all the JavaScript.
I forget the slideTo and event capturing, but I can probably relearn and
explain in DynAPI 3.
Leif
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help