![]() |
MP3 Player, multiple functions per button, help needed
Hi everyone, this is my first post and my first time working with actionscript. I'm developing a website for my own business and am integrating an mp3 player. I can have it play one song easily and I can have it go to the next song as well, however I can't pause and then re-play the second song because the button is linked to the first song. Here's what I have:
Code:
var music:Sound = new Sound(new URLRequest("http...")); |
I think the problem is you are creating separate functions and markers for different songs. You might consider this tutorial or something similar.
http://www.flashessential.com/archives/26 Ideally, you have an array with your songs listed, and you play songs based on an index variable that keeps track of what song you are on. |
| All times are GMT +1. The time now is 05:20 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.