Scroll Positions do not work if Scroll Policy is 'off'

I am using flex SDK 3.3.0.4852
I have a canvas with
canvas.horizontalScrollPolicy = "off";
canvas.verticalScrollPolicy = "off";
This canvas has an image in it, and I set the horizontal and vertical scroll positions programitically.
canvas.horizontalScrollPosition = canvas.maxHorizontalScrollPosition;
canvas.verticalScrollPosition = canvas.maxVerticalScrollPosition;
then I save the scroll values in an xml file, and then on reopening of the xml file.. I do the following
canvas.addEventListener("creationComplete", setScrollPositions);
and in the method setScrollPositions(event) i do the following again
canvas.horizontalScrollPosition = canvas.maxHorizontalScrollPosition;
canvas.verticalScrollPosition = canvas.maxVerticalScrollPosition;
But unfortunately it does not show any change in the scroll positions visually, and the default scroll positions persists. Though if i call an alert
Alert.show(canvas.verticalScrollPosition.toString()); //it does show me some value, e.g. 56
Now if i only set horizontal and vertical scrollPolicy = "on" ... all works fine. But the problem is that I want to hide my scrollbars and there is no other way I can do it. So please if there is any solution to it or if there is any workaround, do let me know. Thanks.

i'm having the same problem and i just got a brand new dell..when i hold down the left click over the up or down arrows, my songs in itunes only go down one line rather than scrolling up or down while im holding down the left click...any help is appreciated..

Similar Messages

  • Scroll position does not reset on datasets

    Forgive me if this is somewhere else, but I cannot find it.  In using spry datasets in CS4, when the data in a container is long enough to need a scroll bar, the scroll position does not reset to the top when you chose the next item in the dataset.  By example, if I choose Grapefruit, and the description container has several paragraphs that i have scrolled down to read, then I choose Pear, and the description content displays in the same scroll-down position (perhaps in the middle or the end) instead of resetting at the beginning of the paragraph.  Is this a bug or is there something I am doing wrong?
    Thanks!!!

    Argh!  I have this exact same problem when working with Master/Detail.
    When I scroll down to the bottom of a detail area, and then click another item in the master column, it displays the bottom of the new detail area.  This is not what I want.  Whenever I click on a new item in the master column, I need to be positioned at the top of the new detail area.  How can I make that happen?
    Please help!  Thanks!
    SC

  • TS2662 my new magic mouse scrolling & swiping will not work

    my new magic mouse scrolling & swiping will not work. Help??

    I had this happen to me as well. just last week (july 28, 2014) I brought my magic mouse from home to work since my work mouse was going south. paired it with bluetooth, it moved and clicked but no scroll or gestures. searched till I nearly ready to give up. then I installed USB overdrive. many forum posts said too remove that. I didn't have it, so I installed it. and then un-installed it.  everything works great now.
    hope this helps someone.

  • Why does the swiping not work to scroll down the screen

    why does the swiping not work to scroll down the screen or swipe from side to side

    Thank you for the reply. But can you tell me what this configuration is about and how I should do this?

  • Lenovo wireless mouse middle scroll button does not work

    lenovo bluetooth wire mouse works fine with click buttons but the middle scroll wheel does not work. scrolling with the wheel should move the browser screen up and down and it does not.
    click buttons work fine just the scroll wheel in the middle of the mouse

    I tried this setting (adding Firefox as an exception) and it had no effect :-(
    Mouse wheel still does not work with Firefox (but works with everything else).

  • Down scroll arrow does not work in Firefox or Safari.

    When in Firefox or Safari, the down scroll arrow does not work (I have arrows set to top and bottom, both at bottom makes no difference). Striking above or below the scroll bar works as expected (set to one page, up or down). The up scroll arrow works as expected. Both arrows work fine in all other applications (word, excel, powerpoint, preview, etc.). Grabbing the scroll bar and moving it up and down works fine also.
    Only failure is the down scroll arrow when in Firefox or Safari.

    Thanks for your help, but in setting up another account, I was looking at the settings for Firefox on the MacBook Pro (my wife's computer). I saw that for some reason she had turned off (probably accidentally) the status bar. Some reason turning it off merges the up scroll arrow and the window expansion corner, somehow turning off the scroll bar. Sounds stupid, but by turning it on I fixed the problem she had.

  • Page-up/down not working for scrolling in grid (4.0EA1)

    when displaying data for a table, after clicking in a row, page-up/down does not work for scrolling; scrollbar is working and cursor-up/down; did work in 3.2
    when manually executing a select in the sql-worksheet, page-up/down are working in the result-grid.

    Yes, Thanks we noted it. BrianJ is working on it.
    B

  • Page scrolling with keyboard not working

    Scrolling not working using keyboard. Page Up / Page Down, Arrow Keys - Up, Down, Left & Right - keys do not work.
    Scrolling is possible only by using the scroll bar.

    hey rmurthy, please press f7 in order to switch off caret browsing mode, then the arrow keys should work as known before.

  • Installed new version of Firefox, now scroll wheel does not work

    Installed new version of Firefox, now my scroll wheel does not work. I need this fixed immediately or will be forced to abandon Firefox as my browser. Can anyone help? I saw some Q&A on this but no definite fix. Thanks!
    == This happened ==
    Every time Firefox opened
    == Immediately after I installed

    I have the same problem, plus more. I cannot click on a button, does no good. I have been using 3.01, would never upgrade; always had a problem since 3.5. Now I upgrade to 3.66 figuring the problems were over, wrong. No scroll wheel, no buttons, cannot close half the windows, cannot go to a bookmarked page. Did Microsoft take over Mozilla? If I wanted a junk browser, I would use IE. I want the Firefox that it used to be; stable, reliable. What happened? Only way I can get Firefox to work is in safe-mode.

  • HT1414 my iphone 4s will not come on.  i used it today now it just does not work.  i cant power off or nothing.

    my iphone 4s will not come on.  i used it today now it just does not work.  i cant power off or nothing.

    Try this...
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear and then Disappear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    Turn the Phone On...
    iPhone User Guide

  • U410 a year old, touchpad not working, have to turn it off, otherwise it clicks everything.

    I have a U410, and it's a year and a half old. Touchpad is not working, so I turn it off to do anything. If I don't, it thinks I'm clicking on everything, thus causing tons of problems, freakouts, etc.

    Hi Apache05,
    Welcome to Lenovo Community!
    As per the query we understood that you are facing issue with touchpad in your Lenovo U410 laptop.
    Try to boot the system into safe mode and check for the issue, also try to update the driver to the latest version and check for the issue.
    Click here for the touchpad drivers for windows 8.
    Click here for the touchpad for windows 7.
    Hope this helps. Do post back if issue persists!
    Best regards,       
    Ashwin.S
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • My iphone fall in the sea and now it's not working how i can take off my photo and numbers ? and do u thing it will be work or what plz help me !!!!!!!!!!!!!!!

    my iphone fall in the sea and now it's not working how i can take off my photo and numbers ? and do u thing it will be work or what plz help me !!!!!!!!!!!!!!!

    Sea water and electronics don't mix.  The salinity fries the internal circuitry of the phone. Your phone is toast.
    Certainly the user of any device which can be lost, stolen, or dropped in the sea would be smart enough to have had the data backed up, rght?  Your photos and numbers should be safely backed up on your computer or in the cloud.
    If you didn't do this, there's no way to recover those data now.  Backups are meant to be done BEFORE disaster strikes, not after.

  • Remote Functions Not Working - Rapid Scroll, Press/Hold Select, etc

    I am having lots of problems with the Apple TV + remote. The "Press/Hold Select Button for more options" feature while playing songs does not work. All it does is stop the song - just like play/pause. In fact, none of the "hold" settings on the remote control work. For the initial setup I was able to fast scroll through the alphabet in setting up my account. Now whenever I try to rapid scroll through anything, it is one cursor move per click - holding the button will never move the cursor more than one position.
    I have restored the Apple TV/updated its software and reset to factory settings - no change in this errant behavior.
    Any suggestions? Quite frustrating!

    Hi, I've experienced the same problem this week with my new Apple TV and I've changed to another HDMI connector (My TV has 3) and now Quick Scroll works perfect!!!  I hope that helps you...

  • My scroll bar is not working properly. It works if I click the outline only. How do I fix this?

    I have tried reinstalling the lastest version but it did not fix the problem. I am running windows 7 on a hp envy. My scroll bar was working fine before the firefox version 4 update. Also the up and down arrows do not work unless I click on the outline of the boxes either. Any help in resolving this issue would be greatly appreciated as this is vary annoying.

    Does your MacBook have a removable battery?
    If so, try removing the battery and running just on the power adapter. Don't do anything too important as the computer will power off if the power adapter comes loose! Just do this for a few minutes to see if your trackpad works any better.
    If your battery isn't removable, run your hand over the bottom of the computer - or run a level over it if you have one - to see if it's flat.
    In either case, it's possible your battery has swollen and is applying pressure on the connection for the trackpad, which in turn means the trackpad won't work as expected.
    ~Lyssa

  • Active state not working in scrolling site (with anchor links)

    I'm design a scrolling site with anchor links and an horizontal menu on the top.
    when i publish the site and click on the menu buttons the site scrolling to the place of the anchor but the active state in the menu is not working.
    now... when i leave the main page (were the scrolling site is) and then return back to it all active states are working perfectly
    anyone have this bug? or any one know how to fix it ?

    Hmmm...I've just been playing around, and I think I got the Active State to work correctly.  I think my problem was not understand what Active State means.
    To answer your question, I was changing the Font Color and Box Fill Color of the Active State.
    I did not understand that Active State means the look of the Menu Item when the PAGE is active.  I thought it meant the look of the Menu item when the cursor is scrolling down the Menu (i.e. when the MENU is Active, not the page).
    Look at this page for an example of what I'm trying to achieve...
    http://www.pgavdestinations.com
    When you hover over the "Work" menu item, and move the cursor down the menu, the state of "Work" remains changed until you move the cursor off of that menu column. It does NOT return back to it's Normal state until you are off of that menu column.
    Is there a way to achieve this with the menu states in Muse?
    Thanks for the replies!
    Dave.

Maybe you are looking for

  • Can I return my 8G for 16G

    Well, I just bought the 8G phone on Sunday!! Can I return it for the new 16 (plus a $100)?

  • Any way to just 'preview' a PDF file?

    Is there any way to be able to open up a PDF file (using Reader or web plugin) and have NONE of the menu bars available?  All I want the user to do is open the file, scroll up and down, and quit.  Mainly for security reasons to block them saving the

  • Firefox 37 crashes when using Peacekeeper browser test

    Hi guys, I updated my browser with Firefox 37 and it crashes on me every time I use the Peacekeeper browser benchmark test. I've had no issues using the website in the past. Every time I update my browser I run the test to compare previous results as

  • Opening PDF in browser using Adobe API - with mark up and comment features

    Hey,   Here is the scenario :   Firstly, the user has to review the file (say pdf) before approving it. I would like to open the pdf file in the browser directly for reviewing. Also, I want to add some mark up (sticky notes, etc) and comment features

  • PE preview pane keeps distorting pics and turns everything green

    I recently upgraded to photoshop and premier elements 8.  I have been having problems with the preview pane in premier turning all the photos green (as if there is a green filter on top of the photos.  Has anyone got any suggestions?  I can't figure