Make mp3 that has been loaded into swf to stop playing

Hi,
I've managed to create a 'jukebox' that has a selection of
tracks. Each track is loaded into the swf using the following
scripting:
var my_sound:Sound = new Sound();
my_sound.loadSound("nuffnek.mp3",true);
I have created a stop button which when pressed takes the
movie to a point on the timeline where there is no:
var my_sound:Sound = new Sound();
my_sound.loadSound("nuffnek.mp3",true);
But the mp3 file continues to play.
Is there some scripting that I need to put at this point on
the timeline that maybe 'unloads' the sound????
Any help much appreciated.

Did you try:
my_sound.stop();
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
*Must Read*
http://www.smithmediafusion.com/blog
"Dilroy" <[email protected]> wrote in
message
news:ebdk5o$grn$[email protected]..
> Hi,
>
> I've managed to create a 'jukebox' that has a selection
of tracks. Each
> track
> is loaded into the swf using the following scripting:
>
> var my_sound:Sound = new Sound();
> my_sound.loadSound("nuffnek.mp3",true);
>
> I have created a stop button which when pressed takes
the movie to a point
> on
> the timeline where there is no:
>
> var my_sound:Sound = new Sound();
> my_sound.loadSound("nuffnek.mp3",true);
>
> But the mp3 file continues to play.
> Is there some scripting that I need to put at this point
on the timeline
> that
> maybe 'unloads' the sound????
>
> Any help much appreciated.
>
>
>
>
>

Similar Messages

  • I want to add a CD to my IPod Classic, the CD has been loaded into my library but my iPod is not showing on i-tunes and I can't get the CD onto my iPod.

    I want to add a CD to my IPod Classic, the CD has been loaded into my library but my iPod is not showing on i-tunes and I can't get the CD onto my iPod.

    Well if your iPod is not appearing under Devices in iTunes when you have it plugged into a high powered USB 2.0 port, then that would explain why this newly loaded CD has not synced to it yet. 
    Have you carefully worked through each and every single suggestion in this Apple support document?
    iPod not recognized in 'My Computer' and in iTunes for Windows
    B-rock

  • I can't figure out how to log off of my daughter's iTunes account that has been loaded to my PC.  When I want to sync my iPhone, I get her data, not mine.

    I can't figure out how to log off of my daughter's iTunes account that has been loaded to my PC.  When I want to sync my iPhone, I get her data, not mine.

    Hi, Abril_Perez17.
    This may be related to a new feature embedded in iOS7 that shows all purchased music by default.  Go to Settings > Music, then turn off Show All Music.  See if the issue ceases once the feature has been disabled.  This information is located on page 63 of the user guide below. 
    iPhone User Guide
    Regards,
    Jason H. 

  • Printing the percentage of the file that has been loaded

    Hello everyone!
    I'm using a FileInputStream and a DataInputStream to read my .DAT file, but I want to print out the amount of percentages of the file that has been loaded, in a System,out.print(""); statement, please tell me how I can do this. :)
                fileInStream = new FileInputStream("C:/Documents and Settings/Benjamin Dahse/Dokumenter" +
                        "/NetBeansProjects/Online Multiplayer Game Client/build/classes/net/client/game/io/Cache/" +
                        "main_file_cache.DAT");
                dataInStream = new DataInputStream(fileInStream);This by the way, is how I get the path to the file, I want my DataInputStream to read.

    Thank you for your comment, but out of this code:
                int percentage = 0;
                byte[] buffer = new byte[15000000];
                while(true){
                    percentage += dataInStream.read(buffer, percentage, Math.min(buffer.length,
                            fileInStream.available() - percentage));
                    System.out.print(percentage / fileInStream.available() + "\n");
                    if(percentage >= fileInStream.available()){
                        break;
                }The only output I get is 3?

  • How to get PDF file that has been transformed into docx into my filing system so I can work on it???

    How can I get the PDF file that was transformed into a docx file into my filing system to be able to work on it and translate it as the customer requested?

    THanks for your reply.
    Well what happens is I bought the program. It gives you a button to click,
    you log in and then a box opens up asking you to select the file, I go into
    my filing system (in Windows explorer) select the file, and the program
    converts it into docx, my choice.  I can read it there and when I try to
    copy and paste it into my file where the PDF version is saved, it behaves
    like an "image", and I can't save it.... or it saves likes something you
    save on the internet, so you have to go into internet every time you want
    to see it.    I have also pressed any amount of buttons to see if it will
    give me the option to save it any other way, and have found nothing.  What
    I would need is a file in docx.format that I can edit.  People send me
    things in PDF and sometimes I can just copy it off the PDF file and save it
    in WOrd, then I can translate it for them. But sometimes the PDF file
    doesnt allow me to copy the text.  If it is in image form, I cannot work on
    it.  It means printing it, so I can copy type it into Word... and for that
    I certainly wouldnt need to buy a program.  Its just double the work and
    ends up that the job takes twice as long.!
    Sorry  if I am a bit dumb with informatics.  But I simply could not find
    any way whatever to  copy the PDF file that was transformed into Word, in a
    format that would enable me to edit it.
    Kindest regards,
    Margery
    2013/12/2 Test Screen Name <[email protected]>
        Re: How to get PDF file that has been transformed into docx into my
    filing system so I can work on it???
    created by Test Screen Name<http://forums.adobe.com/people/TestScreenName>in *Adobe
    ExportPDF* - View the full discussion<http://forums.adobe.com/message/5890871#5890871

  • Why is my audio recording that has been burnt to CD-R not playing on other audio equipment - its says no file or cant play.

    Why is my audio recording that has been burnt to CD-R not playing on other audio equipment - its says no file or cant play.
    What is the correct steps for burning the CD. I followed the help guide and done excatly what is said.
    Can someone please help?
    Thnks.

    did you burn it as a CD for audio CD players....or as a data disk?  big difference.
    Also could be the media type (seen that issue endless times)....... try a diff. CD media.  There are countless burn layers and CD blank media, no player or burner on earth can read or write to them all.
    burn another blank CD to make sure it wasn't a bad CD,.......reject ratio on bad CD and DVD is about 5-15% depending on type.
    Ive burned enough reject DVD and CD to fill a house

  • What can I do about an iMovie app I downloaded that has been "loading" for over 30mon now?

    Hi all. I'm new to Apple and don't know what to do. I downloaded apples free iMovie app onto my iPhone 5c wig iOS 7.04. Even though that was over 30min ago now, the desktop icon for the app still says that it's "loading". What can I do to delete it? When I click on the loading icon it just pauses it. Thanks for any help out there in appleland!

    See if you can download it as a previous purchase in iTunes on your computer (http://support.apple.com/kb/ht2519), then sync it to your phone.

  • Changing the value of a parameter that has been passed into an SSRS 2008 R2 report

    I support 200+ reports that all use stored procedures and have many drill downs with built in URLs.
    I want to do the below to avoid creating a brand new parameter that I will have to add to literally hundreds of places.
    We have what I'll call Param1 that receives a value from the user.  That Param1 is passed to the stored procedure(s) for the report and also embedded in any Action URLs for drill downs to other reports from that report.  All works great.
    Now I have a need to concatenate a string to whatever value they supplied which provides context for the environment in which they are running.  The reason I want to do this instead of creating a new parameter is because I need this in all my reports
    and as stated above I would have to make 100s of changes to make that happen.  If I can figure out a way to concatenate a value to the existing Param1 value I can greatly reduce the number of changes.
    I can't seem to be able to find a way to modify the value on an existing parameter that is passed into the report prior to report execution.
    I get an error when I simply try to concatenate something to the parameter in its Default property.
    I can't find a way to update a parameter value in the Report Code block.  There don't appear to be any methods available on the Parameter Collection to set the value of a parameter.
    Any ideas?
    Thanks!
    Nathan 

    Create a new parameter. Mark it internal, set it's value by expression to:
    =User!UserId+"MyNewValue"
    and pass it to the proc?
    Don't forget to mark helpful posts, and answers. It helps others to find relevant posts to the same question.

  • How to highlight an html page that has been loaded in an JEditorPane

    Hi,
    I am creating a small application that loads an html ebook and the user will be able to highlight some phrases or words and then save the ebook. In my first step I just want when I load again the ebook the highlighted phrases to appear again. In my final step I want to create a file with the changes and when the ebook loads to combine the files to appear like the user has made it.
    So please help first how I can highlight the words and in general if you can give me some hints how I should work to get the application with the way I want.
    Thanks in advance

    That number looks up to this:
    Everymac.com: Apple Power Macintosh G4 400 (AGP)
    AGP refers to Accelerated Graphics Port. Those models were a replacement for the earliest G4 tower model, which had only a PCI graphics slot. They were long-lasting and solid, until Apple added the second processor in the Mirrored Drive Doors model and Heat and Cooling issues became a serious problem. But do not ever power it up without the processor heatsink in place.
    After you replace the battery, the PRAM can remember. But What it remembers is garbage. You should attempt to reset the PRAM.

  • How to "Favourite" a Photo that has Been IMPORTED INTO THE PHONE?

    Hi,
    I recently switched from iPhone 5 to iPhone 5s. Using iPhoto and Image Capture on my Mac, I saved all the photos into a Mac folder. Then, I used iTunes to import these photos into my new phone. However, I have noticed that the little heart/favourite iconic my photos does not appear on the old photos, however, it does appear on the new photos. How do I fix this? Also, is there a way to backup photos to iCloud so that I can import them into a new phone without much hassle?
    - Sandy Wood

    This isn't working for me. I can't drag another one either. I've tried restarting to no avail...any ideas?

  • I recently got bought an Ipod touch 2nd Generation, and I want to transfer music from a CD that has been Imported into Itunes, yet it dosen't then show up that i have downloaded the music....why is this and how do i fix it?

    I really need help with downloading music from a CD that was imported to Itunes, bt is not showing p in my Ipod Touch's music....please somebody help!

    Sorry, no this didnt solve my question i pressed a wrong button.....
    No i havent synced music before...yes they do play in Itunes
    Also, when I am connecting itm it isnt connecting or showing up that the device is connected
    Message was edited by: MollyMeyer1998

  • How do you rearrange photos that have been loaded into Iphoto?

    How do you rearrange photos in Iphoto on the new Ipad?

    Step 1 : Plug your ipod touch to your computer
    Step 2 : create a folder on finder and name it whatever you like. leave it empty
    Step 3 : go to photos tab under devices, your ipod name on itunes
    Step 4 : check "sync photos from" and choose your empty folder
    Step 5 : click apply on the lower right corner in itunes
    Step 6 : if you don't want any of your photos in your computer to be synced, uncheck the "sync photos from" and click apply
    Step 7 : if you want some of your photos to be synced, choose the folder you want to be synced and click apply
    hope this answer help

  • Adjusting a photo that has been placed / place

    Hi, I "placed" a photo into a template I'm working with. I no longer have the photo on my hard drive. Is there a way to make adjustments to a photo / resize it that has been "placed" into a dropzone? I'm working with a PSD file still.

    What version of Photoshop?
    If it's a Smart Object, just open it and edit.
    Or use Free Transform to change the size/shape.

  • Does an adobe reader read the Adobe acrobat document that has been downloaded from a web site

    I am having trouble opening anything that has been downloaded into a adobe acrobat document . I am wondering if I am suppose to have an Adobe reader to read it and why is it not  being read because it is not a supported file type or because  the file was damaged sent as an email attachment  and wasn't correctly decoded. I am not very computer illiterate and don't understand what I need to be able to get a embroidery designed sent to my computer and be able to open it up.?

    Hi Adpdfacct808,
    PDF is the document standard that you are trying to read. If you have Acrobat installed then you can open the pdf with Acrobat to read it.
    What error do you get when you try to open the document?
    Regards,
    Rave

  • Joining a movie together that has been split

    Hi,
    I have a movie that has been split into 40 or so files ending .r01 to .43 the movie is in xvid format.
    How can I get tthe files together and play/burn onto CD?

    Hello Glasgow Bhoy
    Post this question to a Roxio Toast Support Forum. They might be able to help you. iDVD will not help you in this particular situation. Nor will iDVD burn anything to a CD (only DVD's). Hope this is helpful and good luck.
    http://www.roxio.com/enu/support/default.html
    SDMacuser

Maybe you are looking for