help with swf movie in frame

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deece
    New Member
    • Feb 2008
    • 2

    help with swf movie in frame

    HI There! I hope someone can help me with this as I have been searching for about 2 weeks now for an answer and I have to admit that I am a designer and not much of a coder so all help would be greatly appreciated!!

    I have a website for a client www.respectmusi c.com.au/welcome.html. At the moment it is divided into two frames and the top frame has a wimpy.swf music player. The reason for this is that my client wants the player to always be playing. The bottom frame source comes from an index.php file. Now what I need to be able to do is when they go to the online store there are options for them to listen to a preview of what they are buying but the top player is still playing. So I either need the preview song to play in the player in the top frame or the player to stop in the top frame and another player start in the bottom frame.

    I have the code below but I don't know how to get it to work when the player is in a different frame. Please help!!!

    <a href="javascrip t:;"
    onClick="wimpy_ loadAndPlay(
    'example4.mp3', <-- URL to track.mp3
    'My Artist', <-- Artist's Name
    'My Title', <-- Track Title
    'http://www.goto.com', <-- URL link on graphic
    'coverart.jpg' <-- URL to graphic.jpg
    );">
    Load and Play: track 1
    </a>

    Thankyou very much anyone that can help me. Or even if you can direct me somewhere. I did go to quirksmode.org but still not quite what I was after. thanks again
  • nomad
    Recognized Expert Contributor
    • Mar 2007
    • 664

    #2
    Originally posted by deece
    HI There! I hope someone can help me with this as I have been searching for about 2 weeks now for an answer and I have to admit that I am a designer and not much of a coder so all help would be greatly appreciated!!

    I have a website for a client www.respectmusic.com.au/welcome.html. At the moment it is divided into two frames and the top frame has a wimpy.swf music player. The reason for this is that my client wants the player to always be playing. The bottom frame source comes from an index.php file. Now what I need to be able to do is when they go to the online store there are options for them to listen to a preview of what they are buying but the top player is still playing. So I either need the preview song to play in the player in the top frame or the player to stop in the top frame and another player start in the bottom frame.

    I have the code below but I don't know how to get it to work when the player is in a different frame. Please help!!!

    <a href="javascrip t:;"
    onClick="wimpy_ loadAndPlay(
    'example4.mp3', <-- URL to track.mp3
    'My Artist', <-- Artist's Name
    'My Title', <-- Track Title
    'http://www.goto.com', <-- URL link on graphic
    'coverart.jpg' <-- URL to graphic.jpg
    );">
    Load and Play: track 1
    </a>

    Thankyou very much anyone that can help me. Or even if you can direct me somewhere. I did go to quirksmode.org but still not quite what I was after. thanks again
    How are you going to make the other player play in other words are you going to use flash, a on-line store program, use javascript?

    Normally one would NOT have a song being played in the backgound. The reason for this is
    1. some clients might not like the music,
    2. they also might not even have the sound on.
    3. It takes long for the page to load.

    You might ask the JavaScript section to see if there is a script that you can use to stop the top frame from playing then make the other play list play.

    nomad

    Comment

    Working...