PDA

View Full Version : How can I play sound in other page


yasmin2009
11-24-2006, 12:46 PM
Hello
I need help in this prj plz .
I attached the file .
how can I play sound in page2 with mediaplayer plugin when i click on button 1 in page1 . and every button in page1 to play every sound separately in different pages ( i mean every button open page and play sound file from folder )
thanks

yasmin2009
11-24-2006, 12:48 PM
sorry i forgot to attach the project :-)

yasmin2009
11-24-2006, 03:18 PM
anybody help me please !!

el5ateer
11-24-2006, 03:29 PM
maybe by adding an action in the on show event ?!

yasmin2009
11-25-2006, 03:40 AM
Hello
thanks for replay but if you can please send me example

TJ_Tigger
11-25-2006, 08:45 AM
I have looked at your project but I still do not understand what it is you are trying to do. You have a page, lets call it Page 1, with multiple buttons, that when you click that button you want to jump to another page, load a sound file and then play that sound file? Is that what you want to do? And each button would then jump to a different page and play a different sound file?

yasmin2009
11-25-2006, 10:36 AM
Hello TJ_Tigger :-)
thanks alot for replay .
yes you understood me .
that all I need but please I need this sound to play with Mediaplayer plugin in every page cause i wanna control it .
that's all
thanks .

yosik
11-25-2006, 01:51 PM
MOre simple than you think.
Use a variable for which you set a value with each button, then the page with your mediaplayer object launches the mediaplayer which plays the file as set with the buttons.
Here is your projects with the corrections.

But why would you need a page for each one? Why not use the same page for all? If you CAN use the same page, just delete all the pages except one and just change all of the Page.Jump actions to the same page.

Yossi

yasmin2009
11-25-2006, 05:14 PM
Hello Yossi
thank you very much for help :-)