Skip to first unread message

Aidas

unread,
Dec 3, 2016, 8:36:37 AM12/3/16
to MIT App Inventor Forum
Hi, maybe somebody can help my with blinking button.In general i want to make button blinking when player playing .Do not know how to do that.Lets say if i do with two button images ledlighton.jpg and ledlightof.jpg to channging in clock seconds speed.I need not color changing yelow to black but picture changing or dimming.Or maybe possible somehow make response button on click dimming (already in MIT app inventor).Any ideas or directions what i can try?Or maybe that not possible on MIT app inventor?Thank you in advance

Taifun

unread,
Dec 3, 2016, 10:04:40 AM12/3/16
to mitappinv...@googlegroups.com
use a clock component and an if block like this

if Button1.Image =  ledlighton.jpg
then 
  Button1.Image =  ledlightoff.jpg
  Button2.Image =  ledlighton.jpg
else
  Button1.Image =  ledlighton.jpg
  Button2.Image =  ledlightoff.jpg

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn  App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by  Taifun.         




Aidas

unread,
Dec 3, 2016, 10:26:23 AM12/3/16
to MIT App Inventor Forum
O  thank you!Learning not easy thing :)
Reply all
Reply to author
Forward
0 new messages