Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAbdelGhafour Mohie
1,876 PointsContinues Animation
So the animation only works with the first string, how to make it repeatable with every click ?!
2 Answers
Stone Preston
42,016 Pointsit should be repeatable with every click. Something must not be quite right with your code, mind posting the relevant snippets?
AbdelGhafour Mohie
1,876 PointsOK, my bad sorry, i forgot to add a line of code to the buttonPressed method which i was using in the simulator. It was to set alpha to 0.
Sorry for the trouble.
Stone Preston
42,016 Pointsno worries, glad you figured it out