1 Reply Latest reply on Mar 4, 2013 6:15 AM by joel_pau

    Set html text doesn't display all numbers

    Franck Payen MVP & Adobe Community Professional

      Ok, so that one is a strange.

       

      I was playing around with the scroll event on a rectangle (not on Stage) and wanted to display the scroll value

       

      So code looks like this :

       

      Symbol.bindElementAction(compId, symbolName, "${_Rectangle}", "scroll", function(sym, e) {

      var ScrollDuHaut = e.currentTarget.scrollTop;

      console.log(ScrollDuHaut);

      sym.$("Text").html(ScrollDuHaut);

       

      But once in a while, the Text element doesn't show up, although just the numbers changed…

       

      Any clue is welcome : Weird display of scroll