how to create a button that changes image to every touch ? PLEASEE HELPPP

venon_itvenon_it Member, PRO Posts: 594
edited November -1 in Tech Support
i have one image button, i want every i touch it the button change image...now my image when i touch and to second touch restart the first image...I want the animation continues

How To?

Thankss

Comments

  • SlowboySlowboy Member, PRO Posts: 329
    Hi Venon, I think you'll need an Attribute called something like PicNumber
    PicNumber =1
    When PicNumber=1, Change Image to Pic1
    When pressed, change attribute PicNumber to PicNumber+1
    When PicNumber=2, Change Image to Pic2

    Hope you get that? I does mean having a huge list of Change Image rules, but I don't think there's a more efficient way to do it...
    anyone else??
    Cheers
    Wayne
  • SlowboySlowboy Member, PRO Posts: 329
    Woah there Venon! Immediately after posting the above response, my next stop just happened to be here....
    http://gamesalad.com/forums/topic.php?id=2939&replies=7#post-16504
    ...where JGary has made the whole thing ever so slightly more complicated, but much, MUCH more efficient!
    Forget my other post and get yourself over there right now ;]
Sign In or Register to comment.