;

PDA

Click to See Complete Forum and Search --> : Playing Audio


mairtin_h
04-16-2009, 05:43 AM
Can anyone help me, what I want to do seems as if it should be simple but I can’t even figure out a starting place.

I want to give visitors to my site an option to have music of a particular genre playing in the background. I see this working with 3 buttons – an ‘Off’ one (default), a ‘Classical’ one and an ‘Easy Listening’ one – each of the latter two will have its own playlist.

I’m using V7 and thought mediaplayer might be the way to go but I can’t figure out how to start and stop it with my own buttons as opposed to the built in controls. I can find no help on mediaplayer in the Help file, the online manual or even by searching on this forum :(

If this needs an Action Script, can somebody point me to a good online tutorial? I’d like that anyway, although I have no experience of Action Script, I’m an experienced programmer – Visual Basic and VBScript – so hopefully I could pick up the basics fairly quickly.

w.brants
04-16-2009, 09:23 AM
There's some documentation about the MediaPlayer methods but I don't know if you have already seen that
C:\Program Files\KoolMoves\Bin\AS3\Documentation\km\index.htm l

You can use normal buttons and control a player using ActionScript. An alternative if you want to reuse your own player is to create your own MediaPlayer skin.