Song loop from particular time

Ok,
I think this is something easy, but I dont know what to use.
I got a song that I cut at 54.4 sec and after the first
complete play I want this song to loop from 11.95 sec to the end!
Is there a way using action script or using a movie clip with
the song inside(cause I tried to put a gotoandplay to a particular
frame at the end, but it begin the song from the beginning)
thanks a lot in advance

Use the Sound class. Let's say your song is named mysong.mp3.
Once you import it into your library, select the icon in the
library, and choose linkage (right click on the icon) and then
click Export for ActionScript and Export in first frame. Name it
something (for this example we'll name it mysong). Click OK.
Then on your main timeline, enter the following code:
my_sound = new Sound();
my_sound.attachSound("mysong");
my_sound.onSoundComplete = function() {
// first parameter is the number of seconds the sound is
offset, the second parameter is the number of loops
my_sound.start(11.95, 99);
When you want to start the sound the first time, add this to
your frame or button code:
my_sound.start();
Study the other methods and properties of the Sound class.
This gives you a lot more control of sounds than placing them on
the timeline does.
Good luck,
Albee

Similar Messages

  • I downloaded music to my iphone and when I went to go sync it up to itunes, I lost all of the songs purchased from that time until the previous time I backed it up. How do I recover these purchased songs that have been lost?

    I downloaded music to my iphone and when I went to go sync it up to itunes, I lost all of the songs purchased from that time until the previous time I backed it up. How do I recover these purchased songs that have been lost?

    All of your music should be in itunes on your computer.
    Select it to sync and sync.

  • Stop song at a particular time second

    at get info - options - start and stop songs i put in the second when it shud start and the second when it shud end - yet whereas the start command is obeyed, the stop command is ignored, the somng goes on playing till the end
    can you help here ?

    Yup, you're probably waiting for dbms_output, just like I now do.
    The loop finishes within your 30 seconds.
    Try a lower limit, like 2 or 3 seconds.
    Another option is a resource limit, for example, on CPU Time: Managing Security for Oracle Database Users

  • How to stop while loop for particular time

                    public void test()
                   new Thread(new Runnable()
                        public void run()
                             //Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
                             System.out.println("test");
                             //System.out.println("test ..."+i);
                             try
                                  Thread.sleep(3000);
                             catch (InterruptedException e)
                   }).start();
            public void startTest()
                    while(i < marquee_Str1.length)
                   marLbl1.setValue(marquee_Str1); //set value to textbox for perticular id
                   marLbl2.setValue(marquee_Str2[i]);
                   marLbl3.setValue(marquee_Str3[i]);
                   test(); // call thread function
                   i++;
    in this code while loop don't stop
    plz help me to stop while loop for certain period by using thread or other technique                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Yes.. the original problem would be your test() method put the sleep in an entirely separate thread of execution. So the thread is created then the method just keeps waiting. The while loop should directly call Thread.sleep... which you have apparently figured out!

  • Ive had my iPod classic for some time now, and up to now have been using my laptop to sync songs from iTunes.  Unfortunatley, the laptop has died and I'm thinking of buying a iPad.....but how do i now get any songs downloaded from iTunes to my iPod?

    I've had my iPod classic for some time now, and up to now have been connecting it to my laptop to sync any downloaded tunes from iTunes.  Unfortunately, the laptop has died and I'm thinking of buying a iPad.....but how do I now get any songs downloaded from iTunes to my iPod?

    If an iPod is set to update automatically it will be associated with a particular library. If you connect that iPod to a different computer or a different library on the same computer you get the the message you are referring to. "The iPod "iPod Name"is linked to another another iTunes music library. Do you want to change the link to this iTunes music library and replace all existing songs and playlists on this iPod with those from this library". To use an iPod on multiple computers you change the update method to "manually manage songs and playlists". You can also use multiple iPods on a single computer so you will be able to connect both of your iPods to your existing iTunes. Connect the new iPod and follow the on screen instructions, iTunes will open and update your iPod.
    For info:
    The iPod offers three ways to transfer music from your computer. You can select one of the following update modes from the iPod Preferences menu in iTunes (Edit=>Preferences=>'iPod' tab):
    1) Automatically update all songs and playlists. This is the default mode, in which your entire music library, including playlists, is automatically synced to your iPod. If the music library on your computer exceeds the iPod storage capacity, you are prompted to select a different update method.
    2) Automatically update selected playlists only. With this option, iTunes automatically copies the playlists you have selected to the iPod when you connect it to the computer.
    3) Manually manage songs and playlists. You can also choose to transfer music to the iPod manually. This allows you to drag and drop individual songs and playlists from iTunes to the iPod.

  • HT1849 After I delete songs manually from my iPhone 5s, when I try to pick a song, it will not chose that song but some song above it.  How far up depends on how many I've deleted.  How can I stop this so I can pick the correct song the first time?

    After deleting songs manually from my phone, (say, I have a song on there twice and only want one or I realize I don't want a song on my iPhone) when I try to manually pick a song in the music app on my phone, the song that plays will be one that is a number of songs above the one I chose.  If I delete a number of songs, it may be four or five songs above the one I want to play.  It continues after I sync it in iTunes.  How do I stop this?  Thanks,  Gregg

    Hi Gregg,
    Have you tried resetting the device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the Home screen redisplays, see if your Music app is behaving normally.
    Cheers,
    GB

  • HT4914 I often record songs at a particular tempo, iTunes Match will then match it and send it back to me at the original tempo, is there anyway I can stop some songs from being matched. At the moment I have turned match off. But I would like to sync play

    I often record songs at a particular tempo, iTunes Match will then match it and send it back to me at the original tempo, is there anyway I can stop some songs from being matched. At the moment I have turned match off. But I would like to sync playlists.

    How old was this backup? It sounds like it was at least several weeks old.
    You can look directly in the TM backup for the music.
    1. Connect to the external HDD the backup is kept on.
    2. Open a Finder window and select the backup drive in the left hand panel. Double click into the folders until you see a list of folders with dates.
    These are the incremental backups. You can start at the top or the bottom of the list but I suggest you double Latest/<HDD Name>/Users/<Account Name>/Music/iTunes/iTunes Media/Music. From this location you can start looking for the "missing" music. When/if you find it you can simply drag-n-drop to ~/Music/iTunes/iTunes Media/Music on the internal HDD.
    If the music is actually not in the backups (for whatever reason) then you've got a problem.
    You can download the uploaded files from the cloud by deleting the affected tracks from the iTunes library (but not the cloud!), highlighting multiple tracks at once, right-clicking and choosing "download."

  • I sent iTunes to trash. I was able to recover the program but have to "put back" songs one at a time. Is there any way to put back from trash using the "select all" command?

    I sent iTues to trash by mistake (trying to delete files from "yesterday"). I got the program back but have to "put back" songs one at a time. Is there a way to put back multiple songs using the "select all" command or anything else? Thanks for the help.

    The prgram is in one location and the library (media + library files) are in another. Sending it all to the trash would take some pretty delibrate multiple actions and digging through multiple folders, so I don't know how this was managed unless there's something in Snow Leopard that's new. Occasionally I have moved a file to the trash in Finder that I didn't want to and I can use Finder's "undo" to undo the last move. With many files...?

  • Everytime I try to download a song purchase from itunes I get the error message. 'Unable to Download Song' could not be downloaded at this time. I cannot even sync with itunes on the PC.

    Hi guys,
    I need some everytime I try to download a song purchase from itunes I get the error message. 'Unable to Download Song' could not be downloaded at this time. I cannot even sync with itunes on the PC.
    Kind regards
    Ian

    One correction, from the icloud I was not able to listed to the entire song.  So when you purchased the song if it wasn't downloaded to your library, chances are you have lost your opportunity to listen to it.

  • HELP... creating loops from full length songs

    Hi there... I am an ex-ACID user and am trying to use logic express in the same fashion. I have figured out how to do basic editing functions, but I am not sure how to create a loop from a portion of a song i have edited. Ex: if I clip 1 Eight count from a song and want to make it a loop, how do I get logic to know that it is 8 beats? That way I can just drop it onto a track and it will conform to the full project's BPM rate. Any help would be sooooooo helpful!

    I have not done this, but you should look up in the reference manual about creating Apple Loops - that's the format that will actually change tempo with the song's BPM, etc.
    If you don't need to change tempo, then you can just drag the top right corner, and it will make loops automatically.

  • How to make a smart album from a particular time zone?

    I would like to make a smart album that contains photos taken in a particular time zone. But I could not find out the way to add a rule to read time zone information. Could anyone tell me how to retrieve the time zone information from the filter panel of Aperture 3?

    to add a rule to read time zone information.
    I could not find any metadata tag in aperture, that contains the Time Zone and is readable in the smart settings HUD.
    Yu could try it indirectly - since the Time Zone is widely determined by the longitudes of the eastern and western boundaries of the zone, you could check for these longitude values, if your photos are geotagged or have Places assigned.
    For example, to find the timezone of UTC+1 use these settings:
    EXIF > Longitude is in the Range of: 7.7 to 22.5.
    Depending on the countries, you may need to combine this rule with latitude rules as well or make a rule that simply uses the country names from the places tags.
    For which timezone do you need the rule?
    http://www.timeanddate.com/time/map/

  • Downloading Media Files from server daily at a particular time on a day

    Hi to All,
    Actually I am building an application which downloads all the
    media files from the server(includes both video and images) after
    the download is complete. I will start the slide show of the
    downloaded media files accessing them m locally.
    ow my problem is I have to download all the media files once
    in a day at a particular time on a day from the server(The time is
    set in backend).
    I can acheive this by running a process and connecting to a
    server. But if I close the application window how the process can
    run and how it can download media files from the server daily.
    Is there a way so that I can create two applications one for
    downloading the media files from the server which runs always and
    runs in the background. Another one is my main application which
    displays the media files that are downloaded and saved in the local
    filesystem.
    All suggestions are appreciated.
    Thanks.

    From what I have read you have two options.  None of them very nice.  One , allow the user to select the files he would like to download , send them out as one fat daddy zip file.  The second option is to cue up the selected downloads.  When one finishes , the other starts , basically daisy chaining them together.  However , you may be able to use javascript to get around this , I'm not sure I stay away from that stuff.

  • How to exit from loop after 3  time

    hi
    how to exit from loop after 3  time
    loop at itab.
    <exit after 3 time>
    endloop.
    thanks

    Hi,
    You can check the value of SY_TABIX inside loop,
    For Example:
    Loop at itab.
    if sy-tabix  = 3.
    Exit.
    endif.
    Endloop.
    Hope it helps
    Regrds
    Mansi

  • Bought 2 songs at the same time from iTunes store - only one plays

    Bought 2 songs at the same time from iTunes store - only one plays. I emailed support who then said they didn't do support and sent me to an article that didn't help.I tried deautherizing my computer then reautherizing it. Who do I contact and what happens if you get a song that doesn't play ?

    anyone?
    PowerBook G4 1.67 GHz Mac OS X (10.4.7) 1.5 GB ram

  • Why do songs keep duplicating in my Library. One song has duplicated five times. If  I delete the unwanted duplicates will it delete the song entirely from my library? How do I get the four unwanted duplicates out of my library?

    Why do songs keep duplicating in my library. One song has duplicated five times. I have many that have duplicated up to 3 times. How do I get the duplicates  out of the library without removing the song completely?

    As above, Apple's official advice on duplicates is here... HT2905: How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background, this post for detailed instructions, and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed.)
    The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to and should cope sensibly when the same file has been added via multiple paths.
    tt2

Maybe you are looking for