Author Topic: Uislider & audio control problem  (Read 525 times)

joreldraw

  • Guest
Uislider & audio control problem
« on: July 19, 2012, 06:11:43 PM »
Hi i have a uislider showing the position of an audioclip when is playing.
I like to drag the slider to repositione the audio on time.
my problem is that audio set uislider value & if i move the sliderthumb both are calling Onsliderchange and the audio play duplicated.
How can i solved this?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Uislider & audio control problem
« Reply #1 on: July 19, 2012, 08:45:26 PM »
Remove the thumb. :P

joreldraw

  • Guest
Re: Uislider & audio control problem
« Reply #2 on: July 23, 2012, 03:15:14 PM »
No, i like to use the thumb to advance or rewind the video how all videoplayers.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Uislider & audio control problem
« Reply #3 on: July 23, 2012, 03:40:04 PM »
Then remove the collider from the thumb.