Scrolling bar longer when imported

Hallo everybody I have a very annoying problem with a
movieclip.
I have created a scrolling bar with some button attached and
it works fine. When I open the related swf It is fine. The problem
starts when I import it in my main .fla inside a MovieClip Holder.
the scrolling bar is longer than the one that I can see in the
single swf. What can I do?
the site is www.studiosimultaneo.com and if yo go inn the
section "portfolio" you can see the scrolling bar
thank yo so much

Thank you I did follow the tutorial that you gave me. It is
actually very. If I follow the example it works but I cannot work
it out if I have to use an Horizontal (x) bar and I just need the
scroolbar.
The code from the tutorial was:
scrolling = function () {
var scrollHeight:Number = scrollTrack._height;
var contentHeight:Number = contentMain._height;
var scrollFaceHeight:Number = scrollFace._height;
var maskHeight:Number = maskedView._height;
var initPosition:Number = scrollFace._y=scrollTrack._y;
var initContentPos:Number = contentMain._y;
var finalContentPos:Number =
maskHeight-contentHeight+initContentPos;
var left:Number = scrollTrack._x;
var top:Number = scrollTrack._y;
var right:Number = scrollTrack._x;
var bottom:Number =
scrollTrack._height-scrollFaceHeight+scrollTrack._y;
var dy:Number = 0;
var speed:Number = 10;
var moveVal:Number =
(contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
scrollFace.onPress = function() {
var currPos:Number = this._y;
startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function() {
dy = Math.abs(initPosition-this._y);
contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
scrollFace.onMouseUp = function() {
stopDrag();
delete this.onMouseMove;
btnUp.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._y+speed<maskedView._y) {
if (scrollFace._y<=top) {
scrollFace._y = top;
} else {
scrollFace._y -= speed/moveVal;
contentMain._y += speed;
} else {
scrollFace._y = top;
contentMain._y = maskedView._y;
delete this.onEnterFrame;
btnUp.onDragOut = function() {
delete this.onEnterFrame;
btnUp.onRollOut = function() {
delete this.onEnterFrame;
btnDown.onPress = function() {
this.onEnterFrame = function() {
if (contentMain._y-speed>finalContentPos) {
if (scrollFace._y>=bottom) {
scrollFace._y = bottom;
} else {
scrollFace._y += speed/moveVal;
contentMain._y -= speed;
} else {
scrollFace._y = bottom;
contentMain._y = finalContentPos;
delete this.onEnterFrame;
btnDown.onRelease = function() {
delete this.onEnterFrame;
btnDown.onDragOut = function() {
delete this.onEnterFrame;
if (contentHeight<maskHeight) {
scrollFace._visible = false;
btnUp.enabled = false;
btnDown.enabled = false;
} else {
scrollFace._visible = true;
btnUp.enabled = true;
btnDown.enabled = true;
scrolling();
And I have tried to change the Height with the Width and the
Y with The X like this:
scrolling = function () {
var scrollWidth:Number = scrollTrack._width;
var contentWidth:Number = contentMain._width;
var scrollFaceWidth:Number = scrollFace._width;
var maskWidth:Number = maskedView._height;
var initPosition:Number = scrollFace._x=scrollTrack._x;
var initContentPos:Number = contentMain._x;
var finalContentPos:Number =
maskWidth-contentWidth+initContentPos;
var left:Number = scrollTrack._x;
var top:Number = scrollTrack._y;
var right:Number = scrollTrack._x;
var bottom:Number =
scrollTrack._width-scrollFaceWidth+scrollTrack._x;
var dy:Number = 0;
var speed:Number = 10;
var moveVal:Number =
(contentWidth-maskWidth)/(scrollWidth-scrollFaceWidth);
scrollFace.onPress = function() {
var currPos:Number = this._y;
startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function() {
dy = Math.abs(initPosition-this._y);
contentMain._x = Math.round(dy*-1*moveVal+initContentPos);
scrollFace.onMouseUp = function() {
stopDrag();
delete this.onMouseMove;
the contents are sliding from left to ride the But the
scrollbar goes from top to bottom. I really want to understand how
it works. the tutorial is very clear and I did follow it very
carefully.
Would you help me?
Thank you

Similar Messages

  • My scroll bar dissapears when my firefox screen isn't maximized - how do I make it show up when not full screen?

    This just happened spontaneously yesterday - did I press some strange shortcut to make this happen? How do I get my scroll bar back when not in full screen?
    Please help!

    It is possible that the screen is too high and that the status bar and scroll bar fall off at the bottom.<br />
    Open the system menu via Alt+Space and see if you can resize that window.<br />
    If that works then close Firefox to save that setting.<br />
    See also:
    * http://kb.mozillazine.org/Resizing_oversize_window
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Vertical scroll bar disappears when I minimize the screen

    I have Firefox 10.0.2. I do have a vertical scroll bar with both the up and down button; however, they all disappear when I minimize the screen. When I am in Ancestry, for example, when I minimize I get a horizontal scroll bar but there is no vertical scroll bar. I have no clue what to do. I minimize screens a lot when I am in Ancestry and it gets very frustrating. Can anyone help?

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.
    If the problem persists, you can also try disabling the '''Plugins''' in Tools > Add-ons temporarily to check.

  • ADF vertical table scroll bar issue when many records.

    Good morning!
    I am using Oracle JDeveloper version 11.1.1.6.0.
    I have a search form and a simple ready-only table displaying about 1 million of records.
    At the top of my search form, I have navigation buttons (First, Previous, Next, Last).
    So when I click for example on the Next button, my table will highlight the next corresponding row as expected.
    But here is the issue. When I click the Last button, the vertical scroll bar of the table does not scroll (automatically) to the end and display to me the very last row of my table.
    How can I achieve this? When I manually scroll to the last row, I would find it highlighted but I need the vertical scroll bar to react on Last and First buttons click even though I have a big number of rows.
    What should I do?
    Any suggestion will be very much appreciated
    Life.

    Hi Frank,
    I have found the answer. Here it is for anyone who would ever have or meet the same issue.
    In Jsf table property inspector
    I binded my table to my java bean (I called it myRichTable).
    I added the First and Last buttons as partial triggers of my table
    In java bean
    In my last() method I encluded the following line of code:  myRichTable.setDisplayRow(myRichTable.DISPLAY_ROW_LAST).
    And in the first():  myRichTable.setDisplayRow(myRichTable.DISPLAY_ROW_FIRST);
    Thanks!

  • Scroll bar disappears when clicking on up or down since v32.0.0

    The scroll bar disappears in the main window and also in scroll boxes when clicking on up and down.

    '''Note;''' Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''

  • I need to turn the horizontal and vertical scroll bars off when in full screen mode is this possible

    I am using a touchscreen monitor and am running the website at 1280 x 1024, however there are scroll bars and I dont want them and I dont want to alter the HTML

    Try this code in the file [http://kb.mozillazine.org/userContent.css userContent.css]
    <pre><nowiki>html,body { overflow: hidden !important; }</nowiki></pre>
    * http://kb.mozillazine.org/Editing_configuration
    * ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html

  • A horizontal Scroll Bar appears when it shouldn't - how do I get rid of it?

    Operating System: WIN 8, 8.1
    I am using a website (ribbon.me) which has a built in horizontal bar on its Explore TimeMap (basically a combination of a map and calendar into a single tool) that users can grab with the cursor / mouse to move the date forward or backwards in time. There is NOT supposed to be a "standard browser scroll bar" but one is appearing in Chrome. It only appears on my brand new computer...on my old Windows 7 computer, using latest Chrome, the scroll bar doesn't appear. (Even in Internet Explorer on the new computer, the scroll bar doesnt appear...but I dislike IE and LOVE Firefox) How the heck do I get rid of this scroll bar?
    Please help!

    Application Basics
    Name: Firefox
    Version: 24.0
    User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0
    Extensions
    Important Modified Preferences
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    browser.places.smartBookmarksVersion: 4
    browser.startup.homepage_override.buildID: 20130910160258
    browser.startup.homepage_override.mstone: 24.0
    extensions.lastAppVersion: 24.0
    gfx.direct3d.last_used_feature_level_idx: 0
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1382124597
    places.history.expiration.transient_current_max_pages: 104858
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    privacy.sanitize.migrateFx3Prefs: true
    storage.vacuum.last.index: 1
    storage.vacuum.last.places.sqlite: 1380228821
    Graphics
    Adapter Description: Intel(R) HD Graphics Family
    Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
    Adapter RAM: Unknown
    Device ID: 0x0a16
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.3.9600.16384)
    Driver Date: 10-1-2013
    Driver Version: 10.18.10.3316
    GPU #2 Active: false
    GPU Accelerated Windows: 1/1 Direct3D 10
    Vendor ID: 0x8086
    WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote: false
    AzureCanvasBackend: direct2d
    AzureContentBackend: direct2d
    AzureFallbackCanvasBackend: cairo
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: true
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10
    Version in use: 4.10
    NSS
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSSMIME
    In reply to Nellus91:
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSSSL
    Expected minimum version: 3.15.1 Basic ECC
    Version in use: 3.15.1 Basic ECC
    NSSUTIL
    Expected minimum version: 3.15.1
    Version in use: 3.15.1

  • Scroll bar moves when clicked on

    Hello.  I have a custom scroll bar that was made using AS2.  It works fine except that when you click on the bar and move it, the image shifts slightly and then doesn't line up correctly.  I don't know what's causing it to shift.  All registration points are in the upper left hand corner.  I was really hoping someone could help me with this.  Here is the code:
    txt.setMask(mask)
    scrollbar.onMouseDown = function() {
        if (this.hitTest(_root._xmouse, _root._ymouse) && txt._height>mask._height) {
            this.startDrag(false, scrollbarBG._x, scrollbarBG._y, scrollbarBG._x, scrollbarBG._height-this._height)
            txt.onEnterFrame = scrollThumbs;
            dragging = true
    scrollbar.onMouseUp = function() {
        stopDrag()
        dragging = false
        delete this.onEnterFrame;
    function scrollThumbs() {
        var funkyVar = -this._parent.scrollbar._y*(((this._height-this._parent.scrollbar._height)/(this._parent. scrollbarBG._height-this._parent.scrollbar._height))-1)
        this.Y = (funkyVar-this._y)*.2;
        this._y += this.Y;
        if(Math.abs(funkyVar-this._y)<1 && !dragging){
            delete this.onEnterFrame

    Thank you very much for the code.  After what you said, though, I went to find different code.  I used kirupa this time.  I just finished testing it out.  I typed in the code and it went a lot smoother.  However, the scroll bar top is STILL shifting to the side.  So it must mean it's not the code that is messing up?  All the registration points are in the upper left hand corner.  Should the points be somewhere else to stop the shifting?  Here's the code:
    scrolling = function () {
    var scrollHeight:Number = scrollTrack._height;
    var contentHeight:Number = contentMain._height;
    var scrollFaceHeight:Number = scrollFace._height;
    var maskHeight:Number = maskedView._height;
    var initPosition:Number = scrollFace._y=scrollTrack._y;
    var initContentPos:Number = contentMain._y;
    var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
    var left:Number = scrollTrack._x;
    var top:Number = scrollTrack._y;
    var right:Number = scrollTrack._x;
    var bottom:Number = scrollTrack._height-scrollFaceHeight+scrollTrack._y;
    var dy:Number = 0;
    var speed:Number = 10;
    var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
    scrollFace.onPress = function() {
    var currPos:Number = this._y;
    startDrag(this, false, left, top, right, bottom);
    this.onMouseMove = function() {
    dy = Math.abs(initPosition-this._y);
    contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
    scrollFace.onMouseUp = function() {
    stopDrag();
    delete this.onMouseMove;
    btnUp.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y+speed<maskedView._y) {
    if (scrollFace._y<=top) {
    scrollFace._y = top;
    } else {
    scrollFace._y -= speed/moveVal;
    contentMain._y += speed;
    } else {
    scrollFace._y = top;
    contentMain._y = maskedView._y;
    delete this.onEnterFrame;
    btnUp.onDragOut = function() {
    delete this.onEnterFrame;
    btnUp.onRollOut = function() {
    delete this.onEnterFrame;
    btnDown.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y-speed>finalContentPos) {
    if (scrollFace._y>=bottom) {
    scrollFace._y = bottom;
    } else {
    scrollFace._y += speed/moveVal;
    contentMain._y -= speed;
    } else {
    scrollFace._y = bottom;
    contentMain._y = finalContentPos;
    delete this.onEnterFrame;
    btnDown.onRelease = function() {
    delete this.onEnterFrame;
    btnDown.onDragOut = function() {
    delete this.onEnterFrame;
    if (contentHeight<maskHeight) {
    scrollFace._visible = false;
    btnUp.enabled = false;
    btnDown.enabled = false;
    } else {
    scrollFace._visible = true;
    btnUp.enabled = true;
    btnDown.enabled = true;
    scrolling();

  • Scroll bar disappears when screen scharing

    When screen sharing between my iMac (10.9.3) and my Mac Mini (10.9.3) the scroll bar in most (many? all?) applications disappears.
    With the finder, if one resizes a column, the scroll bar will reappear.
    With Preferences, such as iCloud, there is no way to get the scroll bar to reappear.
    However, I use a Kensington Trackball which has a scroll wheel. The Scroll wheel does scroll the window as expected AND while scrolling, the scroll bar will re-appear until use of the scroll wheel stops.
    Note that Prefernces/General is set to "Automatically based on Mouse or Trackpad"
    Message was edited by: William H. Magill1 - add system preferences

    No. The Mini is headless (the reason for using Screen Sharing).
    The iMac has a 102key Logitech Keyboad and Kensington Expert Mouse (trackball), which uses Kensington's Tracball Works software.
    I suspect that this is a real bug, simply because of the way the Finder responds.
    I've already submitted a feedback report.

  • "Scroll Bar" appears when moving cursor - Satellite L305D-S5904

    I just bought a Satellite L305D-S5904 for my mother.
    It came with Windows Vista Home Premium.
    I noticed that a tiny scroll bar appears at the cursor sometimes.
    It makes navigation quite a pain.
    Can you turn this feature off?
    To clarify, when using the touchpad, moving the cursor, sometimes a tiny "scrollbar" appears at the point of the cursor's "arrow."
    This is unbelievably aggrevating!
    I've never seen such a thing before.
    Thanks for the help!

    > I've never seen such a thing before.
    Maybe because you didnt work with such hi-tech touchpad??? ;) lol
    This is a touchpad feature which can be disabled in touchpad properties.
    Check you control panel-> mouse
    There should be something about touchpad settings.
    There you have to disable the Virtual scrolling.

  • Change the amout a scroll bar moves when user uses the mouse wheel?

    hi,
    i have a JScrollPane, and when a user uses the "wheel" on the mouse, it seems to move up/down 1 line at a time...i would like it to scroll faster basically...so that when the "wheel", the scroll bars move up/down like 5 lines at a time....is there some way to set this value, or how can i do it?
    thanks

    It looks like it behaves just like if the user had clicked the up or down arrow on the scrollbar, so
    I would suggest setting the unit increment on the vertical scroll bar to be 5X its current value. Of
    course, this would also increase the amount that gets scrolled when the user clicks on the up
    or down arrow. If you don't want that, you'd need to somehow only change the increment on a
    mouse wheel event, do the scroll, then change it back. My guess is that you'll need to provide
    your own look and feel class to do that.
    : jay

  • Tried suggestion to no avail. Scroll bar disappears when pressing up and down since v32.0.0

    Tried suggestion to no avail.

    please continue in your original thread and don't open new questions for the same issue: https://support.mozilla.org/en-US/questions/1020966

  • Scroll Bar no longer visible - how do I get it back??

    I have recently upgraded my Mac desktop to Mountain Lion and I no longer have the scroll bar visible when I use Safari. Any ideas how I can get it back please? Thanks

    Don't worry I've worked out how to do it from another post!

  • Table with fixed header and scroll bar

    Was able to use Dreamweaver 2004 to set up a table to display
    data from a MySQL table. But then the customer wanted to have a
    scroll bar on one side and fixed headers at the top "like Excel",
    because the number of rows retrieved were too long to fit on a
    page. This was harder than I thought. I had to use CSS and
    Javascript with a lot of help to make this happen. Then it didn't
    work in IE7, so I had to use a different approach for IE. I got it
    to almost work perfectly in IE7. It just has a tiny bit of the
    table visible scrolling by above the header rows.
    http://www.ykfp.org/php/lyletrap/tabletotalscss13.php
    Why does Microsoft make this so difficult? Why aren't web standards
    good enough for Microsoft? Is there a better approach to tables
    with scroll bars?

    When things go sour in any browser, validate your code.  I see you have some unclosed <table> tags which could effect page rendering.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.ykfp.org%2Fphp%2Flyletrap%2Ft abletotalscss09.php
    If you still have problems with IE8 after fixing the code errors, try adding this meta tag to your <head>.  It forces IE8 into IE7 mode.
    <meta http-equiv="X-UA-Compatible" content="IE=7">
    Hope that helps,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Has anyone downloaded Yosemite and found that there are no ore scroll bars? I have to move the window (of any window, Skype window, browser window etc.) in order to find the scroll bar and then it disappears so fast I can't even use it.

    Has anyone downloaded Yosemite and found that there are no ore scroll bars? I have to move the window (of any window, Skype window, browser window etc.) in order to find the scroll bar and then it disappears so fast I can't even use it.

    Not sure why that was unchecked but good to know!
    Apple's new default (since at least a couple of OS releases back) is to have it off so OS X matches the behavior of an iPhone or iPad.
    I almost never need a scroll bar, and when I do, I just move over to the edge of the window when scrolling and a larger scroll bar appears.
    Yes, for the most part, users don't really need the scroll bar. That's what the scroll wheel on almost all mice is for. Saves the trip over to bar to physically grab and move it. But, I do like it on all the time regardless. That way (especially with a long article) I can just take a quick glance over to the bar to see about where I am on the page (a third of the way down? halfway?). Otherwise, I have to move the page just to make it appear to give me the same information.

Maybe you are looking for