AEA Action code doesn't work do not

Hello

I do a simple test to help learn Adobe Edge animate (AEA).

I created a new composition and created an image of rounded rectangle (RoundRect). RoundRect selected I click the Actions button open and:

I add a click event

Under Choose an Action I click on enable/disable/hide

Under Select a target I click RoundRect

The following code is generated by the AEA:

Define a toggle to show or hide an item

If (sym. $("RoundRect») .is (": visible ")) {}

SYM.$("RoundRect"). Hide();

} else {}

SYM.$("RoundRect"). Show();

}

When I publish and display in the browser, the RoundRect iniitially appears and when you click it it disappears, as expected. However by clicking anywhere on the screen won't get it to reappear.

The Javascript console on my browser is not errors or messages.

My expectation was that, given that this code generated by AEA it would work. Anyone see what I'm missing?

Thanks in advance for your help,

Rich

Hi rich,

Here's the thing element.hide (): when you use masquer(), the div can no longer be clicked or see other mouse events. That is why if you enable/disable/hide the element itself, you can hide, but then can not show it again. It should really be a note in the comments, warning users of this situation (I'll pass it along to the team).

So ideally, you should put the extract to activate/disable/hide on another element and then target the element you want to hide/show. If you really want it to be on the element click you on, you can fake by adding extract to an element placed above the one you want to hide/show and set the Opacity of the element to 0%.

HTH,

Joe

Tags: Edge Animate

Similar Questions

  • Action button doesn't work does not correctly

    I have a site that suddenly decided to not work when someone clicks on drop the tab. The three main pages are loaded as being of the same scene, and the other two work, but not on the page. Any ideas?

    I thought about it. Looks like sort of a film has been removed from the scene 1

  • Windows 8 code doesn't work do not to install

    I bought some time ago for Windows 8.  My old laptop was upgraded to Windows 8.1, and I had one of the technicians Windows works with me.  Some of the things on my laptop did not work after the 8.1 update and Windows tanked my pc technology and gave me a 'pilot' download virus try to patch up Windows 8.1, that the pc is dead and its thermal protection is blown.  I have a new PC and I need a code to activate my windows 8.0 and then upgrade to 8.1.  Can you help me?  Using, I'm out of the BONE and the upgrade was not satisfactory for me.  The load on the new PC request a new code to download.

    1:

    Go to the order summary page, you can find your product key:

    https://www.mswos.com/

    If you encounter any quelconque probleme problem with question summary and billing order, please contact a customer support agent to:

    http://support.Microsoft.com/GP/ESD-support-phone-numbers

    2: the new computer came with a preinstalled Windows version or not?

    To install a Windows 8 upgrade version, you must already have Windows 7, Windows Vista, or Windows XP installed on your PC.

    If you have formatted the drive until the upgrade of Windows 8 version has been installed, you will not be able to use your upgrade product key to activate Windows 8. To activate Windows 8, you will need to install your previous version of Windows, and then reinstall Windows 8. Help with the activation process, contact technical support.

  • scenario trigger code doesn't work only not with the imported symbols

    I imported a symbol of motion graphics sectors into a new project. While works graphic animation in sectors, the number counter that counts from 0 to 60% has stopped working. The code below was concluded the chronology of the symbols as a trigger of timeline without effect once it has been imported. Any suggestions would be a great

    Enter the code here

    Chronology of trigger.

    get items

    var elementTxt = sym.$("Counter");

    get the duration of timeline symbol

    hard var = sym.getDuration ();

    create a Tween {} {at} somevalue using jquery animate

    $({someValue:_0}).animate ({someValue: 60}, {})

    is the duration property animate to the length of the animation in the timeline

    Duration: hard,.

    called on each step

    step: function() {}

    update the text of the item;

    elementTxt.text(Math.ceil(this.someValue)+"%"); "

    }

    });

    end chronology trigger.

    How you call the function animate is not correct.

    Check: http://api.jquery.com/animate/

    And you need to include jQuery animate if you use 20141 Edge or Edge 2014.1.1 Edge.

    HTH,

    Vivekuma

  • YouTube's auto-hide code doesn't work do not

    Hey everybody.  I included a YouTube video in a picture frame by using the Web Content Folio Overlay.  I read in countless articles online to make the YouTube control auto-hide after a few seconds, you should use this code at the end of the link?: AutoHide = 1

    I tried this and controls do not disappear.  Here is the full link I pasted in the superposition of Folio content Web URL field: https://www.youtube.com/embed/0w5FsV3vMqg?autohide=1

    What I am doing wrong?  It works if I open this link directly in a web browser, but it will not automatically hide the controls in the window of my application. The hide feature automatically does more for apps/dps?  Help would be greatly appreciated.

    Hello

    We find that this work in the Android native Viewer. You simply paste this URL directly in there? Have you used the complete embed code?

    Example:

    -Dave

  • with firefox 43 yahoo and yahoo mail doesn't work does not correctly

    With the help of win 7 and firefox 43.0.1, I have 4 computers and now all have problems with yahoo and yahoo mail doesn't work does not correctly. Loading sites, but most of the features are missing and clicking on what whether changes to the lists of text. I have disabled flash / anti-spam etc., cleared cookies and cache and even firefox loaded down once again and have upgraded, no help. I'm forced to use IE now.

    I tried Yahoo support, they said try Firefox... In any case, it's Firefox and I found a solution using the 'Refresh Firefox' button. Whatever the problem was fixed on two of my computers so far. Got to update my setting again but it's 10 m, compared to the 10 hours I spent trying all that is nothing.

    Thanks for the help!

  • spell check doesn't work is not in outlook on windows 7

    Hi the spell checker doesn't work is not in my outlook for windows 7. This can be corrected?

    Sincerely, Robert H.C.

    Outlook.com has a manual spell at the top next to the options button controlIt won't appear that if you write an e-mail AND if your browser is not checking spelling himself. In most modern browsers the spell checking is done by the browser itself and may need to be enabled in this browser

    IE , it depends on the version you have.
  • DNG Converter doesn't work is not on a camera called raw photo

    DNG Converter doesn't work is not on a raw photo camera that always comes back with this Message "check if the camera is recognized.   "

    Supported cameras Camera Raw plugin | Compatible cameras

  • LR 5 doesn't work is not on the new Macbook Pro.

    LR 5 doesn't work is not on the new Macbook Pro.  Have tried 2 CC downloads, download licensed 5.6 and 5.5 download licensed, all the results in the same thing.  It comes up with the screen base but no signs and gives that an error occurred when changing the modules.  Nothing I have tried seems to help.  He also said "start with lightroom mobile at the top on the left, although it said it's Lr 5.6.  Anyone else having problems?  Calls to adobe are no help and have to wait until Monday for technical support.  Surely this must run on a NEW laptop with any other installed software!

    Setup logs was very good.  Application installed but is not working properly.  Finally got Adobe support and it turns out be a file permissions error.  Had to add applications and myself as accessors of the Lightroom folder under ~/Library/Adobe/ path and set permissions to read & write (was read only for everything except system) and apply to all the cases closed.   Works fine now.  Including this here in case when someone else is going through this issue.

  • JavaScript doesn't work is not on the page navigation

    Hello

    I have a manual tabular presentation on the emp table. There is a javascript function that calls for the deptno column change. If deptno is RESEARCH (20), then it turns off the field for this employee hiring date.


    The same function is called on page load using the threshold:

    $("[name=f04]').change ();


    It works fine when the page is loaded for the first time. When I navigate to see the next set of rows (for example, 16 to 30) then the javascript code does not work.


    An example can be seen on apex.oralce.com:

    https://Apex.Oracle.com/pls/Apex/f?p=30264:28


    Workspace: apex2014

    Username: forum

    Password: abc123

    Application: 30264 Dev2

    Page: 28

    Can someone explain why it behaves like this?

    Thank you

    ZKay wrote:

    I have a manual tabular presentation on the emp table. There is a javascript function that calls for the deptno column change. If deptno is RESEARCH (20), then it turns off the field for this employee hiring date.


    The same function is called on page load using the threshold:

    $("[name=f04]').change ();


    It works fine when the page is loaded for the first time. When I navigate to see the next set of rows (for example, 16 to 30) then the javascript code does not work.

    Can someone explain why it behaves like this?

    This occurs because the function is called only once the page loads, and therefore affects only the lines that existed when the page is initially rendered. Page navigation performs a partial page of AJAX (PPR) refresh that completely replaces a set of lines of form (including their properties dynamically applied) with a new series with different properties. It is necessary to apply the function whenever a new set of lines is displayed. The best way to proceed is to call the function using an dynamic after Refresh with a dynamic range action:

    Event: After refresh

    Selection type: Region

    Region:

    Action: Run the JavaScript Code

    Scope of the event: Dynamics

    Fire on Page load: Yes

    Code:$('[name=f04]').change();

    Note that rows 13 & 18 in your function cause errors of execution. As I do not understand the purpose of these that I commented on them in order to demonstrate the dynamic action solution:

    function test2(pThis){  // orpheus4192
      var v_item_value = pThis.value;
      var v_hiredate_item = $(pThis).closest('tr').find('td[headers=HIREDATE] input[name=f05]');
      var v_hiredate_button = $(pThis).closest('tr').find('td[headers=HIREDATE] button');
      var currIndex = $('select[name="'+pThis.name+'"]').index(pThis);
      var currRow  = currIndex+1;
    
        //alert(pThis.name);
      if ( v_item_value == '20' ){
          v_hiredate_item.prop('readOnly',true);
          v_hiredate_button.prop('disabled',true);
    
          //document.getElementById("f08_"+[currRow]).disabled=true;
      }
      else{
          v_hiredate_item.prop('readOnly',false);
          v_hiredate_button.prop('disabled',false);
          //document.getElementById("f08_"+[currRow]).disabled=false;
      }
    }
    

    Things are not helped by the mixture of techniques here. The code would be easier to understand and maintain if a coherent approach was followed. It is recommended to always use jQuery to select and manipulate items, then select the items of dynamically across the table from the declarative mode headers attributes, rather than trying to understand the absolute values of ID from the control of the name and line numbers. It's much more intuitive, generally requires less code and is waterproof later insertions and changes in the order of the columns. Potential problems are only the changes to the control type or the column alias (because the latter is generally required in the selector), but these changes are likely to occur less frequently.

    Do not forget that to get the headers consistent and understandable static ID selectors must be applied manually to the IR columns in APEX 5.0...

  • WiFi doesn't work do not

    A year and half ago we bought a new Mac and the Time Capsule (TC) to go with it. I tried to set up at the start and think about this topic, I do not think that it has never worked properly. I say this because we got a new modem without router because time Capsule has an inside, and we are unable to connect to wifi. I have a TB Ethernet connection and if I can get online in this way, but the WiFi does not work. Last night, I went through and set up and the WiFi worked, but today it no longer works and I can't seem to do it again.

    The indication of WiFi signal says I'm connected, on my Mac and on our phones, but when you disconnect from data it no longer works. It's very frustrating because I don't want to have to go back to a modem/router of the rental of our cable company.

    We have just upgraded to OS X El Capitan 10.11.6

    When it worked last night I created everything from scratch. But I do not think that I would have to do every time I need to use the internet. I also tried to create a WiFi with a custom DNS but that doesn't work anymore.

    Any help would be appreciated.

    Thank you.

    Amazing!

    I am so embarrassed but understand that I would update in the case where everyone does the same thing.

    When I put in 1.5 years ago I went from ethernet cables. The Ethernet cable from the modem was connected to the LAN port and the Ethernet cable from the Mac was connected to the WAN. Once I put the cable from the modem to the WAN everything has worked.

    Sometimes, just come back to square one.

  • Crossfade doesn't work does not in iTunes 12.4

    I use OS x El Capitan 10.11.1. set iTunes to automatically level to 12.4. I played music on a playlist with crossfade turned on, but none of the songs crossfaded. I am aware of crossfade doesn't work every time that the songs are played in order any of the same artist and album, but my playlist was not organized as such, so it should work. I tried to turn the market feature and quit iTunes and restart, but no luck. Any suggestions?

    Although I usually do not use this feature, you seem to be correct.  Can operate either...  You can report the problem here

    https://www.Apple.com/feedback/ (under OS X Apps - iTunes)

  • Touchscreen doesn't work is not for the Satellite U920t - 10 p

    Please read this completely before you answer with your copied and pasted answers.

    My touch screen lets you stop work, but was still attached with a reboot of the machine.
    Now it doesn't work at all and * I've tried everything posted elsewhere in this forum *.

    I tried to change the settings for battery power, try to update the drivers (not exactly who is right though!).

    Please can anyone help because it is a new machine and it's very frustrating.

    Serial number: 7D054633H
    Model: Toshiba Satellite U920t - PSUL1E-01900JEN 10 p

    Thanks in advance.

    > Please read this completely before you answer with your copied and pasted answers.
    IMHO, I n t think that someone here in the forum doesn t read the messages before playback
    I hope that this part of your post is just the result of frustration due to the malfunction of the notebook...

    Back to your question:
    > I tried everything already posted elsewhere in this forum.
    and what does this mean? What have you tried exactly?
    Have you given zero and plant control panel?

    If not try and in the case where this help not the laptop's hardware could be affected which requires new checks of material by an authorized

  • HP 14-r206nv: light wireless led doesn't work do not

    I have a very minor issue that don't mind operating of the laptop, but I'm curious to know why it does not work, because I know that before reinstalling windows it worked normally.

    Well well, to the point now. After a hard drive failure and replacement, Windows 8.1 are installed again and each driver has been installed and works well. The only thing that doesn't work is the led light button wireless (F12). The button is working correctly, activation and deactivation of the Wi - fi, but not the led. It lights, neither white nor red, it is always disabled.

    The model of the wireless card is Realtek RTL8723BE.

    I installed the drivers from the HP site.

    Version of the driver for the wireless card is 2013.8.915.2014

    The version of the wireless button driver is 1.1.7.1

    I tried the latest drivers for the card (an optional windows updates finds) implemented to date for this and the wireless button (if I try update driver in Device Manager, it installs a new) but nothing has changed for good so I decided to go back to what the official site suggests and post here.

    Hi @v1184,

    Thank you for your inquiry.

    I understand that you had a hard drive failure and he had to be replaced, you did. You reinstalled Windows 8.1 and all drivers are up to date.  The only problem you are having is that the wireless button light does not illuminate, but it does not work.

    You tried to update the wireless driver button, but has not changed, so you returned back to the recommended HP driver.  As the wireless button does not work it is not the driver, however, it could be that the light burned. The other possibility would be that when you replaced the hard drive, the connection has been dislodged or disconnected and must be reconnected.

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution', this will help others easily find the information they seek.  In addition, by clicking on ' Thumbs Up ' below is a great way to say thank you!

  • IPhone 6s off right speaker doesn't work is not on the helmet

    IPhone 6s off right speaker doesn't work don't not on the helmet, tried 3 different sets of headphones, have tried to clean shooting, reloading the OS etc., checked the slider etc, still no joy, any suggestions very welcome. It works on both speakers if I don't push the CAP fully home (but he then falls easily).

    Are you sure that you're pushing all the way?  If you are, this looks like a connector damaged in the phone. As a 6 s that it is still under warranty, then take it to an Apple store.

Maybe you are looking for

  • I have phone alert question?

    I phone user, I need to know if there is anyway that I can configure for my I phone to alert me repeatedly every 1 or 2 minute intervals until I pick up or read. I love my I phone like others. normally I throw around the corner until the phone rings.

  • Need help - new user and new 8 GB Sansa Clip

    My new Sansa seems to be frozen or? I plugged it in and it came and I tried to check the settings to make the upgrade and now it won't turn. It does not even appear in my computer (he had previously). Only, I bought this morning and I desperately nee

  • Internal Hostname Ping problems

    Running on my internal network (just a plain jane workgroup) that does not connect. When I Ping any machine on my network from another machine on my network, he decides: hostname. Linksys.com (a random IP address) Request Timed Out Request Timed Out

  • HP Officejet Pro 6835: button "print"

    When I try to print a doctument of my google chrome, I have two options... Save and cancel... I don't have a "print" key.  I run the hp doctor and restarted the computer and it is still not provide me with a "print" key.    However, when I use IE it

  • My laptop does not recognize my dvd playeer

    My laptop is a toshiba laptop