Hi all im having problems with the preloadBuffer command i think?
the following script brings up an alert saying list expected, from this i
realised that the queue function dosent seam to be doing what i thought it
would. When i play all the files from the inspector then run the movie it
works fine. so i can see that once corectly loaded the script works, Can
anyone help me figure out why the preload isent working?

Global gSong1List,gSong2List,gSong3List,gSong4List,gSong5List,gSong6List

on startmovie

  gSong1List = []
  gSong2List = []
  gSong3List = []
  gSong4List = []
  gSong5List = []
  gSong6List = []

  sound(2).queue([#member: member("Song1")])
  member("Song1").preLoadBuffer()
  sound(2).queue([#member: member("Song2")])
  member("Song2").preLoadBuffer()
  sound(2).queue([#member: member("Song3")])
  member("Song3").preLoadBuffer()
  sound(2).queue([#member: member("Song4")])
  member("Song4").preLoadBuffer()
  sound(2).queue([#member: member("Song5")])
  member("Song5").preLoadBuffer()
  sound(2).queue([#member: member("Song6")])
  member("Song6").preLoadBuffer()



  put member("Song1").id3tags into gSong1List
  put member("Song2").id3tags into gSong2List
  put member("Song3").id3tags into gSong3List
  put member("Song4").id3tags into gSong4List
  put member("Song5").id3tags into gSong5List
  put member("Song6").id3tags into gSong6List


  put getaProp(gSong1List, #TIT2) into member "Track1"
  put getaProp(gSong2List, #TIT2) into member "Track2"
  put getaProp(gSong3List, #TIT2) into member "Track3"
  put getaProp(gSong4List, #TIT2) into member "Track4"
  put getaProp(gSong5List, #TIT2) into member "Track5"
  put getaProp(gSong6List, #TIT2) into member "Track6"
  Put ("Now playing") into member("Now playing")

end



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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