How do I stop the animation at a certain point after it has played part of it on a click?

I seem to be missing some key html knowledge on this! I have a drop down menu and when I click on the text on the navigation bar, I want an animation to occur (the menu to drop down) and then I want it to stop.
Here is the relevant code:
      Symbol.bindElementAction(compId, symbolName, "${_FishingTrigger}", "click", function(sym, e) {
         // Navigate to a new URL in the current window
         // (replace "_self" with appropriate target attribute for a new window)
         window.open("http://www.theriveroverlook.com/Packages/Fishing", "_self");
         // insert code for mouse click here
      //Edge binding end
      Symbol.bindElementAction(compId, symbolName, "${_CookingTrigger}", "click", function(sym, e) {
         // Navigate to a new URL in the current window
         // (replace "_self" with appropriate target attribute for a new window)
         window.open("http://www.theriveroverlook.com/Packages/Cooking", "_self");
         // insert code for mouse click here
      //Edge binding end
      Symbol.bindElementAction(compId, symbolName, "${_PhotographersTrigger}", "click", function(sym, e) {
         // Navigate to a new URL in the current window
         // (replace "_self" with appropriate target attribute for a new window)
         window.open("http://www.theriveroverlook.com/Packages/Photographer", "_self");
         // insert code for mouse click here
      //Edge binding end
      Symbol.bindElementAction(compId, symbolName, "${_GolfTrigger}", "click", function(sym, e) {
         // Navigate to a new URL in the current window
         // (replace "_self" with appropriate target attribute for a new window)
         window.open("http://www.theriveroverlook.com/Packages/Golf", "_self");
         // insert code for mouse click here
      //Edge binding end
      Symbol.bindElementAction(compId, symbolName, "${_RomanceTrigger}", "click", function(sym, e) {
         // Navigate to a new URL in the current window
         // (replace "_self" with appropriate target attribute for a new window)
         window.open("http://www.theriveroverlook.com/Packages/Romance", "_self");
         // insert code for mouse click here
      //Edge binding end
Symbol.bindElementAction(compId, symbolName, "${_Packages}", "click", function(sym, e) {
         // play the timeline from the given position (ms or label)
         sym.play("drop2");
NOTE: If I put a sym.stop ("stop3); here after the play, it stops the animation before it even starts.

My assumption is you are laying down this animation in main timeline (stage). It starts in frame "label=drop2" and it continues until frame "stop3". Maybe this one helps:
- scroll to the last frame of the animation. "stop3" i assume.
- Create a "Trigger Action" (the code window)
- Call the sym.stop() to stop the animation at this frame.

Similar Messages

  • How to stop the animation at a certain frame?

    Well, as the title already says, how can I stop my animtation at a certain frame. Is it only possible due setting up a timer, or can I also enter a code that stops at a certain frame?
    And when I stop the animation, will my buttons still be able to get clicked?
    Greetings,
    Coyke

    Thanks for the usefull reply, the problem was that i forgot the add a new keyframe that's why I couldnt make it in the frame I wanted.
    I will have between 15 and 20 buttons that need to be able to get clicked when my animation is stopped, I first imported them to my library, then placed everything where I wanted it to be. Then created them as a Symbol (Selected Button!). Then I created instance names for every single of them.
    With the code that's downstairs I want to let my animation go to frame 200 when I click on the button "Middenknop" while the animation is paused. But now i get this error:
    TypeError: Error #1009: Kan geen eigenschap of methode benaderen via  een verwijzing naar een object dat null is.
         at Animatie2_fla::MainTimeline/frame1()
    Here's the code I am currently using:
    import flash.events.MouseEvent;
    //---Middenknop eigenschap verandering---\\
    Middenknop.addEventListener(MouseEvent.CLICK, basisClick);
    function basisClick(event:MouseEvent):void{
        gotoAndPlay(200);

  • How to stop the animation at a certain frame using action script 3.0 .

    How to stop on a frame to stop the animtion using adobe flash cc.

    Either put a stop(); command in the desired frame of the animation's timeline, or have an ENTER_FRAME event listener working who's event handler function constantly check the currentFrame value of the animation and issues an animation.stop(); command when the desired frame is reached

  • How do I stop the Chrome Animations

    How do I stop the animations in the Chrome? They are wasteful of resources and slow down the user interface, particularly when the user interface is already being slow due to the non-multiprocessing nature of Firefox. It's like throwing cement on a tortoise.

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

  • How do I control the animation in the iframe?.

    hi everyone;
    normaly;i can stop animation by --> AdobeEdge.getComposition("id").getStage().stop();
    how can reach an animation in iframe  and stop it?
    How do I control the animation in the iframe?.

    Try wrapping the call in a bootstrapCallback function.
    AdobeEdge.bootstrapCallback(function(compId)) {
       var stage = AdobeEdge.getComposition(compId).getStage();
    -Elaine

  • HT5295 How can I stop the auto play feature automatically playing/streaming the next podcast?

    How can I stop the auto play feature automatically playing/streaming the next podcast?

    Hi there.
    I listened to podcast there were two things I found that helped me out. Both we're in the podcast app itself.
    Firstly change the default sorting order. When looking at the list off episodes a available on your ios device tap on the description part at the top, this will bring up the settings for that podcast (subscribe mark as played etc) scroll to the Bottom and select oldest first. This will mean that if you are listening to the latest download it will stop at the end as there will be no more to play.
    Secondly, and useful if listening to older podcasts in the list, you can use the timer to stop once the current episode has ended. To do this when you are in the podcast playback screen slide the "album artwork" up, revealing the playback options and nifty tape playing animation this is where you adjust playback speed and set a timer. The timer has a number of options to set playback to stop after set amount of time. However one of these options is to stop once the current episode you are listening to ends. This can also be current chapter if the podcast you are listening to supports chapters.
    Hope this helps, if not clear let me know

  • How can I stop the sharing on the iPhones that are in the same account because its sharing every thing even text messages

    How can I stop the sharing on the iPhones that are on my account because its sharing everything even text messages and its driving everybody crazy

    An icloud account is designed to be used by one user to keep his/her devices in sync. 
    If you have muitiple family members or friends using the same account as yours, then have them get their own Apple IDs and icloud accounts.
    If you mean you want to stop the sharing between all your devices, then on any one device, go to Settings>icloud and turn off the services you don't want that device to share/sync.  Or turn off icloud altogether if that's what you want.

  • I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    Hi,
    This feature is not available in Adobe Edge animate. You can not export as image from Edge animate.
    Publish options available in edge describe here
    Edge Animate Help | Publish your content
    Regards,
    Devendra

  • In mail how do we stop the e-mail's showing as read when you select them without opening the full e-mail

    In mail how do we stop the e-mail's showing as read when you select them without opening the full e-mail? I want to click on a mail and read this in the preview pane only without showing it as read.

    Not possible. In order to read an email in the preview pane requires opening the message. You can mark a message that you've read as unread after reading it.

  • How do I stop the Finder from seeing SMB (Windows) shares on the network?

    I have the OPPOSITE problem most people have -- Windows Sharing works TOO WELL.
    I've donated a refurbished eMac to the local homeless shelter. I figured I'd made the system secure, and prevented any monkey business. Turns out the windows machines on the network are COMPLETELY insecure (guest access to everything is enabled). The problem is that the Mac is TOO friendly -- it automatically connects to the server as a guest, and happily presents everything to the user.
    I've tried a dozen different things (I've removed the 'Shared' section from the sidebar in the Finder windows (Go->Network is still there, Doh.), tried to turn off File Sharing, and even disabled the mount_smbfs command in the /sbin directory with "chmod 0 mount_smbfs".)
    I've asked the folks there to call in a PC tech and fix their security problem -- but it's a good question to which I've found no suitable answer... How to I stop the Mac from connecting to SMB Shares on the local network?
    Thanks.
    -JD.

    Same problem, keep getting a pop up with connection failed you do not have permission to access the server. The server is a windows 7 box, Starting happening after an up grade to windows 7. Nowhere can I find how to stop trying to connect. I am sure its at the unix level of samba but what to do is another question

  • I do not use and do not want an iCloud account and I keep getting requests to sign in....how do I stop the request?

    I do not use and do not want an iCloud account and I keep getting requests to sign in....how do I stop the request?

    If you bought the machine new yourself, and did not enter a password when configuring it, leave the field blank.
    If you bought it used, then you need to reset the password, as described here:
    Apple Article to reset the password

  • How do I stop the message "user name or password for iCloud is incorrect" from popping up 2 times in a row when i try to get mail from other accounts? thank you in advance

    How do I stop the message "Cannot get mail. The user name or password for iCloud is incorrect" from popping up 2-4 times consecutively every time I choose MAIL on my iPhone 4,  7.1.1  I have to select "OK" 2-4 times each time before I can read other email accounts.  I used to have an "@me.com" account which I think was automatically changed to an "@icloud.com account."  I opened a new iCloud.com account yesterday because I could not figure out how to get in the old ones.  I want to delete the original @me & original iCloud account.  When I try to delete the account, they tell me my DOB is wrong. I just want those pop ups to stop.  Thanks in advance for your help.

    Hi Suzanne,
    It sounds like you’re running into a password issue with an older Apple ID that’s setup on your iPhone, which is preventing you from removing an iCloud account from your device. Take a look at the article linked below, it outlines all of the possible ways to change an Apple ID password.
    If you forgot your Apple ID password - Apple Support
    After you enter your Apple ID, there are three ways you can change your password:
    Answer your security questions. Use these steps if you know the answers to your security questions.
    Use email authentication. We'll send you an email that you can use to change your password.
    Use two-step verification. If you set up two-step verification, you can use it to change your password. You just need your recovery key and a trusted device.
    So long,
    -Jason

  • How I can stop the combo box with list of values from fireing validations

    Hi I'm using Jdeveloper 11.1.2.3.0
    Using Hr Schema employees table
    I Display employees data in af:table
    and I make List Of values on Department_id filed to easy change the employee department
    and another one on Job_id filed
    and Imake them UI Hints as ( combo box with list of values ) in the employeesVO
    the problem is when I Select a value from department or jobs ( combo box with list of values )
    fires the entire filed validations for mandatory atributes
    Note : the af:table Property ( contedelivery) is set to (immediate )
    How I can stop the combo box with list of values from fireing validations

    check it out.,
    http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html

  • How can I stop the flickering/juddering that appears on my iPhone 5's screen?

    How can I stop the continuous flickering/juddering that appears, usually after I switch Wi-Fi on, on the screen of my iPhone 5? It has only started occurring since I updated to iOS 7.0.3. Thanks.

    It's happening continuously now!

  • How do you stop the flash player when you change pages on a web site

    Hi all;
    I'm building a website in flash using my limited understanding of action script.  Everything was progressing very well until I found that if I go to one of my example pages of my web site and play the flash video (with audio) and click back to my "home" button, the audio will continue to play.  If I go back to the example page, the video is off and when I start the video, it plays again with the other audio.  I hear the audio twice! I know there is an action script to handle this but, I can't figure it out.
    My question is, How do I stop the audio when I click away from the example page back to the home page or any other page?
    Thanks in advance for your help.
    I'm usinf Flash CS4 and a Mac OS operating system.

    The problem is most likely in your Action Script. Therefore this question should be posted in the Action Script forum. This forum only deals with the Flash Player, which, in this case is running the script as it is written, and therefore, working properly.

Maybe you are looking for

  • Problem with spool request generation in Dialog program

    Hi,     To give the spool and print functionality in dialog program i have used the function module code like below - call function 'GET_PRINT_PARAMETERS'       exporting            mode                   = ' '            in_parameters          = ls_

  • Change Secondary Language In SMLT

    Hi, I have Import the DANISH Language with Supplementation Language ENGLISH. It is recommended to keep the Secondary Language and Supplementation Language the same. Default value is GERMAN. I didn't change the secondary language before start suppleme

  • My illustrator CS won't open

    I have the first version, CS and am working on an older MacBook; it was working up until yesterday, and I have a big project to finish.

  • Prints exported from Lightroom consistantly 1 stop dark!

    I calibrate my monitors regularly and currently have my two monitors set to the absolute lowest brightness point they'll go. Everything's calibrated and my histograms look good yet, every time I try to send something out for printing, it comes out at

  • Data loosing in Hyperion Enterprise 6.5.1.

    We lost second time within one week all data in the Actual 2010 category. There is no identifier in the event log. User access is over terminal server. Has someone experienced such a problem? Ender