
Componenti
Componente | Proprietà | Valore | |
---|---|---|---|
Screen | Screen1 | AlignHorizontal | Center |
Title | I Have a Dream 1 | ||
User Interface > Label | Label1 | FontBold | On |
FontSize | 20 | ||
Text | Martin Luther King | ||
User Interface > Button | Button1 | Image | mlk.jpg |
Text | |||
User Interface > Label | Label2 | Text | Tap the picture to hear the speech |
Media > Player | Player1 | Source | king.mp3 (king.mp3) |

Blocchi
Quando l’immagine viene toccata parte l’audio con la voce di Martin Luther King


Due immagini e due file audio
Componenti
Componente | Proprietà | Valore | |
---|---|---|---|
Screen | Screen1 | AlignHorizontal | Center |
BackgroundColor | Black | ||
Title | I Have a Dream 2 | ||
User Interface > Label | Label1 | FontBold | On |
FontSize | 20 | ||
Text | Martin Luther King and Malcom X | ||
TextColor | White | ||
Layout > HorizontalArrangement | HorizontalArrangement1 | ||
User Interface > Button | Button_MLK | Image | mlk152x129.jpg |
Text | |||
User Interface > Button | Button_MX | Image | malcolm152x129.jpg |
Text | |||
User Interface > Label | Label2 | Text | Tap the picture to hear the speech |
TextColor | White | ||
Media > Player | Player_MLK | Source | king.mp3 (king.mp3) |
Media > Player | Player_MX | Source | malcolmx.mp3 (malcolmx.mp3) |




Blocchi
Quando viene toccata l’immagine di Martin Luther King (Malcom X)
- Viene fermata la voce di Malcom X (Martin Luther King)
- Se l’audio è in esecuzione viene fermato
- Se l’audio non è in esecuzione viene fatto partire


Vedi: http://www.appinventor.org/content/ai2apps/simpleApps/dream