Hello Guest

Author Topic: how can i implement "animationCompleteDelegate" with javascript ?  (Read 3986 times)

jasonshow

  • Newbie
  • *
  • Posts: 2
    • View Profile
how can i implement "animationCompleteDelegate" with javascript ?
« on: September 11, 2012, 02:32:17 pm »
how can i implement "animationCompleteDelegate" with javascript ?
just like C# ?

thanks a lot !

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: how can i implement "animationCompleteDelegate" with javascript ?
« Reply #1 on: September 11, 2012, 03:35:47 pm »
Its really straightforward.

Code: [Select]
// this is your function
function XXX(...)
{
}

anim.animationCompleteDelegate = XXX;
Thats it.

jasonshow

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: how can i implement "animationCompleteDelegate" with javascript ?
« Reply #2 on: September 11, 2012, 04:24:20 pm »
thanks !