Disable the creationComplete function after execution OR specific image

Hey,.

In my Edge file animate, I have a function defined on creationComplete, so that when a scroll is detected, it climbs to a certain range.

It works fine but I need to disable this feature, when it reaches that frame, or once the function has been completed, so that the animation jumps in time, whenever a scroll is detected.

This is the function that I have:

// insert code to be run when the symbol is created here
Symbol.bindSymbolAction(compId, symbolName, "creationComplete", function(sym, e) {


         function MouseWheelHandler(e) {




         sym.play(14383);


         }
         var ele= sym.getSymbolElement()[0];


         if (ele.addEventListener) {




          // IE9, Chrome, Safari, Opera
          ele.addEventListener("mousewheel", MouseWheelHandler, false);
          // Firefox
          ele.addEventListener("DOMMouseScroll", MouseWheelHandler, false);
         }
         // IE 6/7/8
         else ele.attachEvent("onmousewheel", MouseWheelHandler);

Any help would be greatly appreciated.

See you soon,.

Sam

and if it does not do something like this:

Symbol.bindSymbolAction (compId, NomSymbole, "creationComplete", function (sym, e) {})

runOnce var = true;

function MouseWheelHandler (e) {}

If (runOnce) {}

SYM. Play (14383);

runOnce = false;

}

}

ELE = sym.getSymbolElement () var [0];

If {(ele.addEventListener)

IE9, Chrome, Safari, Opera

ele.addEventListener ('mousewheel', MouseWheelHandler, false);

Firefox

ele.addEventListener ("DOMMouseScroll", MouseWheelHandler, false);

}

IT IS IE 6/7/8

else ele.attachEvent ("onmousewheel", MouseWheelHandler);

Tags: Edge Animate

Similar Questions

  • Disable the automatic reactivation after opening of the screen

    Hello

    is it possible to disable the automatic reactivation after the idle state by opening the screen? If so, how?

    Greetings
    Mr. Auer

    Hi, Matthias

    When the laptop is in sleep or Hibernate mode after the opening of the screen for laptop wakes up automatically and display will be automatically ON.

  • Disable the button "submit" after the presentation

    We have a form that we distributed to multiple users. The shape is defined so that presentations go to a predefined server location. The problem is that some users submit the form several times (don't know why). Maybe they do not notice the message that says 'submit form '. In any case, we want to disable the button send after submitting the form (even it is only for this "session"). I know that once the form is closed and reopened the button works again, and that's ok. If anyone has any suggestions I would be grateful. Thank you.

    Hello

    Modify the script above to:

    This.Access = "readOnly";

    your submit button will be set to read-only.

    Regards-

    Chalukya

  • Disable the default function of the button 'Back' for Android.

    Hello!

    I tried SO MANY methods to PREVENT the default function of the previous button in Android, but without success

    It is one of the codes that I have used without success:

    stage.addEventListener (KeyboardEvent.KEY_UP, optionsKey, false, 0, true);

    function optionsKey(ke:KeyboardEvent):void
    {

    If (ke.keyCode is Keyboard.BACK)
    {

    ke.preventDefault ();
    ke.stopImmediatePropagation ();

    Make my own code below...

    }

    }

    I use Flash Cs6 , 3.2 Air for Android , testing on LG Google nexus 4.

    When I use the flash Simulator, it works great! Means the back button, let the App back to the previous step (as I expect to do)

    But after I publish the apk (picture format: Auto, auto orientation, rendering mode: GPU), as soon as I press RETURN, it minimizes my app!

    (means that when I press the back button on my phone, the application to reduce to the minimum (not close!) to the bottom. when I reactivate / click on it, I see the app is actually passed a stage (I programmed and planned), but I just CANT STOP the default MITIGATIONaction /by disabling my application after pressing the back button.)

    Anyone has any fileFla'I can see it in ACTION Please?

    Because I used several several codes and no luck yet

    Thanks and looking forward for your any kind of help...

    Post edited by: Pouradam

    I had my own answer with myself!

    in the code above. KEY_UP should be replaced. KEY_DOWN.

    simple!

  • ODIExportLog Tool - get the newspaper details after execution

    Hello
    I need to get the details of the newspaper (exported in a file) after a package is run. So I used the ODIExportLog tool in the package.

    After successful execution of the interface in the log file should be exported package (connected using OK). But the file I got is not in readable form. What should I do to get the logfile format (can be in word, Excel etc.,).

    Any suggestions will really help.

    Thanks in advance,
    RAM Mohan T

    Hi Ram,

    Everything what you did looks fine.

    Reason: *.

    U received 730 folders on the right, the reason why you did the export of logs rather than the specific session or an interface.

    Properties of ODIExportLog:

    Target directory C:\Documents and Settings\rt0032200\Desktop
    Filename LG_FileXML
    ISO-8859-1 character set
    Character ISO8859_1
    Start date 2008/09/16 14:13:09
    Date of end 2008-09-25 14:13:17
    Name of the agent RAM_PHYSIC_AGENT
    GLOBAL context code

    If you give these details you will get less number of files (specific interfaces or sessions)

    State - 'this means the session state, whether successful or not.
    User-
    Name of the session

    Suggestion:_

    Can you please mention that target the directory and leave the name of Fle into the void...

    Let me know if you have had the Solution... :)

    Thank you
    Ananda

  • Qosmio F750 - how to disable the user locking after the closure of the laptop?

    Hello

    I have a Qosmio laptop, F750 and I would keep it active after the closing of the screen keyboard. At the time you close the screen that the user is locked and my remote via WiFi connection does not recognize the laptop is ON more.

    I use iTunes with their Remote app to control music on the laptop and want to have the laptop running in the background with the display closed, but as soon as I do this I lose the connection.
    I disabled the hibernation in the power settings, but this only works if the screen remains open.

    Any help would be appreciated.
    Thank you

    Which is really strange.
    When you open the power settings in the Panel on the left side you will find the option choose closing the cover. Set it to do nothing and to test it.

    > and want to have the laptop running in the background with the display closed
    Why? Leave it open. The key is that the screen is off and you can assign parameters of energy too.

  • Satellite L300 - how to activate the RW function after installing xp?

    After my laptop was repaired with a new hard drive, I installed xp instead of vista.
    Now I can use the dvd rom for watching movies and install programs, but it is not accessible to any blank discs.
    The error window comes out whenever I have insert the drive empty and click the dvd rom.
    And the size of it always shows 0 bytes. CD or blank dvd-smoking works.

    Because it's a dvd/RW rom, usually I can just open and drag any file I want on the disc and then burn easily.
    I already updated the firmware driver.

    I wonder what the problem of the xp system that blocks the RW function?

    Hi mate

    Check the suggestion posted by Akuma.
    But, in addition, you can check if the write option is enabled in the ODD properties.

    For this, go to my computer-> CD/DVD drive properties (right click / Properties) registration mark called the option activate the writing of CD on this drive

    Welcome them
    Jack

  • TestStand 2014 F1 Patch removes the report itself after execution of finishing

    Hi all

    today I installed the patch 2014f1 TestStand and after that, I recognized that TestStand removes my reports of ATML5 by itself after execution of finishing.

    I'm active On-The-Fly Reporting and store reports in different places for each sequence. This place, I determine in the PREUUT callback.

    During execution, I see that the report is generated exactly at the specified location, but if the execution is complete they will be removed immediately. I don't know why?

    Do I have to remove the f1patch? Someone at - it the same problems?

    I will be happy if someone has a suggestion what to do.

    Thank you very much!

    Hello

    I created a sample file to show the effect (see attachment). I think I found the problem and it's my fault.

    I have seen that it is me who deletes files (SetReportPath.vi). Before you begin the statement I want to erase the reports directory.

    When I work with my custom GUI LabVIEW (uses parts of the SimpleUserGUI-example of TestStand, singlePass-execution) everything works fine. The SetReportPath.vi removes the old reports and after the execution of this new report remains in this directory. PreUUT-reminder, therefore, seems to be executed only once. The same thing happens if I use TestStand SequenceEditor for the execution of the sequences and use there "SinglePass.

    When you use the SequenceEditor TestStand to perform sequences in Mode TestUUT the new report is deleted after that first Test USE ended and I click on stop in the USE Information-dolls. I think the PreUUT callback is called here and SetReportPath.vi deletes my report. This seems logical.

    With this routine I'm working now for two months and I noticed that the "deletion" just after the installation of the Patch TestStand2014f1. So I think that there are some changes by calling PreUUT-reminder, but I'm not sure. Maybe you can check this.

    Thank you!

  • disable the window maximize AFTER return to windows windows 7 fron 10

    I recently returned to windows 7 (time to go to windows 10 months) and since then I can not turn off to maximize windows.  I disabled the "prevent windows" option in the ease of use of the mouse and keyboard with the combinations to have an on and off.

    Can you help me please turn this feature off, no offense to anyone, but I really hate it.

    Thank you

    Deb.

    Hello Deb,.

    Thanks for posting your query on the Microsoft Community.

    By the description, you like to deactivate windows optimize desktop.

    As the question arose after return to windows 7 there is a possibility that the display driver may got corrupted. You have already made linear troubleshooting to solve the problem. I suggest to update the graphics card and check.

    Make sure that your display driver is up-to-date. Then follow the steps below.

    1. press on the Windows key + R to open Run
    2 type devmgmt.msc in run and press on Enter.
    3. expand display adapter.
    4. right click on the device and select Update driver software

    You also try to

    Update a hardware driver that is not working properly.

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Hope this information is useful. Please let us know if you need help with Windows.

  • Disable the button new add tab CSS specifications of the trade while displaying the Notification number GTIN message duplicate

    Hi Ron,

    I need to disable the Add button again in the CSS tab on specification of the trade while displaying the Notification number GTIN message duplicate.

    If it does not duplicate notification displayed GTIN message not necessary to disable the Add button again in the CSS tab. Please see the screen shot for more information.

    You said same thing as below mentioned in bold.

    2. you can lock whole sectors, such as the CSS section, you use an extension called SectionLevelEditing. You can read about it in the Guide of extensibility, which will guide you to a more detailed document.

    If you are wanting to keep lock editable, but section towards the bottom/remove the button Add a new one just so you can use the UIe feature Extensions, also documented in the extensibility Guide.

    As suggested, I had crossed the SectionLevelEditing document. but I don't get anything in the document.

    Even my requirement is condition based on the button Add a new on the CSS tab.

    I tried another way

    (1) I got to add new button id with developer tools (ctl01_CtlInitialPublication1_ctlCollapsibleContentContainer_ctl00_btnAddNew)

    (2) what properties should be used by pulling the new id button.

    I am faced with the question. Please let me know some suggestions.

    Thank you

    Floquet

    In the JavaScript code, could you try to filter by some special keywords in your notification of duplicate instead of code GTIN number # .writing C NET.

    In user interface Extensions, it has only allowed to extend the JavaScript code.

  • How to disable the close button during execution

    Hello world.

    Please help me how to disable the close button at the top of the window during execution. I don't want the user to use this button to close. I used the button called out in this form but sometimes users of closing by clicking this button.

    I use the formula of Oracle 10 g R1.

    Thanks in advance,

    Or if you want to stop the closing by button close the main WINDOW. Then create a trigger on called KEY-OUTPUT at the FORM LEVEL and just write the value NULL ex.

    Trigger = KEY-EXIT (FORM-LEVEL)
    NULL;
    

    -Clément

  • OfficeJet Pro 8600: How can I disable the 'Fax' function on my Officejet Pro 8600

    When I try to print from "Firefox" it attempts to send a fax. If I try to close the fax, the page prints ever. I have no phone line and you want to disable the service "Fax".

    @vickiJohnk

    Welcome to the Community Forum of HP.

    'Default' printer can be set to be the 'fax' instead of your main printer.

    See the following topics:

    Print to printer without first record in the file

    In general, if you do not configure the fax - and that you do not accidentally - access you should not have to worry about this.

    You can find more information on fax in the User Guide, Page 62.

    If you have any concerns that 'something' is entered in the configuration of the fax that you ignore, you can check / look at your configuration of the fax machine (as well as all of your facilities to printer) using your EWS link on your printer.

    Example:

    Click on the thumbs-up Kudos to say thank you!

    And... Click on accept as Solution when my answer provides a fix or a workaround!

    I am happy to provide assistance on behalf of HP. I do not work for HP.

  • How can I disable the SendNow function?

    I want to avoid the users you send a PDF via the SendNow function,.

    Hi ZB hide SendNow,

    Can you please help me with more information.

    Let me know which application where the SendNow service is built it is outlook, Reader, or other applications?

    Kind regards

    Ajlan Huda.

  • Is there a way to disable the ability to right-click on an image and copy it.  I create websites for photographers and artists here to prevent copying of the images.

    I used to use 3 SiteGrinder before they went bankrupt.  All the widgets gallery that allows for disabling the right-click function.  I now use the Muse and love, but it would be fantastic if Muse had such a feature.  Maybe it's there and I just didn't.  Also I have not checked all the market after widgets to see if any have the feature.

    Thank you

    John

    Words MylenIin is correct, if a little condescending. You can also deter the casual right clicker by adding a rectangle without fill on top of your images or creation of all your site images using a filled rectangle, as the images are rendered in a different way that prevents them being recorded.

    David

    http://creativemuse.co

  • Is there a way to disable the project window after creating a new subitem of scrolling?

    I am often editing short aftermovies of the parties, and my workflow is as follows:

    (1) capture and stash movies into a single folder (there is very little opportunity for the planning of specific plans or tagging of videos on the fly)

    (2) ingest media in prelude and browse clips identify useful, subclipping and marking images

    (3) rough cut (possibly) and fine cut of the music in the first

    Step 2 now is where I am really being slown down. Ideally, I would like to go through all the media as quickly as possible. Usually there is only a single subelement with a clip.

    However whenever I add a subitem project window as a whole just scrolls and focuses on the new subitem, and to continue to the next clip, I have to scroll to the top, laboriously seek it or search for it by numbers.

    I thought that order the clips by date would solve this problem because I expected the focus to go to the subitem that should appear right next to the current item. But there is a clear bug in the prelude it is. When you add a subitem whilst having created Date you place your order on what is happening: first a subclip is created down like the order of the user and window emphasizes this point, then the subitem moves instantly after the clip but the view didn't refocus, leaving me in a situation may be even worse.

    It would be great to be (or all):

    1. Remove the bug to update and refocus on the subitem reordered instantly
    2. Added an option to disable automatic scrolling of the project window
    3. Add keyboard shortcuts to move to the previous/next clip
    4. Add a filtering more options for the subitem current only such as the clip alone, Non-tag tag only, video only (ideally through an option of custom filter with check boxes so that you can adapt to your needs)

    Again, this is a big step upwards of multi media organization nightmare of the first window but some (perhaps quite common) use cases are always very refined.

    If mentioned previously mentioned options are already there, please let me know, thanks

    Or said in passing when talking about bugs associated command, try to create a new bin when having Date created sort on. The tray is displayed with its name change, then it pops up and voila you are renaming the last item in the list. Like what the hell guys, you check even the user interface or is CC too fast turnaround for this?

    Loving salvation,

    In my view, the scrolling after you add a subitem issue with display of the icon in the project Panel. I checked prelude scrolls without concentrating on the subelement.

    Please mention your applications features on the following link:

    Feature request/Bug Report Form

    Regarding your 2 concerns, I think that you check the lists of:

    1. create a new bin when Date created sort on. The tray is displayed with its name change, then it pops up and voila you are renaming the last item in the list.

    2 when you add a subitem whilst having created Date you place your order on what is happening: first a subclip is created down like the order of the user and window emphasizes this point, then the subitem moves instantly after the clip but the view didn't refocus, leaving me in a situation may be even worse

    Please mention the version prelude that you work with the prelude--> help--> prelude about Adobe.

    Actually I just checked the above two points. In the colon prelude works very well in front of your comments. When adding Bin, bin is created with rename on and it only remains to this place. If added subelements with Date of order is created, it is created after the main clip, not down.

    Thank you

    Mayjain

Maybe you are looking for