[Laszlo-dev] LPP-5709: Multiframe resources

P T Withington ptw at pobox.com
Thu Aug 7 06:46:27 PDT 2008


On 2008-08-07, at 08:56EDT, Lou Iorio wrote:

> Your example uses setPlay(), about which the reference says this:
> 	This method is deprecated
> 	Use setAttribute('play', ...) instead.
>
> 	However, the attribute play is not in the reference. Methods play()  
> and stop() worked, so I used that.
> 	If that's wrong, let me know.

We can't have an attribute `play` and a method `play` any more.  There  
were kludges in the old days to allow this, but it just can't be in  
JS2.  In other cases, we have renamed the attribute to the participle,  
in this case, `playing` should be toggled by play/stop and  
`setAttribute('playing', true)` should be the same as calling the  
`play()` method.


More information about the Laszlo-dev mailing list