Music and Sound player button (Solved )

Senoy

  • Posts: 15
Hi Everyone,

I am a Designer and i thought i try myself out designing apps.
I want to make a storytelling app for kids for iPad and iPhone.
i would need a little help in how to make simple virtual buttons which i can put on the scenes to make sounds ( like cow, sheep, etc. )
Tried a lot of setups but they just don't work properly :(
I would need 2 kind of button behaviors :
 - a simple button behavior which i can attach to a player that just simply plays a sound and if pushed again it stops
 - second button would be a button that plays even if the phone is "sleeping" i would need this to add musics to help kids sleep better

Would really appreciate help :)
Thanks
Senoy

« Last Edit: March 28, 2015, 04:01:36 am by Senoy »

rambunctious10

  • Posts: 58
For the first behavior, you could do something like this:
I ♥ coding.

Senoy

  • Posts: 15
Thank you rambunctious10 i really appreciate you help i will try it out :)

Senoy

  • Posts: 15
Trying to find IsPlaying but cant seem to :(
Did you created it ?

Senoy

  • Posts: 15
Willing to pay for help 5 bucks for 1 that works and 13 for both PM me please !!!!

Ringoster

  • Posts: 25
Trying to find IsPlaying but cant seem to :(
Did you created it ?
It's an attribute. You'll have to make one yourself (you can choose whatever name you want for it)

I don't think the music idea will work without delving into some code. Most non-music player apps get their audio cut off when the device gets locked.