Skip to first unread message

khaled alamer

unread,
Mar 2, 2017, 1:44:52 AM3/2/17
to MIT App Inventor Forum

Hi all,

I want to make slide moves during playing sound and finishs at the end of  playing sound at last point of slide.

thx
update1.png
update2.png
update3.png
update4.png

khaled alamer

unread,
Mar 2, 2017, 2:44:23 AM3/2/17
to MIT App Inventor Forum
update1.png
update2.png
update3.png
update4.png

Ghica

unread,
Mar 2, 2017, 6:38:44 AM3/2/17
to MIT App Inventor Forum
Did you try to use a clock? Where at each Timer event you update the slider position, depending on the duration already played?
Cheers, Ghica.

khaled alamer

unread,
Mar 2, 2017, 8:36:33 AM3/2/17
to MIT App Inventor Forum
I didn't try to use a clock. Can you please guide me.

Thank you Ghica
Best wishes

Abraham Getzler

unread,
Mar 2, 2017, 10:51:39 AM3/2/17
to MIT App Inventor Forum
In order to do this, you would need to know in advance how many minutes are in what you want to play.
Otherwise you would not be able to fill the bar properly.

I don't see in your blocks anything that might contain a play length.

ABG

Taifun

unread,
Mar 2, 2017, 11:14:29 AM3/2/17
to MIT App Inventor Forum
you also could use the player extension https://puravidaapps.com/player.php, which offers additionally the properties

and

Taifun

khaled alamer

unread,
Mar 3, 2017, 12:12:23 AM3/3/17
to MIT App Inventor Forum
Thank you for reply.

Actually there are more than fifty files of mp3 and each file has a different minutes.
Can you please show me what kind of blocks I can use and try it.
Thank you

Taifun

unread,
Mar 3, 2017, 7:39:49 AM3/3/17
to MIT App Inventor Forum
you might want to read my previous answer again and use the player extension
also see tip 3 here

Ghica

unread,
Mar 3, 2017, 7:53:45 AM3/3/17
to MIT App Inventor Forum
Usually I do not have the time to create complete apps for people like you, and it would not help you in learning how this works, therefore...
Fist try to make a simple example as close as you can get to what you want. Then, maybe we can give a hint on how to complete it. Or maybe you have found out yourself.
Cheers, Ghica.
Reply all
Reply to author
Forward
0 new messages