Auto generated scroll bars won't go away

I used the following sample script provided by macromedia to
create a scrolling text area powered from a text file and css file,
but when I move on to another part of the FLA., the scroll bars
generated by this script remain - on top of other layers. How can I
tell the scroll bars to go away?
//Copyright (C) 2005 Macromedia, Inc. All Rights Reserved.
//The following is Sample Code and is subject to all
restrictions on
//such code as contained in the End User License Agreement
accompanying
//this product.
//Handle the UIScrollBar - instance in library
this.createClassObject(mx.controls.UIScrollBar, "my_sb", 20);
// Set the target text field for the scroll bar.
my_sb.setScrollTarget(my_txt);
// Size it to match the text field.
my_sb.setSize(16, my_txt._height);
// Move it next to the text field.
my_sb.move(my_txt._x + my_txt._width, my_txt._y);
//Note: Download the TXT and CSS files to look at their
structure. Use the URLs below.
//load text
function loadMyText(evt) {
var loadit_lv:LoadVars = new LoadVars();
loadit_lv.load("projects.txt");
loadit_lv.onLoad = function(success:Boolean) {
if (success) {
my_txt.text = this.content;
} else {
trace("Could not load text file.");
loadMyText();
//apply stylesheet
var flash_css = new TextField.StyleSheet();
flash_css.load("levi.css");
flash_css.onLoad = function(success:Boolean) {
if (success) {
my_txt.styleSheet = flash_css;
} else {
trace("Could not load CSS file.");
};

try:

Similar Messages

  • After IOS 8 update, bookmark bar won't go away

    After upgrading to IOS 8 on my iPad 2, in landscape mode in Safari, the bookmarks bar, now combined with links and "Reading List", won't go away. I believe it is supposed to go away when you select one of the functions, such as bookmark, so that the tab turns blue, then hit it again. It doesn't. I can turn it to portrait mode to make it go away, but I'd like to use landscape mode without losing a third of the screen to bookmarks.

    Apple knows what's good for you - how dare you criticizing their benevolent parental guidance?
    Jokes aside, I'm also a little bit puzzled that there's no option to choose between the "toggle on-off" setting in landscape mode and the fade out one as in portrait In Safari's settings. But there's actually some kind of workaround I'm now using most of the time in landscape mode:
    When tapping the URL address bar your bookmarks will also show above the virtual keyboard as they do when Safari doesn't have any websites opened. As soon as one taps into that bookmark window to scroll or directly click a bookmark the keyboard disappears again. It may not be a perfect method, especially when bookmarks aren't organized in folders, because the top level bookmarks are displayed as rather largish icons. But those contained in a folder will actually display as a drop-down list (can be scrolled when having a large number of entries) similar to the normal bookmarks list. Once a bookmark has been clicked everything fades out and you're taken to the selected site. As my bookmarks are almost exclusively in folders such as "News", "Sports", "Tech" etc. I've come to appreciate this kind of bookmark navigation much more than through the standard bookmarks menu with its annoying behavior in landscape mode.

  • Really simple question, stop function and scroll bar won't work

    I was working on different parts of this VI separately, when I put them together the scroll bar and stop button stopped working. 
    In the individual VI both are in the while loop. In the final one I was one scroll bar and one stop button to apply to all 5 while loops.
    I tried taking the scroll bar in and out of the first loop to attach it to the rest but it still won't work.
    I'm sure that there is a really stupid simple answer but I've been playing with it for a while.
    I attached the VI that I am working on as well at fake data (to test the color boxes).
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    trial8.vi ‏95 KB
    trial8.vi ‏95 KB
    0_1024.txt ‏25 KB

    You have a typical beginner problem due to incorrect understanding of dataflow. Run the code using execution highlighting and watch the diagram to see.
    Your stop button is outside any loop and thus will only be read by the code exactly once at the start of the program.
    Your scroll bar is read in the first loop. All other loops cannot start until the first loop has completed and since (1) is true, it will never happen if the boolean is false when the code starts.
    Why do you have so much duplicate code? 95% of the loop code is the same and can be re-used. I am sure the entire thing could be written using 5% of the total code. Put everything in one loop, the iterate over the 2D array to get all the values. Don't forget to place a small wait inside the while loop.
    LabVIEW Champion . Do more with less code and in less time .

  • ITune side scroll bars won't scroll when up or down arrow held

    This is a problem, only in iTunes. My side scroll bars stopped working. When I push arrow up or down, they barely budge. I have to manually slide the bar.
    I want my scroll bar function back. Thanks for your help.

    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • InDesign cs6 bottom and side scroll bars won't work

    I had to reinstall InDesign (cs6), and now my bottom and side scroll bars are not working. I had this problem once before, and found the answer online, fixing it easily, but I can't remember what it was, and now I'm stuck with scroll bars that don't work. The one inside the layers palette works just fine. Help!

    No promises, but see Replace Your Preferences

  • When playing games in Mindjolt games on facebook, I am unable to scoll down to see scores of other players, the scroll bar won't go down all the way.

    Don't know what else to say, that pretty much sums it up.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Drives in favourites bar won't go away

    Hi all,
    Since upgrading/migrating from MacPro Lion to MacMini Mountain Lion I have had a few problems, some have resolved, but others... well here goes.
    Finder:
    I have re-applied a new command (new email with selection ⌃⌥⌘N) but it does not work at all. It did in Lion.
    Certain USB drives are showing up in the Sidebar that shouldn't be. Even when I remove them from the Sidebar they return.
    This leads me to think there is some wierdness happening in mym system but can't see where...
    I have used onyx for do a bit of safe maintenance, I have used the restore partition to repair disk (none was necessary) and also repair permissions.
    Same conditions exist.
    Can someon please help me on this.
    Just to be clear, the system is not unreliable other then the annoying "HDMI screen goes dead and moves windows unnecessarily thing" (do you know a fix for this?)
    But it does clearly seem that the OS is not properly obeying, and this I think is a problem.
    Thanks for your help,
    Aaron

    Here's the problem:
    Note the location of the disks "Work" and "Elements". They shouldn't be in the favourites, and they shouldn't be in such a wierd order.
    They only belong in the devices tray - they are doubling up. Even after I remove them manually.

  • Return to initial position when dragging scroll bar

    There is a function in Windows that when using mouse cursor to drag the scroll bar, moving the cursor away from the scroll bar makes the bar go back to its initial position. Does OS X have a similar function? It is useful when looking figures during reading a large document.

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • When I turn on my iPad the grey 'brightness slider' is in the centre of the screen and I can't get rid of it. I've tried switching on / off 'auto-brightness' in 'settings' but it won't go away. What am I doing wrong? Any advice gratefully received.

    When I turn on my iPad the grey 'brightness slider' is in the centre of the screen and I can't get rid of it. I've tried switching on / off 'auto-brightness' in 'settings' but it won't go away. What am I doing wrong? Any advice gratefully received.

    That folder with the question mark icon means that the MacBook can't find the boot directory. That can either mean it can't find the hard drive or the Operating System data on the hard drive is somehow corrupted.
    Put your install DVD into the optical drive (CD/DVD drive) and reboot. As soon as you hear the boot chime, hold down the "c" key on your keyboard (or the Option key until the Install Disk shows up). That will force your MacBook to boot from the install DVD in the optical drive.
    When it does start up, you'll see a panel asking you to choose your language. Choose your language and press the Return key on your keyboard once. It will then present you with an Installation window. Completely ignore this window and click on Utilities in the top menu and scroll down to Disk Utility and click it. When it comes up is your Hard Drive in the list on the left?
    If it is then click on the Mac OS partition of your hard drive in the left hand list. Then select the First Aid Tab and run Repair Disk. The Repair Disk button won't be available until you've clicked on the Mac OS partition on your hard drive. If that repairs any problems run it again until the green OK appears and then run Repair Permissions.
    If your hard drive isn’t recognized in Disk Utility then your hard drive is probably dead.

  • How do I get rid of the blue "downloading the latest applications" bar which won't go away even after uninstalling and reinstalling Firefox?

    Can't get rid of the blue "downloading the latest applications" bar that seems to be just hanging and won't go away. I uninstalled and reinstalled Firefox, but the bar is still there after 2 days. I updated something (can't remember what!) on I.E., and it had the same blue bar, but it had a box I could x out of so it went away on I.E. I don't know why the blue bar is there on Firefox, as I did the update while on I.E.
    == This happened ==
    Every time Firefox opened
    == I updated an application while on Internet Explorer.

    Annette,
    #In the menu bar, at the top of the Firefox window, Go to Tools -> Add-ons -> Extensions.
    # Locate ''each ''of the following extensions by name and click the disable button
    #Restart Firefox as prompted and see if the undesired toolbar has been removed.
    #The extensions to disable are: '''Crawler Toolbar''', '''MP3 Rocket Toolbar''', '''MSN Toolbar''', '''Search Helper Extension'''
    If you don't need some / all of those toolbars, consider leaving them disabled.
    You can probably remove these toolbars permanently from Start -> Control Panel -> Add/Remove Programs.

  • How to get Auto scroll bar in a JSP?

    Hi Gurus,
    I have created a custom jsp page in a B2B application. How to get the auto scroll bar when page is exceeded than it can display?
    Is there any specific tag or div which is to be included to get this scroll bar?
    Thanks a lot in advance!!
    Regards,
    Lakshman.

    Hi Lakshman,
    You can include it in stylsheet and then use that class in your <body> or "div"  tag.
    the CSS command is
    overflow:auto;
    you can use like
    <body style="overflow: auto;"> or -- div style="overflow: auto;" 
    You can declare class in ".css" file
    #c1
    .c1
    <body id="c1>> or <div id="c1">
    <body class="c1>> or <div class="c1">
    You can use either "class" or "id" by adding it to "CSS" file and the use it to any JSP file or by direct aditing "Style" attirbute in tag.
    so when your content is longer then your screen browser will display scroll bar automatically.
    I hope this will help you.
    Thanks and Regards.
    eCommerce Developer
    Edited by: Ecommerce Developer on Jul 9, 2009 5:58 PM
    Edited by: Ecommerce Developer on Jul 9, 2009 5:59 PM

  • Lower scroll bar stays right, won't let me scroll left and stay there

    I can't keep the bottom scroll bar, which shows up when pages are too big, to the left where is belongs, it automatically will scroll my page right and although I can try to drag the scroll back left it's difficult to grab and do and it won't stay there at all.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • My scroll bar is now missing on some of my pages that I need to scroll through and it won't let me use my mouse to scroll either, how can I get this back?

    When I am logged into the tool section of our website where I process orders or make edits to products on our website, the scroll bar on the right hand side of the screen is missing. So I am unable to view orders or products that go down further than what I can view immediately on my screen. The scroll bar is only missing on pages with lists of items it is not missing if I click into an individual order. I really need this back so I can work on the website.

    That file might have moved to a different location on the server. I think you'll need to check with RefWorks support or your local IT department on why the install page links do not work.

  • How to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot controlled with mouse, returns auto to top of scroll slide, never remaining at bottom

    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.

    cjuan1morb4ulv wrote:
    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.
    The first two problems (box cycling from element to element on page, scroll bar returning to top) can be caused by a stuck (or defective) Tab key on the keyboard. Such damage can be caused by a liquid spill; just one tiny droplet is enough to short a wafer switch under one key.
    The last issue (black box, white text - sounds sorta like a debugger window) I haven't seen, but could be caused by something similar.
    To check for that, try using a different keyboard. If you're using a wireless keyboard, turn it off and see if the oddities stop.

  • How to do implement an Auto scrolling bar in Forms 9i

    Hi,friends
    How can we implement a automatic scrolling bar when we edit item data in block which is so wide.
    I will be appreciated for your response,Thank you!!
    Pls give me some ideas
    Panzhen

    Hi,
    actually this functionality does not work. The reason for this is that Forms9i is Web only and there is no functionality downloaded with the generic Java Applet. For the moment I filed an enhancement request to have this on our radar. Meanwhile, if you need thi sfunctionality you can help yourself by writing a PJC that opens a dialog and performs the action that you want to.
    Frank
    Forms Product Management

Maybe you are looking for