HorisontalScrollPosition Attribute of a HTML-component does not work. Why?

Hello there,
I would like to synchronize scroll-events of a HTML-component and a Canvas-component.
I thought it schould be easy, and I wrote it like below....
<mx:Script>
     <![CDATA[
          private function onCanvasScrollHandler(e:ScrollEvent):void
               if(e.direction == "vertical")
                    myHTML.verticalScrollPosition = e.position;
               else if(e.direction == "horizontal")
                    myHTML.horizontalScrollPosition = e.position;
     ]]>
</mx:Script>
<mx:HTML   id="myHTML"   width="300" height="300" horizontalScrollPolicy="on" verticalScrollPolicy="on" />
<mx:Canvad id="myCanvas" width="300" height="300" horizontalScrollPolicy="on" verticalScrollPolicy="on" scroll="onCanvasScrollHandler(event)" />
....this Script does kind of work. When I scroll "myCanvas" vertially, the "myHTML" is also scrolled vertical as much.
However this only works for vertical scrolling, but not for horizontal one. "myHTML" is not be scrolled horizontal, when the value is substituted in horizontalScrollPosition-attribute of "myHTML".
Does anyone have a clue for this Problem?
Thanks.
Satoshi

I found it my self .
I used scrollH-property of HTMLLoader instead.
It works until now.

Similar Messages

  • Flex Hero - Links in HTML component does not works.

    WebView-app.xml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    WebView.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <mx:HTML location="http://google.com/" />
    </s:WindowedApplication>
    I can see google homepage in my test desktop application.
    But all links are not work in html document.
    Flex 4.0 and 4.1 SDK works well. Only Flex Hero has this problem.
    How can I fix it?
    Thanks.

    Hi Kevin,
    I had the same problem. This 4.5 build from 11/30/2010 fixed the HTML component issue.
    http://opensource.adobe.com/wiki/display/flexsdk/download?build=4.5.0.18623&pkgtype=1

  • Automatic Selected Item of List Builder Component Does not work (anymore)

    Hi all,
    Í'm working with Xcelsius Engage 2008 (version 5.3.2.0) and the automatic selection of an item at runtime of the list builder component does not work anymore. In a previous version it worked very well.
    Here's the case: at runtime I want that the list builder component automatically puts the first item in the list to the destination section and selects it, so that a graph can show the underlying pushed data. In the previous version it worked o.k., but now at runtime the destination section remains empty at startup. If I interactively select an item from the source section to the destination section and update the list builder, the data is shown correctly, but it must done automatically, which worked o.k. in an earlier version of Xcelsius 2008...
    This are my settings of the list builder component (which was running correctly earlier..):
    -at the general tab I defined a range of labels
    -at the general tab I defined 2 data column insertion series
    -at the behaviour-common tab I defined selected items: position mode; items: the first item of the label list; insert items at runtime
    -all of the data comes from an external xml data source
    You can find an example of the visualisation at: http://onderzoek2.evinet.nl/projecten/10169/dynarap.htm. You will see that at start-up there is no item visible and selected in the destination section of the list builder....
    I've tried every combinations of settings, build up the component from scratch, but its not working (anymore).
    Greetings Erik-Jan Vriens

    Hi njnits,
    Print view button is a standard component of Xcelsius: look at it in the IDE
    Exporting to Powerpoint is also a standard functionality, so yes. For this particular dashboard/report all data resides in an external xml-file which have to be accessible for Powerpoint
    All visualisations, not only the table,  in this/report fetch their data from an external xml-file, but a QaaWS-connection will also do the trick. You will have to write this dedicated service. In our case the xml-data is also generated automatically.
    The external data is best defined as a sort of matrix, consisting of approx. 100 columns by 1000 rows. I agree it takes a lot of Xcelsius but it does the job....
    Hopes this info helps....

  • Hello, I just did an update and now the second Language - Hebrew - does not working. why?

    Hello, I just did an update and now the second Language - Hebrew - does not working. why?

    More information please.
    If you are on adobe cloud, download indesign that support hebrew from CC desktop. Click on the preference gear on the top right then select App language.

  • I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    Well the error message is in Swedish but says: The installation program database is damaged. Please contact the Adobe support (which is a hard thing to do!!). I use Windows 7 Home Premium with service pack 1.
    Från: Mylenium 
    Skickat: den 29 december 2014 16:48
    Till: Tony Bohman
    Ämne:  I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7050595#7050595>

  • The Restriction option to NOT ALLOW CHANGES to Mobile or Cellular data does not work why is this ?

    The Restriction option to NOT ALLOW CHANGES to Mobile or Cellular data does not work why is this ?

    Hi there,
    You may want to try force closing all open apps and resetting the device as an initial troubleshooting step. Take a look at the articles below for more information.
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Turn your iOS device off and on (restart) and reset
    http://support.apple.com/kb/ht1430
    Additionally, you may want to try completely disabling and re-enabling restrictions.
    -Griff W.

  • The "a name" html tag does not work in Firefox.

    The tag works in all versions of Internet Explorer, but does not work in Firefox versions 3, 4, 5, 10, 11, 12.

    I haven't noticed any problems on most pages, but I have read about a problem where a script changes the length of the page content after loading (e.g., by collapsing content under headings, done on some FAQ or glossary pages).
    For example, this should position the browser at the Reset Printer section:
    http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer
    A standard diagnostic step is to try Firefox's Safe Mode to see whether an odd behavior is caused by a custom setting or add-on.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in [[Safe Mode]] using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If links work correctly in Safe Mode, that usually points to an add-on or custom setting as the problem.
    Let us know whether that makes any difference.

  • Firefox updated, Video download helper no longer works, no error msg. I have uninstalled both Firefox and VDH, reinstalled, VDH still does not work, Why

    Video Download Helper does not work after most recent update. I have cleared cache and cookies, uninstalled both Firefox and the helper,that has not corrected.When Firefox does an update are the "vendors notified so they can see if their product needs changes in order to be compatible? This may sound like a stupid ?, but it makes sense tome. Telling me to download something else, in my eyes is not REALLY solving the problem.

    Don't uninstall 36. Just download and install 35 over top and you don't lose any data. I already did and everything works just fine. But I did remove VDH first.

  • My home button does not work. why?

    What is wrong with THE iPad Home button.  Only a couple of months old. Moderate use at most and the Home button does not work at all.  Is this easily sorted out or should the iPad be replaced?

    Bring it to a Store. Hardware problems are best sorted out there. Until then use multi-touch-gestures. HOpe this helps.

  • Problem: Drag&Drop over HTML-Elements does not work

    Hello everybody,
    I developed some sort of Clipboard, which consists of a canvas, on which you can drag around some customized components. These components consist of a panel, in which there is an mx:HTML-component and a text area.
    The problem is that clicking into the panel-header area and dragging the component around only works as long as I the mouse pointer does not touch the mx:HTML component. This means, that when dragging the component over the region where its own(!) mx:HTML-component is located, the drag action is terminated. When the component is dragged over another components mx-HTML part, the drag action is also terminated.
    Why does this happen?
    If source code is needed, just ask and I will upload an example.
    Kind regards,
    Sebastian

    what if u hit design mode
    and then switch off the design mode
    sometimes this workaround helps
    try contacting the basis people and make sure u havent installed the lates gui or something.
    somethimes during upgrade or so this functionality doesnt work
    i face the same issue.

  • How to add html?  The HTML snippet does not work.  Whatever I add, (a "like button, SEO key words, etc.), does not appear on the site once published.

    I am trying to add html to my website created in iWeb, (a "like" button, for example).  I paste the HTML language into the HTML Snippet window, but it does not show up ion my published page.  Any advice?

    I have put code into two html snippets, (per facebook instructions).  Should they go together?
    First snippet:
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    Second snippet:
    <div class="fb-like" data-href="http://www.bonniecrockettconsulting.com" data-send="true" data-width="450" data-show-faces="false"></div>
    Thanks!

  • Font changing size when i go to yahoo mail on my new netbook sometimes its ok other times it appears microscopic i have to close firefox then reopen and sometimes this works other times it does not work Why ?

    this does not happen on any other site i visit only on yahoo mail.yahoo,s answer to the same question is we dont know reason maybe its firefox.

    I have had that happen with Comcast web mail, too. You can't hold the Ctrl key and then use the scroll wheel to do certain functions in the web mail software. That function will work in the web mail software, but you will also change the Zoom factor of the page. You have to remember to '''''reset''''' the Zoom factor immediately, Firefox will remember the Zoom factor and use that until you reset it to default.

  • Encrypt and Decrypt FM FIEB* - does not work why?

    Dear All,
    I am trying to use FM FIEB_PASSWORD_ENCRYPT
    for encrypt it encrypts same as "{zyxwvutsrqponmlkjihgfedcba`_^ for all the strings passed  this is bit wierd.
    Again I used FM FIEB_PASSWORD_DECRYPT to decrypt "{zyxwvutsrqponmlkjihgfedcba`_^ "
    but no joy ...this does not decrypt at all.
    This can be achieved by CALL METHOD cl_http_utility BUT I DO NOT USE OO STUFF ALL
    Please advise I am using the correct function modules ...or throw me light on this .
    Many thanks in advance.
    cheers

    Sometimes those function modules do not work depending on the OS and kernal.  Try using the class you mentioned.  Here is a example program.
    report  zrich_0001.
    data: password  type string.
    password = 'thispassword2006'.
    write:/ password.
    call method cl_http_utility=>if_http_utility~encode_base64
      exporting
        unencoded = password
      receiving
        encoded   = password.
    write:/ password.
    call method cl_http_utility=>if_http_utility~decode_base64
      exporting
        encoded = password
      receiving
        decoded = password.
    write:/ password.
    REgards,
    Rich Heilman

  • Report a broken website on firefox help does not work- why does the action bar keep scrolling when i click submit

    the broken website link is not working for me - the "submit toolbar just keeps scrolling until I give up and navigate to another site. recently my leftside bookmarks display keeps highlighing one website ''''''''Live Internet Seismic Server '''''''' even when i don't click on it

    This problem was also reported in question 774215 as a problem that the user encountered after trying to report his primary problem. See https://support.mozilla.com/en-US/questions/774215. FWIW.

  • AVCHD Clip Stabilization does not work, why?

    Hi!
    I can't use stabilization and crop with AVCHD video. Button is not avalible
    Why?

    The same strange behaviour with my system;I have found out that the stabilizer only works when you import the AVCHD file first and afterwards do the stabilization-analysis of the clip in the timeline; anyway: Smoothcam in fcp7 worked a lot better, I really hope there will be an update soon for this issue!

Maybe you are looking for