What is the script to enlist several songs with a bottom?

so i mean i would like to know how i can do for enlisting several songs as virtual songs with a bottom for example if someone click the word "PLAY" listen the all songs "mp3" tha i put on several castmemebers
i know to make it only to play one with this script
1rst
on startmovie me
global flag
flag=0
end
2nd
on mouseup me
global flag
if global falg=0 then
puppetsound 5, "name of the song"
flag=1
else
puppetsound 5, 0
flag=0
end if
end
but this is script is only for one song i mean somenthing to play several songs i hope somebody help me thanks in advance

on startMovie()  
  clearGlobals 
end
-- frame 1 "start"
on exitFrame me
  _movie.go("start") 
end
-- play button
on mouseDown me 
  global theSongNameList, theSongListItemNumber, startPlaying   
  theSongList = "nameofSong1,nameofSong2,nameofSong3"
  theSongListItemNumber = 1
  startPlaying = 1
  _movie.go("play")
end
frame 2 "play" 
global startPlaying, theSongNameList, theSongListItemNumber, theSongToPlay
on enterFrame me
  if startPlaying = 1 then
    theSongToPlay = theSongNameList.item[theSongListItemNumber]   
    if member(theSongToPlay) = void then
      nothing     
    else           
      sound(1).play(member(theSongToPlay))     
    end if
    startPlaying = 0
  end if
end
on exitFrame me 
  if sound(1).status = 0 then
    theSongListItemNumber = theSongListItemNumber + 1
    startPlaying = 1
  end if    
  _movie.go("play")   
end

Similar Messages

  • HT1420 what is the sales tax added to songs purchased from apple store?

    what is the sales tax added to songs purchased from apple store?

    The amount of Tax Payable varies and is dependant on your location...
    You will need to investigate that yourself...

  • What is the latest OS I can use with a mac G5 with a dual 2.3 Ghz PowerPC G5 processor?

    What is the latest OS I can use with a mac G5 with a dual 2.3 Ghz PowerPC G5 processor? Everything on my computer has been running so slowly in the last few weeks. Have I finally outgrown OS 10.4.11? Would there be some other problem that would sudden make all my speed take a nose dive? I have 8.5 gigs of RAM...  Please advise!
    Thanks!  Matthew

    Everything on my computer has been running so slowly in the last few weeks.
    First open Console in Applications>Utilities, see if you have reapeating messages.
    How much Free Space do you have on the Hard Drive?
    At this point I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.

  • HT204149 What is the maximum resolution available for use with the Apple Mini DisplayPort to Dual-Link DVI adapter?

    What is the maximum resolution available for use with the Apple Mini DisplayPort to Dual-Link DVI adapter?

    Hey guys,
    I found out an answer by myself...
    The missing link : the MacBook Pro needs to be powered... as in you need to plug the charger in...
    In conclusion, you simply plug everything, turn on the MacBook Pro, close the lid, and there you go !

  • I have a pioneer vsx-910-k and airport express.I have a wireless network at home. What's the best arquiecture/config to do with this hardware?

    I have a pioneer vsx-910-k and airport express.I have a wireless network at home. What's the best arquiecture/config to do with this hardware?

    I would suggest that you connect the Pioneer to the AirPort Express Base Station using an optical digital audio cable that has a TOSlink connector on one end and a 3.5 mm optical connector (Mini Plug) on the other. You can then connect the Mini Plug end into the AirPort's audio port and the TOSlink end into one of the Pioneer's optical digital audio ports.

  • What are the settings in Aperture to work with a Canon 9000?

    What are the settings in Aperture to work with a Canon 9000? Canon website says Aperture is not supported. Is it True?

    Do you mean the Canon PIXMA Pro9000 printer?
    If so, does this help?
    https://discussions.apple.com/thread/3681934?tstart=0

  • What are the different 'Add-on modules' available with LabVIEW?

    What are the different 'Add-on modules' available with LabVIEW?
    What are the types of 'Add-on Cards'?
    Cards and modules are different,thats true.Is it that modules means software and are they same as 'add-on toolsets'.Please give the details/URL which would give me various toolsets in detail and also the specifications of various add-on cards?
    Kindly do the needful
    I require these details immediately.I am an Engg student and learning LabVIEW

    duplicate post

  • What is the best way to stream sports with Apple TV

    What is the best way to stream sports with apple TV

    Your question is a little too broad. Hard to know what sports you are talking about.
    If you have a newer Mac, you can use airplay to mirror anything on your Mac to your apple tv. Or use the ESPN app.
    But a lot of sports just can't be streamed as they are available, though I bet this year sees a lot of new livestreams on sports on YouTube or Ustream.
    Hugh

  • DKA790GX Platinum - What's the best card that will work with hybrid crossfire?

    Hi everyone. I know this board is a bit old now but I've set it up for my kids to play oldish games and it occurred to me that video cards from that era might be inexpensive these days. What's the best possible card to use with the on-board card for its hybrid crossfire? Would it be better to just get a separate standalone card? If so what's the best that will work with this board? I'm completely out of the loop these days on tech and have no idea what will even be compatible anymore.

    Quote from: KrisWood on 12-June-12, 00:27:34
    Good news! I resolved my graphics issues without buying a new card. It all came down to a little logic. It used to work just fine. The game it's installed off the same disc as before, and there us no noticeable change in the install media. The hardware has not changed unless there has been some sort of electrical damage I cannot see. I had however updated my drivers many times over the last few years, and always from the AMD website.
    I installed the latest MSI drivers for my onboard graphics and voila, it works!
    All graphical glitches are now gone, though it runs a but slower.
    I may still buy a new card. I'm favouring the HD4870x2 as the top of my motherboard's era or the slightly newer HD5770 which some reviews say is equivalent in performance. The latter uses the same GPU and shaders as the 6770 and is considerably cheaper.
    If I go with NVidia it seems the best card in my price range is the 440GT.
    Thanks, everyone, for all the advice!
    i'd say the 790GX chipset would run a saphire radeon HD5770 card fine i have 1 of them on a different maufactures board that uses the AMD 690GX chipset and i have put both my HD5770's in that with crossfire on and had no issues at all just to try it out!
    and the AMD 690GX is a lower more old chipset then the one your board has so i wouldnt see any issues with the board not accepting the HD 5770 cards at all!
    i like the saphire branded ones better as they run much cooler and quieter then a stock card!

  • What is the use of jsp when compare with Struts

    what is the use of jsp when compare with Struts

    JSP Tag Libraries are great for reusable content formatting and ligic.
    For example, let's say you have this Shopping site. Each item you sell is stored in a database, and you get them out depending on Catagories, creating a List of ItemBeans. You allways want to display the items with a catagory header, then a <table> with the item number, the description and the price.
    Instead of creating a bunch of logic in the JSP that does this, you can pass it on to a Tag that might look like this in your JSP:
    <shopping:itemTable catagory="${selectedCatagory}" items="${itemsForCatagory}" />
    This would make the JSP easier to read and work with.
    The actual uses are incredible. Have you used the <jsp:useBean ...> tag? That is an example of a use of the Custom Tag Libraries.
    Furthermore, look into JSTL (JSP Standard Tag Libraries). They are a collection of tags (API by Sun, coding by Apache) used to do many of the standard actions you might want/need to do in JSPs, like a conditional tag (c:if only do something if the test is true), multiple-conditional tags (c:choos c:when c:otherwise) like an if [else if] else construct. Looping through an array or Collection (c:forEach), storeing values in scopes (c:set) formating numbers and dates (the fmt library), xml transformations (xml library), and lots of other things that you could replace scriptlet code with.

  • What are the limitations in weblogic that comes with JDeveloper?

    Hi,
    What are the limitations in weblogic that comes with JDeveloper?
    Thanks for your help.

    Not much. If there is, you can always create your own domain with the servers you want and create a connnection to the admin server of that domain in JDeveloper.

  • What are the prerequisites to monitor SAP ENVIROMENT with grid control

    anybody know what are the prerequisites to monitor SAP ENVIROMENT with grid control
    its necessary another software
    thanks

    There's currently no way to monitor a whole SAP system through gridcontrol. Of course you can monitor the underlying database.
    Werner

  • What is the version of APEX that comes with DB 11.2.0.2?

    What is the version of APEX that comes with DB 11.2.0.2? Is it 4.0?
    Where can I confirm this, is there a list of DB features and versions for 11.2.0.2?
    Am I correct in thinking there currently a patch for Apex 4.0.2.?
    Thanks
    Will

    Hi Will,
    I believe APEX 3.2 is still shipped with Oracle 11g but I could be wrong.
    All the documentation regarding 11g r2 can be found at:
    http://www.oracle.com/pls/db112/portal.portal_db?selected=1&frame=#new_to_oracle_database_11g
    The information regarding the patch can be found in Joels Blog:
    http://joelkallman.blogspot.com/2011/04/application-express-40-and-library.html
    Thanks
    Paul

  • What is the best display setting to use with a sanyo projector for Mac OS x 10.8.3

    What is the best display setting to use with a sanyo projector for Mac OS x 10.8.3

    You would use whatever the native settings for the projector are.
    Regards.

  • What is the easiest way to wrap photos with text in ps CS4?

    What is the easiest way to wrap photos with text in ps CS4?

    InDesign handles text much better that either Illustrator or Photoshop.
    In InDesign there is more than one way to put a frame around a paragraph:
    Select the text frame, go to Object menu - Text Frame Options and set the Inset Spacing to keep the text away from the frame edge.
    Then select the text frame with the selection tool (black arrow) check the Fill/Stroke icon at the bottom or the tool box and make sure the Stroke is selected, and choose a Stroke width from the tool bar at the top of the screen.
    Or you can do it a quick and dirty way by just drawing another frame and place it on top of the text frame. Give this frame a Stroke and make sure the Fill is set to None.
    I selected both frames in this example simply to show that they are two separate frames. The first method (above) only produces one frame.
    Your original question was regarding text wrap, the third example shows text wrapping around the photo.
    Place or type your text. Place your image and go to the Window menu - Text Wrap. You can set the Offset margins individually to keep the text away from the edge of the image.
    For things like this InDesign is definitely the best way to go.

Maybe you are looking for

  • Y500 dual boot windows 8 and fedora 19 problem

    I bought a y500 two days ago and i wanted to dual boot windows 8 and fedora 19, so here's what i did 1. downloaded fedora 19 (x64) iso from the fedora website. 2.made a live USB using live usb creator. 4.opened disk management utility and shrunk the

  • Payment issue-3 Months Suscription

    Hi,  I have purchased a US number for 3 months subscription, and when I am recharging it is showing for 3 months plan costs 10Euros, and 400mins/month. My question is suppose I have finished my 400 mins within a week after purchasing, again to get 40

  • How do you know if your iPad 2 is charging?

    Please I really need some help

  • IPod stuck in "recovery mode" upon update to 1.0.3

    Hi. Downloaded the 1.0.3 update just 3 days ago. When the installation was finished, I got a message sayng I had to recover to use the iPod with iTunes. And so I did. Apparently something went wrong during the update, hence the message. Now all I see

  • Where do i find my order number

    hi i have purchased the Adobe creative suite 6 design standard and having problems activating it.  I can't seem to find my order number.  Where would this be?  The product code on the box isn't working?