View Single Post
02-01-14, 08:59 AM   #5
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Yes, that's exactly what I was asking for.

At the moment I'm doing it via ag:SetEndDelay() and then pausing the animation at onFinish (which is fired if the animation itself is done and before the delay starts).

But I wouldn't consider this as a good practice. It's rather a bad hack than 'using a feature'.
I introduces some unwanted problems too.

It's even worse with rotating than with fading or translating. Afaik the animation is the only way to rotate a frame (let's say an action button that represents a clickable area). The only other way to rotate something is SetTexCoord(), which applies to textures only.

Last edited by Duugu : 02-01-14 at 10:04 AM.
  Reply With Quote