I will give that a try. Does anyone know why my original approach does not
work?
Thanks.
[quoted text, click to view] "Ally" <nonames333@*nospam*hotmail.com> wrote in message
news:c81ha7$ngg$1@forums.macromedia.com...
> Thanks in advance for any help. Here's my problem:
>
> On the main timeline I have a movie clip called "mp3player". In that
player
> I have the following code:
>
> music = new Sound();
> music.loadSound( clip, streaming );
> musicPosition = 0;
>
> When I go to different frames on the main timeline I need the MP3 player
to
> play the audio clips associated with those frames. For example:
>
> On the frame1:
> mp3player.clip = "audio/song1.mp3";
> stop();
>
> On the frame2:
> mp3player.clip = "audio/song2.mp3";
> stop();
>
> On the frame3:
> mp3player.clip = "audio/song3.mp3";
> stop();
>
> The problem is the mp3 player only plays the first song even when I switch
> to frame 2 or 3. How do I fix this? Do I need to unload the sound first?
> If so how?
>
> I've tried renaming the 'mp3player' a new name for every frame. For
> example, 'mp3player2' and adjusted the main timeline code to:
> mp3player2.clip = "audio/song1.mp3";
>
> With this scenario the player works sometimes and sometimes it doesn't. I
> don't understand why it doesn't work everytime or not at all. Is there a
> better solution?
>
> I'm using Flash Mx2004 Pro. Thanks again for any help!
>
>