I have imported 4 mp3 files as "Insert - Media element - Shockwave audio"
then I have an option to selection of any one music to be played, But 
when the movie changes the sound channel is off.

Now I have  a Problem as to how to recognise the particular file tht was 
selected to play in "movie1".

What I have tried is If any of the four sprites (with different sound 
Playback) are clicked it sets a field named "Musicxxx" to numbers 1 - 4.
& check for the number in that field in another movie & play member but 
still it does'nt work. 

My script is  as under :

Script in "Movie1"

on mouseup
  member("1").play()
  go to frame "S_music"
  set the text of member "Musicxxx" to "1"
end

Script in any other movie linked to "Movie1"

on prepareframe me
  if the text of member "Musicxxx" of castlib "Music"= "1" then 
    member("1").play()
    if the text of member "Musicxxx" of castlib "Music" = "2" then 
      member("2").play()
      if the text of member "Musicxxx" of castlib "Music" = "3" then 
        member("3").play()
        if the text of member "Musicxxx" of castlib "Music" = "4" then 
          member("4").play()
        end if
      end if
    end if
  end if
end


Please help me out.

Thanx,
[EMAIL PROTECTED]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to