Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Tip: toogle music on/off when focus is on AMS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tip: toogle music on/off when focus is on AMS

    Sharing a tip with you, guys. Maybe someone can use it:
    I wanted to have a background music playing and when I click a button which launches an EXTERNAL file (for example a video in Media player, but anything alse goes), the music would stop. That's easy!
    But I wanted the music to start again when the external app is closed and the user is back to AMS.
    Solution: (mine anyway..)
    1. have a hotspot made visible when button is clicked, just before going to app. (allow a small delay for app to start).
    2. onEnter this hotspot, a) the hotspot disappears, b) music starts again.
    Enjoy
    Yossi

  • #2
    Nifty. So does the hotspot cover the whole page?
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Exactly. It may not be "elegant", but it was the way I found to "wake up" the background music when focusing back to AMS
      Yossi

      Comment


      • #4
        Excellent tip!

        Comment

        Working...
        X