Hi!
I am trying to costruct mediaplayer for my panos. Would like to allow changing background music. Used combobox for music selection, and direct sellection works.
Code
<action name="setupitems">
removeall();
additem(Subirana - Point of no return, playsound(s1,pnr.mp3, 0,0); );
additem(Silence - Realite, playsound(s1,02.mp3, 0,0); );
</action>
But now my mute/play button started to be a problem.
Disabling sound is not a problem, but reenabling it is...
Here is my play button action:
Code
<plugin name="soundon" url="btn_audioon.png" visible="false" align="bottom" edge="center" y="40" x="+120" blendmode="screen" onhover="showtext(Włącz dźwięk);" onover="set(blendmode,add);" onout="set(blendmode,screen);" onclick="playsound(s1,pnr.mp3, 0,0); set(plugin[soundoff].visible,true); set(plugin[soundon].visible,false);" />
It plays arbitrary file, but I would like to play what is selected in combobox.
Is it possible to access/execute actions assigned to actually selected combobox from within xml?
Whole project you can see here: http://www.fototv.pl/newsy/wydarzen…lektrownia.html
Hmmm, will think about using stack.
Regards