Adding continuos backgrond music

Hi. Hopefully someone can help me. I want to add a continuos music at welcoming screen and the music is automatically stop when user click the enter button (blue button) .
How to do it. Please help me!



Follow the advice in Player


  • add your music.mp3 file into Media
  • add a Player component
  • Check Loop in the Player Properties.
  • set Player.Source to the mp3

in Screen1.Initialize

  • set Player.Start

in Blue button

  • set Player.Stop

Experiment and code the Blocks. :slight_smile:

Does that help?

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook ... 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 and the aia files for the projects in the book are here:

How to do a lot of basic things with App Inventor are described here: .

Also look here and here for more tutorials.

Learn about components
and visit the Library Help>Library on the MENU

1 Like