[Laszlo-user] onlastframe

P T Withington ptw at pobox.com
Wed Jan 21 12:43:56 PST 2009


Have you enabled debugging, to see if there are any errors or warnings?

If no errors, this looks like a bug and you should file it with your  
test case at http://jira.openlaszlo.org

On 2009-01-21, at 11:26EST, garry at schoolteachers.co.uk wrote:

> When are the conditions that onlastframe will work? I am trying to  
> use it to
> find when the last frame of a multi frame resource is loaded, like  
> this:
>
> <resource name="face">
>    <frame src="banner.png"/>
>    <frame src="crab.gif"/>
>    <frame src="start.png"/>
>    <frame src="banner1.png"/>
>  </resource>
> <view x="150" y="50" resource="face" name="myview1"
> oninit="setAttribute('opacity',0)"
> onlastframe="myview.loop()"
> />
>
> The onlastframe is not firing the method asked of it.
> Regards
> Garry



More information about the Laszlo-user mailing list