How the music loop?

Hello! I use this script for my actionscript layer attached to my music button.

var mysound:Sound = new Sound();

var pause_spot:Number = new Number();

pause_spot = 0

mysound.attachSound ("discomusic");

mySound.Start(pause_spot,99);

pause_btn._visible = true;

play_btn._visible = false;

pause_btn.onRelease = function() {}

pause_spot = (mysound.position/1000);

mySound.Stop ();

pause_btn._visible = false;

play_btn._visible = true;

}

play_btn.onRelease = function() {}

mySound.Start(pause_spot,99);

pause_btn._visible = true;

play_btn._visible = false;

}

I am using actionscript 2 incidentally...

but when the music stop, he need in the Middle until the end of the song over and over again, how can I loop back?

Thanks in advance.

use:

var mysound:Sound = new Sound();

var pause_spot:Number;

mysound.attachSound ("discomusic");

mySound.Start (0);

pause_btn._visible = true;

play_btn._visible = false;

{mysound.onSoundComplete = function ()}

mySound.Start (0);

}

pause_btn.onRelease = function() {}

pause_spot = (mysound.position/1000);

mySound.Stop ();

pause_btn._visible = false;

play_btn._visible = true;

}

play_btn.onRelease = function() {}

mySound.Start (pause_spot);

pause_btn._visible = true;

play_btn._visible = false;

}

Tags: Adobe Animate

Similar Questions

  • How do I loop a video on the Apple TV 4?

    And if I can't do that can I loop a video music playlist as I did on TV3 Apple? Thank you.

    I found the answer to my question!

    Here's how a video loop on Apple TV 4:

    1. Add the video to your iTunes library: fichier→Add library

    2. right click on the video in iTunes and select information.

    3. click on the Options tab. Select music videonext media Type . Click OK.

    4. on the left side of iTunes, find music videos and click on it. Double-click on the video to play. Search for controls in the Menu bar and scroll down to repeat, and then select a.

    5. in iTunes at the top, next to the volume slider, you will see a rectangle with a triangle bottom. Click on this icon and select Apple TV.

    The video will play and loop through the Apple TV!

  • CS6 hearing: how install or use beds extra sound effects/music loops/music?

    I downloaded a bunch of music loops, beds and effects here. How can I install or use extra loops sound effects/music beds?

    Thanks in advance.

    The installer décompacte the files and that's it. For what is actually using them - well they are audio files... you would use them all in same manner as any other audio file.

  • I recently downloaded my favorite CD music in my I tunes library, how can you transfer this music on a USB Flash drive so that I can play the music through my stereo system H D - Bike. I'm 10 Windows on my PC

    I recently downloaded my favorite CD music in my I tunes library, how can you transfer this music on a USB Flash drive so that I can play the music through my H D - bike

    stereo system.

    I'm 10 Windows on my PC

    Select the songs in iTunes, let them slip into a file Explorer window showing the flash drive, drop.

    TT2

  • In the music library, how can I get my songs to sort alphabetically by song, not an artist?

    In the music library, how can I get my songs to sort alphabetically by song, not an artist?

    Go to settings > music > songs of sorting & Albums and select by title. Should be good then.

  • I bought hundreds of dollars of music from iTunes over the past years.  My old computer died.  I have a new computer.  I don't know how to do neither iTunes nor any of the musice on my new computer.  I'm old (70) and cannot

    Don't tell me that I don't know how to ask a question.  I don't really have.  My question is, is there someone or something out there that can make me my music on my new computer?  I had everything buy once in the past.  I'm not inclined to do it again.

    Here are the steps:

    • You say that you have a new computer.  I guess that's literally true, and so it has the latest operating system.
    • Open iTunes if you have it on your computer.  If you don't have iTunes, download it from http://www.apple.com/itunes/download
    • Use the iTunes menu to navigate to account > Sign In and sign in with your Apple ID.
    • Go to the iTunes under the "Music" setting store
    • Click on the link 'Buy' on the right side.
    • Go to the "not in my library" tab.
    • From there, you will be able to download all the music you have previously bought in iTunes.
  • How to move or rename the music folder?

    I have a 50,000 ranked songs and thousands of podcasts, mixes, music videos or applications.

    I understand that the so-called gel and iTunes questions all trolling are down to a large enough or maybe completely stupid thing that is the 'keep the organized library option '. That doesn't make a sense, is impossible to run (it would take days, and of course, it freezes the whole computer), put the files where you didn't ask whether they are and then don't know how to recover.

    Because I am enjoying a summer break, I clean my readers and so I decided to do a cleanup, rename and move my music folder that contains all my music classified by artists alongside the iTunes folder.

    Fortunately for me I have zero confidence for Apple, as they were ISIS, so I hold the number and the location of the files because I realize that of course when a play one music it plays very well because itunes detects the song even though she move which it is supposed to do with finder file system.

    But then I restart iTunes to test and here you have this infuriating, incomprehensible problem "song not found" with all my songs, and even if I indicate the new positioning of the library this shit of iTunes is unable to find the songs and it will probably take years to re-index, as iTunes was even able to this without * computer.

    So: How can I move/rename my file without iTunes * up to the library and the paths of the music? Or is there any decent replacement for this * software yet? I have a lot of things and people to manage just in music, even if I used it for 15 years I don't have the patience to endure this * voluntarily, Apple seems to make it worse every update, more.

    See make a library of portable split.

    TT2

  • How can I find the music marked with an exclamation point in my itunes library?

    How can I find the music marked with an exclamation point in my itunes library?

    Hello there rdgernnr!

    I certainly don't want to find the songs that show the "!" and get them to play correctly. If you have not yet done it, read this article: If you see an exclamation point next to your items in iTunes - Apple Support

    More precisely:

    Correct the path of the media file

    Follow these steps to help find the correct location of the file iTunes media:

    1. In iTunes on your Mac or PC, select the song, album, movie, or television show that has the exclamation next to him.
    2. In the MenuBar at the top of your screen, computer or at the top of the iTunes window choose Edition > read the information.
      If you are using Windows and you don't see the menu bar, Learn how to turn it on.
    3. When you see a message asking if you want to locate the file, click search.
      • If you know the location of the file, point to it iTunes and try to read your content.
      • If you do not know the location of the file, search for it:
        Mac: Press ⌘ and space control your keyboard, and then type the name of the movie title, app, song, album or artist.
        Windows: Press the Windows on your keyboard, and then type the name of the movie title, app, song, album or artist. If your keyboard does not have a Windows key, press the Escape (Esc) and control (Ctrl) on your keyboard.
      • If the file is on a network drive or external, plug on the volume of disk or external network.
      • If you find your objects in the trash or recycle bin, restore them to their previous location:
        Mac: Control-click or right-click on the item and choose put back.
        Windows: Right-click on the item and choose restore.
    4. Once you retrieve the file, use Get new Info to locate the file, and then point iTunes to the correct location.

    See you soon!

  • my air ipad storage is almost full. How do I purge of the less important items? Y at - it app to serve the music and pictures in double?

    My air ipad storage is almost full.

    How do I purge of the less important items?

    Y at - it app to serve the music and pictures in double?

    How can I keep on my ipad apps that are shared by other devices?

    First, have you checked when most of the storage used for?

    Check your storage space on your iPhone, iPad and iPod touch - Apple Support

  • How to recover the music Apple folder in iTunes?

    I just nuked my Mac and copied my username on an external drive first folder.

    Music bought and torn is in place but I can't the files downloaded music Apple back on the computer. It seems that it is something, but the number of songs does not change. I am connected to my iTunes account. Probably missing something really obvious here.

    Any ideas?

    Hi, Nick Holmes,.

    Thank you for using communities of Apple Support.

    I see that you are missing the musical content of Apple on your Mac. I am a member of Apple's music as well, so I know how it is important that we get this resolved so that you can enjoy all your music. I'll be happy to help you with this.

    Make sure that show music Apple is checked and enabled, and that you are connected to the music library to iCloud by following this path: iTunes > Preferences > General. Read this article here for more information:

    Music Apple Sync on your iPhone, iPad, iPod touch and your computer

    Additional information on the support Apple music site below can be found:

    Support for Apple's music

    Good listening!

  • How to stop the music in the iOS download

    How to stop the music in the iOS download songs? I accidentally clicked (stupidly) songs to download all the purchased. It will take some time and fill out my iPhone with music. I tried restarting and that did not help. It is also a priority on updating apps from the App store. I use the latest version 9.3.2 iOS iPhone 6.

    Thank you

    I will try to put the device in Airplane Mode, then signature of the iTunes and the App Store. Then try to disable airplane Mode. While you are not connected to the iTunes Store, you should not try to download on the phone once you turn it off airplane mode.

  • Can I loop a playlist in the music?

    I have a program tomorrow where I need a loop at all times a Playlist of the songs of the birds. I did some research online and find answers on how a single song on a loop, how a video loop and a loop in iTunes, but nothing on the way to a playlist on my iPad in a loop. Is it still possible?

    How I normally looped a playlist is the addition of the playlist next a bunch of times. So add a certain number of times how long he needs to last and how long the playlist in fact

  • How can I transfer only the music I want?

    Hello.

    Our iMac iTunes is full of music for the whole family. How can I transfer only the songs I want on my iPod and my iPad?

    Second...

    When connecting from my iPad to my iMac USB cable the iPad goes into sync mode and transfers all sorts of things on the iMac and gets things from him. All I want is to transfer my music? How can I do this?

    Create your own playlists in iTunes.

    Connect your iDevice to the iMac - in the main iTunes window select your iDevice - menu drop-down upper left box located to the left of the music-movies, etc.

    You will see a list of 'Settings' for this device - select a tab and check the boxes of what content you want on your device.

    Also in the Group of settings select 'Summary' - from there, in the 'Options' section, you have a few additional items to choose from.

    MJ

  • I have a partitura with 18 instruments. Problem is that only 16 of the sheed. How can I vertically down the music?

    I have a partitura with 18 instruments. Problem is that only 16 of the sheed. How can I vertically down the music?

    Make a score set with 18 all instruments. Then use the scale parameter set score to all fit on a single page.

  • How can I cancel my subscription to the music of Apple?

    How can I cancel my subscription to the music of Apple?

    View, change or cancel your subscription - Apple Support

Maybe you are looking for

  • How to remove documents and data in the iphone app podcast 6

    I know how to remove each podcast, but how do I remove "documents and data" in the application of podcast?  I have more than 4 GB of data and documents.

  • Error messages on both Mac and iPod activation

    Hello Suddenly, I found that I can not connect to iMessage from anywhere. Last post, I sent with success was Saturday and discovered the problem Monday. The problem persists. I use an iPod Touch 5 Gen with iOS 9.3.2 and El Capitan 10.11.5. I've seen

  • The internal memory of the computer when using iTunes.

    Anyone know if I add a movie or a song on iTunes and remove it from the computer, it still occupies the memory of the computer? Thank you for your help.

  • MOTONAV does not not on Motorola Milestone

    Hello I am facing problems with Motonav since I bought my new Motorola Milestine go back a month. 1. when I launch Motonav, I get error as "your free trial will expire in 0 days" it also gives me the option to enable. 2. the source destination always

  • Upgrading RAM gives the Blue error screen.

    Original title: tried to grade until my memorey: 256 MB in the two slots to 2 1gigs RAM but keeps giving me a blue screen can anyone help im using a dell dimension de051 cpu 2'53 ghz intelceleron had 2 256 MB of ram installed ddr I tried up to grade