How do I stop the Animation loop?

What I'm trying to do, is make sure loading my home html-based page, the logo is lively and makes a sound. When the sound is complete, the logo should stop hosting and be static for all other pages. I have the logo as a .png already on the page and would like people to be able to see the static logo without flash.

How can I;
(a) mark the stop animation when the sound is completed (currently it loop a piece of sound and animation loop)
(b) make the flash animation appear to be those with flash and the .png to those without?

I don't know if it's relevant, but animation is a glow with the ActionScript 2.0 and the sound is something that I imported to a second 'layer '.

I download your file and make a few changes. You can download the modified file
here. (I'll delete it tomorrow)
You put your sound on a layer - that's why he plays independently. You must set link for object Intro in the library, attach its object of music and then read it. (Or you can remove the library Intro and plays as flow of your server)

Music = new Sound();
music.attachSound ("intro");
Music.Start ();

That's all!

If you want to stop the animation on a particular phase, do not stop it here:
music.onSoundComplete = function()
{
_root.box_mc.onEnterFrame = null;
}

but he just set a flag and stop the animation inside the onEnterFrame function.
music.onSoundComplete = function()
{
flag = 1;
}
and inside onEnterFrame - set something like:

If ((box_mc.blur > = 30) |) (box_mc.blur<= 4))="">
if(flag==1) this.onEnterFrame = null;
}

Tags: Adobe Animate

Similar Questions

  • How do I stop the animation to a certain slice?

    Well, as the title suggests, how can I stop my animtation to a certain range. Is it only possible cause implementation of a timer, or also can enter a code that stops at a certain range?

    And when I stop the animation, my buttons will always be able to get clicked?

    Greetings,

    Coyke

    Well, as the title suggests, how can I stop my animtation to a certain range. Is it only possible cause implementation of a timer, or also can enter a code that stops at a certain range?

    Here's what to do in general:

    addEventListener(Event.ENTER_FRAME, onEnterFrame);
    
    function onEnterFrame(e:Event):void {
         if (currentFrame == 200) stop();
    }
    

    And when I stop the animation, my buttons will always be able to get clicked?

    If the button is on stage on the frame - it will be available to the interactions.

  • How to stop the Animations of Chrome

    How to stop the animations in Chrome? We're wasting resources and slow down the user interface, especially when the user interface is already slow due to the nature of Firefox non-multitraitement. It is like throwing cement on a turtle.

    The animation of the tab bar has a pref browser.tabs.animate related to this and can be set to false.

  • goes into infinity "tabs" loop when I type any email 'Contact us' button how can I stop the loop?

    goes into infinity "tabs" loop when I type any email 'Contact us' button how can I stop the loop?

    You use a Mac, or you're on another platform?

    Any other use of platforms:

    • Mac: Firefox > Preferences
    • Linux: Edit > Preferences
    • Windows: Firefox > Options

    Press F10, if the menu bar is hidden under Windows and Linux, or use "> Firefox Options/preferences.

  • How can I stop the looping SOUND?

    Newbie here.

    I created a movie that makes a loop at the end of the last image. I have a built-in Sountrack'u which exceeds the sum of the last frame of the movie. When initially film loops, another copy of the audio clip starts playing on top of the initial melody (MP3). How can I stop the audio clip to restart when the movie back surrounds? I want just the 1st copy of the sound at the end and STOPS when the fact... or restart... I don't want it to start on top of itself...

    Cody21,

    > How can I stop the audio clip to restart when
    > the movie back surrounds? I want just the 1st copy
    > the sound at the end and STOPS when the fact... or restart
    > .... I don't want it to start on top of itself...

    Well, the sound is positioned in frame 1, probably, no? During the
    playhead enters frame 1, the sound goes off again. There are a number
    ways to configure your sound. Two basic methods are events and streams, which
    You can see the area of synchronization of the property inspector when you select the
    the frame that contains the sound. Event means that the audio load in memory all the
    at the same time and plays; Stream means that it has locked in step with the timeline.
    Stream means it does not start on top of itself - but it also means that audio
    stop when the timeline does.

    If your audio starts an image 1, I could see Adding a quick
    action gotoAndPlay (2) in the last frame of your timeline. Who would jump
    the playhead spent Framework 1.

    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • How to stop the Animation and Audio

    Hi friends,

    I created the animation with Audio scenario. My Question is less

    1. When I stop the animation of "sym.stop" () code Animation is stopped but no audio should be.
    2. is it Possible audio sync with flash animation.

    Can someone help me

    You must insert a pause in the timeline or add pause() methods in the code:

    • Select the sound element

    • SYM.$("music") [0] () .pause;
  • How can I stop the beach ball in safari in el capitan of spinning

    How can I stop the beach ball in safari in el capitan of spinning

    To start, please publish a report of Etrecheck: http://etrecheck.com

  • How can I stop the Firefox "remember" the password for a particular Web site?

    Usually, I like that Firefox remembered passwords. However, I don't want it to remember the password for my Yahoo email account. How can I stop the he remembering only this password, without losing other passwords remembers?

    You can use the following steps to delete the recorded data (form) in a drop-down list:

    1. Click on the (empty) input field on the web page to open the drop-down list
    2. Select an entry in the drop-down list with the mouse or the cursor key
      do not click with the mouse or press the Enter key
    3. Press the DELETE key (on a Mac: shift + del) to delete the highlighted entry

    See also:

    • Tools > Options > Security: passwords: "saved passwords" > "show passwords".

    Details such as websites to remember you (automatically log you) are stored in a cookie.
    So, you can erase cookies from Yahoo to Yahoo forget you, in the case where you put a check mark in the box to have Yahoo don't forget you.

    You can control and manage cookies for the domain currently selected tab:

    • Click the address bar onthe Site identity button"(globe/lock)
    • Click on 'More information' to open ' tools > Page Info "with the Security tab is selected
    • Click on "View Cookies" to view the cookies for the domain currently selected tab
    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".
  • How can I disable the animation when I'm on the home page of Firefox?

    I have Firefox as the page start page that appears whenever I run Firefox. But I don't like animations that always appear now that I've upgraded to 29.0.1 for Mac. (The shooting star and the animation of 'space invaders'.) They are distracting. How can I disable the animations?

    If you prefer not to see excerpts on the topic: home page, you can set the pref browser.aboutHomeSnippets.updateUrl an empty string on the about: config page.
    Delete the storage\moz-safe-about + House in the closed Firefox with Firefox profile folder (Firefox > Quit) remove the snippets stored in IndexedDB and use Firefox default value.

    You can use this button to go to the Firefox profile folder currently in use:

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)

    You can reset the browser.aboutHomeSnippets.updateUrl the default pref to reactivate the code snippets.

  • How can I stop the sharing of credit card on iTunes?

    How can I stop the sharing of credit card on the same itunes account. \ ?

    sharing with WHO

  • I get the pop-up Alexa Sparky everytime I open Firefox, it does not provide a 'no' option... How can I stop the popup?

    Whenever I open Firefox, I get a pop-up asking me to install the Alexa Sparky toolbar - which I don't want. The popup box does not offer an option to say 'no' or "do not ask me again", which is VERY annoying. How can I stop the popup?

    Hello jhart, this popup also appears when you start firefox in safe mode?

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • How can I stop the supprt Assistant

    How can I stop the suppport of HP running?  It's driving me crazy?

    Hello

    Please try:

    To disable checking for automatic updates:

    1. launch HPSA,
    2. click on Settings below on the left.
    3. click on the tab health analysis above,.
    4. Select do not check updates,
    5. click on OK.

    To turn off the auto focus:

    1. launch HPSA,
    2. click on settings in the lower left corner.
    3. click on tab optimization on high,
    4. click on the frequency.
    5. Select NEVER in the bottom of the list,
    6. click on OK.

    And finally do not start:

    1. Control Panel > administrative tools > Task Scheduler.
    2. Find HP Support Assistant
    3. You can play with it here (up to your decisions) under triggers

    Kind regards.

  • How do I stop the samba on lenovo iomega ez service

    How do I stop the samba on lenovo iomega ez service

    Hello mahmoud1,.

    There is no way to do what you are looking for.

    The main function of the NAS prevents this because it is essentially designed as a Samba file server.

  • How can I stop the last post showing when I want to send this person a new Imessage.  I have an Iphone 5s

    How can I stop the last post showing when I want to send this person a new Imessage.  I don't want an old conversation appears constantly when I am a Messenger contact.  I have an Iphone 5s

    I don't know, but let me see if I understand what you're asking. You do not want to see the thread you have with a particular contact when you go to send them another message? The only way to do this is to remove the previous message thread. If you send a message to someone that you already have a thread of conversation with, it will continue to post in this thread. There is no such thing as having multiple threads with the same person. All conversations with the same person would remain in the same thread, unless you remove the previous discussions. If you delete your previous conversation, when you go to start a new conversation, he won't have any of the other answers.

  • How can I stop the safari asking to save the password

    How can I stop the safari asking to save the password on the secure site. I can remove the login preferences, but whenever I connect it always asks me to save password. I have only the option to the above

    I would like to than safari to remember the login, but not the password.

    Billy

    Just a question Safari to automatically populate the data connection and not the password does not work. Connection data include the user name and password.

Maybe you are looking for