Need dynamic scroller mc to work in main timeline

I have a dynamic image scroller that scrolls right or left following where the mouse is.  When you hover over the images, a pop-up box also appears with information.
This scroller works perfectly fine within the mc scene, but once i drag the mc into the main timeline the mc doesn't smoothly scroll right or left.  It's jumpy and the infobox doesn't work at all.
How can I get it to work smoothly on the main timeline?

the first problem i see is you're repeatedly executing that onMouseMove.  use:
//roll over is equal to the function
panel.onRollOver = panelOver;
//when it enters the box, it makes the "scrollPanel" function work
function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
var b = stroke.getBounds (this);
//makes the panel scroll with the mouse
function scrollPanel () {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
if(panel._x <= -707.8) {
panel._x = -707.8;
if(panel._x >= 332.4) {
panel._x = 332.4;
var xdist = _xmouse - 275;
panel._x += -xdist / 7;
//tip box is set to invisible to not be seen
infobox_mc._visible = false;
var tipInt;
//when rollover on button, tip box will say "blank"
panel.pic1_btn.onRollOver = function () {
mmF();
tipInt = setInterval(showTip, 100, "Piece 1");
panel.pic1_btn.onRollOut = function() {
hideTip();
panel.pic4_btn.onRollOver = function () {
tipInt = setInterval(showTip, 100, "Piece 2");
panel.pic4_btn.onRollOut = function() {
hideTip();
//counts the time that the mouse is over the button
var count = 0;
//clears the text in the textbox and makes the box follow the mouse, and if the count is at 3 then, it appears, otherwise, it adds "1"
function showTip(tiptext) {
if(count == 3) {
clearInterval(tipInt);
count = 0;
infobox_mc.tiptext.text = tiptext;
infobox_mc._x = _root._xmouse+this._x;
infobox_mc._y = _root._ymouse+this._y;
infobox_mc._visible = true;
else {
count++;
function mmF(){
this.onMouseMove = function() {
infobox_mc._x = _root._xmouse+this._x;
infobox_mc._y = _root._ymouse+this._y;
//hides the box when rolled off the button
function hideTip() {
clearInterval(tipInt);
infobox_mc._visible = false;
delete this.onMouseMove;

Similar Messages

  • My movie symbol not working in main timeline

    The symbol works in its own movie timeline, the keyframe length is the same length on both the movie symbol timeline and the main timeline.
    But movie symbol refuses to play on the main timeline.
    Any ideas?

    If it is a movieclip symbol, it doesn't need to have any more than one frame in whatever timeline you place it in to be able to play in its entirety.  What controls are you using to make it play?  Does the movieclip have any stop() command in its first frame(s)?

  • SetChildIndex inside mc dont work on main timeline

    Hi all,
    Inside of movieclip on keyframe i want a script that tells to swap depths between 2 mc's that are on main timeline. When i use setChildIndex inside of mc flash hits me with Error #2025. pls help.

    as you can see im quite a numb on as3,so propably i use trace(root.contains(root.MC1)) incorrectly, but it compiles me 2 erros:
    1061: Call to a possibly undefined method contains through a reference with static type flash.display:DisplayObject.
    and
    1119: Access of possibly undefined property MC1 through a reference with static type flash.display:DisplayObject.

  • Button in mc to display image on main timeline

    I have a movie clip (mc_menu) that sits on the main timeline. Inside mc_menu I have several buttons that display items inside the mc. I also need to display an image on the main timeline. I have converted the image to a movie clip (mc_01). I am using AS2.

    My knowledge with AS is essentially non-existant. I added the following code on an actions layer in the movie clip (mc_menu):
    _root.attachMovie(mc_forecaster2_test);
    I do not have any code in the main timeline for this interaction.
    I tried to place the mc_forecaster2_test on the main timeline stage, and put in code to make the visible false, and code in mc_menu to make the visible true, but so far, nothing has worked.

  • I double-click on event  to see all the photos in that event displayed, but all I get is 1 large photo on the edit page.  To see the photos in that event, I have to scroll.  Need to be able to work with all the photos in that event, not one at a time.

    I double-click on event  to see all the photos in that event displayed, but all I get is 1 large photo on the edit page.  To see the photos in that event, I have to scroll.  Need to be able to work with all the photos in that event, not one at a time.

    Maybe you need to adjust the zoom slider in the lower left corner of the window?
    Regards
    Léonie

  • Dynamic scrolling heading muse

    How would i create a dynamic scrolling heading similar to that off www.cnet.com where the header starts with a full sized logo but changes to a simple block format and stays locked at the top. I was considering using two different nag bars, the scrolling one under the main one but completely transparent and have them both set to scroll opacity so that the main one would disappear as you scroll and the smaller one would appear to replace it but I'm not too sure how to use that feature or even if it would work. I know it likely involves jQuery but I'm new to coding and web development so if anyone has an answer it would be greatly appreciated, thanks.
    Rodneytf

    Hi
    You can try using any composition or panel where you have to insert another object such as rectangles or menu items which would act on mouse click.
    For example :
    Insert composition/panel widget
    In target container insert another object such as rectangle with hyperlink to specific pages with styles applied.
    Thanks,
    Sanjit

  • Scroll is not working when results seen trhu SP01.

    Hi all,
    I have observed an issue , in one of mine report, when I see list using SP01 spool list , Scroll is not working.
    I have used   SET LEFT SCROLL-BOUNDARY . It is working if i run this report in Foreground.. but my need is to schedule that report, and see the results thru SP01. using SP01 Freezing is not working.
    Any one have any idea about this, please do help me out.
    Thanks in Advance.

    Hi,
    None of the interactive functions will work once the output is on the static spool.
    Regards,
    Darren

  • Mouse clicks, scrolling doesn't work in applications from start screen (let's call it "tile application")

    Hello!
    I need help.
    2 days ago the mouse worked fine. Yesterday I noticed that the mouse scroll does not work in the "Book Bazaar Reader". Now I found that the right mouse button and left mouse button does not work in some applications, but scrolling work in these applications.
    In mail application clicks work in some panels, scrolling doesn't work.
    In desktop mode, the mouse works perfectly.
    Please help!

    Hi
    Since at desktop mode everything fine, i suspected some application or 3rd party SW change your mouse setting
    Go to run, msconfig, run as administrator, within the System Configuration dialogue box find startup tab, find KHALMNPR (if you using logitec mouse) and uncheck it
    click ok and restart
    or try to do clean boot to eliminate 3rd party SW issue

  • Touchpad Scroll-buttons not working properly

    Hello all,
    I was not sure if this is actually a Desktop Environment or Hardware problem, but since it's hardware related I will post it here.
    The problem:
    On my touchpad (on Acer Aspire 5610Z) I have scroll button for up/down/left/right and until a recent update the scroll buttons need to be clicked repeatably in order to scroll. Before the upgrade and the way I'm expecting to behave is that when I click and hold a button - it should repeat the scroll (I hope you are able to understand it). So basically my problem is that to scroll with the scroll-buttons I have to click it numerous times in order to scroll, instead of just holding the button pressed.
    At the same time all other features like two-finger scrolling, gestures etc. are working, but I'm not used to scroll with two fingers and would like to have my scroll-buttons working.
    Here is some information about the configuration:
    10-synaptics.conf
    Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    Option "SHMConfig" "on"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "VertEdgeScroll" "on" # enable vertical scroll zone
    Option "HorizEdgeScroll" "on" # enable horizontal scroll zone
    Option "VertTwoFingerScroll" "on" # vertical scroll anywhere with two fingers
    Option "HorizTwoFingerScroll" "on" # horizontal scroll anywhere with two fingers
    EndSection
    Output of synclient -l
    Parameter settings:
    LeftEdge = 1752
    RightEdge = 5192
    TopEdge = 1620
    BottomEdge = 4236
    FingerLow = 25
    FingerHigh = 30
    FingerPress = 256
    MaxTapTime = 180
    MaxTapMove = 221
    MaxDoubleTapTime = 180
    SingleTapTimeout = 180
    ClickTime = 100
    FastTaps = 0
    EmulateMidButtonTime = 75
    EmulateTwoFingerMinZ = 282
    EmulateTwoFingerMinW = 7
    VertScrollDelta = 100
    HorizScrollDelta = 100
    VertEdgeScroll = 1
    HorizEdgeScroll = 1
    CornerCoasting = 1
    VertTwoFingerScroll = 1
    HorizTwoFingerScroll = 1
    MinSpeed = 1.6
    MaxSpeed = 1.75
    AccelFactor = 0.087
    TrackstickSpeed = 40
    EdgeMotionMinZ = 30
    EdgeMotionMaxZ = 160
    EdgeMotionMinSpeed = 1
    EdgeMotionMaxSpeed = 401
    EdgeMotionUseAlways = 0
    UpDownScrolling = 1
    LeftRightScrolling = 1
    UpDownScrollRepeat = 1
    LeftRightScrollRepeat = 1
    ScrollButtonRepeat = 100
    TouchpadOff = 0
    LockedDrags = 0
    LockedDragTimeout = 5000
    RTCornerButton = 0
    RBCornerButton = 0
    LTCornerButton = 0
    LBCornerButton = 0
    TapButton1 = 1
    TapButton2 = 2
    TapButton3 = 3
    ClickFinger1 = 1
    ClickFinger2 = 1
    ClickFinger3 = 1
    CircularScrolling = 0
    CircScrollDelta = 0.100007
    CircScrollTrigger = 0
    CircularPad = 0
    PalmDetect = 0
    PalmMinWidth = 10
    PalmMinZ = 200
    CoastingSpeed = 20
    CoastingFriction = 50
    PressureMotionMinZ = 30
    PressureMotionMaxZ = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice = 1
    TapAndDragGesture = 1
    AreaLeftEdge = 0
    AreaRightEdge = 0
    AreaTopEdge = 0
    AreaBottomEdge = 0
    HorizHysteresis = 25
    VertHysteresis = 25
    ClickPad = 0
    Output of xinput list :
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ USB2.0 Camera id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
    And the last upgrade since the scroll buttons stopped working:
    [2012-03-14 08:15] upgraded chromium (17.0.963.78-1 -> 17.0.963.79-1)
    [2012-03-14 08:15] > Updating desktop mime database...
    [2012-03-14 08:15] upgraded eric (5.1.8-1 -> 5.2.0-1)
    [2012-03-14 08:15] upgraded freetype2 (2.4.8-1 -> 2.4.9-1)
    [2012-03-14 08:15] upgraded git (1.7.9.3-1 -> 1.7.9.4-1)
    [2012-03-14 08:15] upgraded glproto (1.4.14-1 -> 1.4.15-1)
    [2012-03-14 08:15] upgraded grep (2.11-1 -> 2.11-2)
    [2012-03-14 08:15] upgraded gstreamer0.10 (0.10.35-1 -> 0.10.36-1)
    [2012-03-14 08:15] upgraded gstreamer0.10-base (0.10.35-1 -> 0.10.36-1)
    [2012-03-14 08:15] upgraded gstreamer0.10-base-plugins (0.10.35-1 -> 0.10.36-1)
    [2012-03-14 08:15] upgraded gstreamer0.10-good (0.10.30-2 -> 0.10.31-1)
    [2012-03-14 08:15] upgraded gstreamer0.10-good-plugins (0.10.30-2 -> 0.10.31-1)
    [2012-03-14 08:15] upgraded xcb-proto (1.6-2 -> 1.7-2)
    [2012-03-14 08:15] upgraded libxcb (1.7-2 -> 1.8.1-1)
    [2012-03-14 08:15] upgraded libx11 (1.4.4-1 -> 1.4.99.1-1)
    [2012-03-14 08:15] upgraded libxt (1.1.2-1 -> 1.1.2-2)
    [2012-03-14 08:15] upgraded imagemagick (6.7.5.3-1 -> 6.7.6.0-1)
    [2012-03-14 08:15] upgraded inputproto (2.0.2-1 -> 2.2-1)
    [2012-03-14 08:15] upgraded libglapi (7.11.2-1 -> 8.0.1-2)
    [2012-03-14 08:15] upgraded libgl (7.11.2-1 -> 8.0.1-2)
    [2012-03-14 08:15] upgraded intel-dri (7.11.2-1 -> 8.0.1-2)
    [2012-03-14 08:16] upgraded kdebase-runtime (4.8.1-1 -> 4.8.1-2)
    [2012-03-14 08:16] upgraded khrplatform-devel (7.11.2-1 -> 8.0.1-2)
    [2012-03-14 08:16] upgraded libegl (7.11.2-1 -> 8.0.1-2)
    [2012-03-14 08:16] upgraded libgles (7.11.2-1 -> 8.0.1-2)
    [2012-03-14 08:16] Users no longer need to be in the 'camera' group to use camera devices
    [2012-03-14 08:16] upgraded libgphoto2 (2.4.11-1 -> 2.4.13-1)
    [2012-03-14 08:16] upgraded libnids (1.24-1 -> 1.24-2)
    [2012-03-14 08:16] upgraded libpciaccess (0.12.1-1 -> 0.13-1)
    [2012-03-14 08:16] upgraded libtiff (4.0.0-1 -> 4.0.1-1)
    [2012-03-14 08:16] upgraded libxft (2.3.0-1 -> 2.3.0-2)
    [2012-03-14 08:16] upgraded libxi (1.4.5-1 -> 1.6.0-1)
    [2012-03-14 08:16] upgraded man-pages (3.36-1 -> 3.37-1)
    [2012-03-14 08:16] upgraded mesa (7.11.2-1 -> 8.0.1-2)
    [2012-03-14 08:16] upgraded mpfr (3.1.0.p3-1 -> 3.1.0.p7-1)
    [2012-03-14 08:16] upgraded oxygen-gtk2 (1.2.1-1 -> 1.2.2-1)
    [2012-03-14 08:16] upgraded oxygen-gtk3 (1.0.1-1 -> 1.0.2-1)
    [2012-03-14 08:16] upgraded poppler (0.18.3-2 -> 0.18.4-1)
    [2012-03-14 08:16] upgraded poppler-glib (0.18.3-2 -> 0.18.4-1)
    [2012-03-14 08:16] upgraded poppler-qt (0.18.3-2 -> 0.18.4-1)
    [2012-03-14 08:16] upgraded python-configobj (4.7.2-3 -> 4.7.2-4)
    [2012-03-14 08:16] upgraded python-pygments (1.4-5 -> 1.5-1)
    [2012-03-14 08:16] upgraded python2-pygments (1.4-5 -> 1.5-1)
    [2012-03-14 08:16] upgraded ruby (1.9.3_p125-1 -> 1.9.3_p125-2)
    [2012-03-14 08:16] upgraded skype (2.2.0.35-2 -> 2.2.0.35-3)
    [2012-03-14 08:16] upgraded xf86-input-evdev (2.6.0-4 -> 2.7.0-1)
    [2012-03-14 08:16] upgraded xf86-input-synaptics (1.5.0-1 -> 1.5.99-0.2)
    [2012-03-14 08:16] upgraded xf86-input-vmmouse (12.7.0-3 -> 12.8.0-1)
    [2012-03-14 08:16] upgraded xf86-video-intel (2.17.0-2 -> 2.18.0-1)
    [2012-03-14 08:16] upgraded xf86-video-vmware (11.1.0-1 -> 12.0.0-1)
    [2012-03-14 08:16] upgraded xorg-server-common (1.11.4-1 -> 1.12.0-1)
    [2012-03-14 08:16] upgraded xorg-server (1.11.4-1 -> 1.12.0-1)
    [2012-03-14 08:16] upgraded xorg-xinput (1.5.3-2 -> 1.5.99.1-1)
    [2012-03-14 10:51] Running 'pacman -S gimp-devel'
    [2012-03-14 10:52] Running 'pacman -S extra/gimp-devel'
    [2012-03-14 10:52] Running 'pacman -Syy'
    [2012-03-14 10:52] synchronizing package lists
    [2012-03-14 10:54] Running 'pacman -S extra/gimp-devel'
    [2012-03-14 10:55] Updating font cache... done.
    [2012-03-14 10:55] installed gsfonts (1.0.7pre44-3)
    [2012-03-14 10:55] installed libwmf (0.2.8.4-9)
    [2012-03-14 10:55] installed babl (0.1.6-1)
    [2012-03-14 10:55] installed gegl (0.1.8-2)
    [2012-03-14 10:55] installed gimp-devel (2.7.5-1)
    [2012-03-14 11:01] Running 'pacman -U /tmp/yaourt-tmp-vladi/PKGDEST.26J/gimp-photoshop-brush-1.0-1-i686.pkg.tar.xz'
    [2012-03-14 11:02] installed gimp-photoshop-brush (1.0-1)
    [2012-03-14 11:02] Running 'pacman -U /tmp/yaourt-tmp-vladi/PKGDEST.Jc0/gimp-photoshop-brush-1.0-1-i686.pkg.tar.xz'
    [2012-03-14 11:02] upgraded gimp-photoshop-brush (1.0-1 -> 1.0-1)
    [2012-03-14 11:03] Running 'pacman -S --asdeps --needed extra/perl-xml-parser extra/intltool'
    [2012-03-14 11:03] installed perl-xml-parser (2.41-2)
    [2012-03-14 11:03] installed intltool (0.50.1-1)
    [2012-03-14 11:03] Running 'pacman -U /tmp/yaourt-tmp-vladi/PKGDEST.GVM/gimp-plugin-saveforweb-0.29.3-1-i686.pkg.tar.xz'
    [2012-03-14 11:03] installed gimp-plugin-saveforweb (0.29.3-1)
    [2012-03-14 11:04] Running 'pacman -U /tmp/yaourt-tmp-vladi/PKGDEST.OX1/gimpfx-foundry-2.6_1-2-i686.pkg.tar.xz'
    [2012-03-14 11:04] installed gimpfx-foundry (2.6_1-2)
    [2012-03-14 20:27] Running 'pacman -Syy'
    [2012-03-14 20:27] synchronizing package lists
    [2012-03-14 20:30] Running 'pacman -Syu'
    [2012-03-14 20:30] synchronizing package lists
    I thank you in advance for your suggestions

    I'm afraid the problem is in driver.
    I compared sources of input-synaptics 1.6.3 and 1.7.0 and it seems that author has cut off the functionality of "repeating" scrollbuttons
    Here's the announce of this new version:
    http://lists.freedesktop.org/archives/x … 55593.html
    And we can read there: "Purge scrollbuttons (repeat)".
    Strange decision I think...

  • Dynamic Text Feild with Dynamic Scroll Bar

    I have a Dynamic Text Feild with a dynamic Scroll bar.
    It loads a simple ASCI text file with some html formating.
    but I still can not manage to get the text to format.
    The biggest problem with the format is a big space between
    paragraphs.
    I am not sure why but I think the Frame must need a var to
    render to html.
    Can anybody help please?

    My text had the following, similar but no parsing string.
    I guess
    yourstring.split("\n\r").join("\r").split("\r\n").join("\r");
    takes out the carrage returns or <br>?
    I notice the one I had just say's String.
    I assume that would be the text that is the string?
    Thank you for sharing your knowledge of this.
    var my_lv:LoadVars = new LoadVars();
    my_lv.onData = function(src:String) {
    if (src != undefined) {
    myTxtFeild.text = src;
    } else {
    myTxtFile.text = "Error loading text.";
    my_lv.load("CadnetPage1_html.txt");

  • Horizontal scroll doesn't work.

    I have recently updated to the Firefox 5. After update my A4Tech X6 mouse horizontal scroll doesn't work in Firefox, but at the same time it works fine in other applications. I had no such problems with scrolling in Firefox 3.6.*. Please help me.

    sticksen,
    I'm glad that it is user specific. Now I only know of one file you are going to need to remove to fix this problem, but keep in mind some basic setting in other programs are going to be rest by the removal of this file, you will just have to change them back when you run across them. Example in My Mail program I had to turn of the show thread feature again.
    Ok here is what you have to due in order to delete the file. First off close all running programs including (System Preferences) but excluding (Safari). you will be perfectly fine having it running. The file is a hidden file so you need to show the hidden files on your computer to do so open (Terminal) and type in exactly as follows:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    Hit return and then follow it by typing:
    killall Finder
    Hit return finder will reset and all you hidden files with show, after which Open finder and go into (Your User Name)/(Library)/(Preferences) and find the file named (.GlobalPreferenes.plist) and Delete it. Don't do anything after you delete this file just log out. Now log back in open Terminal and type exactly as follows:
    defaults write com.apple.finder AppleShowAllFiles FALSE
    killall Finder
    Now test to see if you can scroll horizontally. And just for your comfort I did this myself after disabling the Horizontal scroll and it toggles it back on. (I have a white macbook not the new unibody macbook).
    Do note that Mac keeps all settings files in (.plist)s and by removing them in your user folder will not harm your computer or the stability of your mac. These files are there just to hold settings files so that your experience can be the most pleasing for you.
    Hope that helps.

  • How do I get scroll bars to work

    I get a vertical scroll bar where I don't want one.  The horizontal one (see attachment) is needed as the form gets quite wide when it is in Spanish.  But despite turning off verticalScrollPolicy everywhere, one of them still appears.
    <mx:AddChild relativeTo="{bodyFormHolder}" position="firstChild">
    <mx:VBox id="resultsPageBox"
    backgroundColor="#dedacf"
    width="100%"
    height="100%"
    verticalScrollPolicy="off" horizontalScrollPolicy="off">
    <mx:HBox id="rAccessHBox"
        minWidth="640" width="100%"
        x="0" y="0">
    </mx:HBox>
    <!-- across top *********************************************** -->
    <!-- ********************************************************** -->
    <mx:VBox id="topResultBox"
        verticalScrollPolicy="off" horizontalScrollPolicy="off"
        width="100%"
        styleName="backColor" >
    </mx:VBox>
    <mx:HBox id="bothSides"
        verticalScrollPolicy="off"
        width="100%"
        height="100%">
        <!-- first column ***************************************** -->
        <!-- ****************************************************** -->
        <mx:VBox id="leftSideCanvas"
            verticalScrollPolicy="off"
            width="50%"
            height="100%"
            focusEnabled="false"
            styleName="backColor">
        </mx:VBox>
        <!-- second column **************************************** -->
        <!-- ****************************************************** -->
        <mx:VBox id="rightSideCanvas"
            verticalScrollPolicy="off"
            backgroundColor="#dedacf"
            y="0"
            width="50%"
            height="100%">
        </mx:VBox>

    A bigger question is how to get the scroll bars to work from the keyboard.  The problem is to be accessible, the application must be available to blind or physically handicapped people that can't use a mouse.
    To get the entire form read requires horizonal scrolling in some cases such as when it is in Spanish or the font size it increased a lot.  Now, a horizontal scroll bar appears and is easily movable via the mouse, but we have to have it move without a mouse.
    I found the vertical bar came from the form object and I eliminated that, but the bigger issue still remains.

  • Dynamic scrolling

    does anyone know or could give an advise how to create
    "dynamicly scrolled content" in flash?
    here are the examples:
    http://kashiwasato.com
    http://www.mamastudio.pl
    the flash content of the window is repositioning according to
    the window resize
    thanks a lot for any help :)

    hi,
    This code will set only 5 visible rows .
    Bind the visiblerow count property of table with an attribute of type I.
    Before binding the table with internal table write this code :
        DESCRIBE TABLE t_selected_hcp LINES lv_visiblerow.
    ****** Reduce the no of visible rows  *************
        IF lv_visiblerow > 5.
          lv_visiblerow = 5 .
        ENDIF.
    * navigate from <CONTEXT> to <CN_TABLEPROP> via lead selection
        lo_nd_cn_tableprop = wd_context->get_child_node( name = wd_this->wdctx_cn_tableprop_pvl ).
    get element via lead selection
        lo_el_cn_tableprop = lo_nd_cn_tableprop->get_element(  ).
        IF lv_visiblerow > 0 .
    get single attribute
          lo_el_cn_tableprop->set_attribute(
              name =  `CA_VISIBLEROW_PVL`
              value = lv_visiblerow ).
        ELSEIF lv_visiblerow = 0 .
          lo_el_cn_tableprop->set_attribute(
             name =  `CA_VISIBLEROW_PVL`
             value = -1 ).
        ENDIF.
    This will make sure that only 5 rows are visible and rest you have to scroll to see.
    Now if you want that out of 6 rows added to the table , last 5 rows should be visible then :
    Create a Context Attribute of type I "LEAD_SELECTION" and bind this to firstVisibleRow property of table .
    Write this code:
    Get the number of rows in table ****
        DESCRIBE TABLE it_selected_hcp1 LINES lv_count.
        DATA lo_el_context TYPE REF TO if_wd_context_element.
    Set the lead selection to last row *****
        lo_el_context = wd_context->get_element(  ).
        lo_el_context->set_attribute( name =  `LEAD_SELECTION` value = lv_count ).
        lo_nd_cn_entertainment->set_lead_selection_index( lv_count ).
    This will work.
    Edited by: Saurav Mago on Oct 9, 2009 3:16 PM

  • Scroll bar options in Ubuntu -- need arrow scrolling not block scrolling -- how??

    How do I modify the firefox scroll bar -- need the arrows at top and bottom. The block scrolling doesn't work well for certain sites.

    I think Firefox relies on the settings in Windows' Mouse control panel, but maybe someone else is aware of some "secret" settings.
    You might want to consider using the mouse "wheel" for scrolling the page instead of the scroll bar. Saves a lot of horizontal hand movement.
    Note that if you happen to be holding the Ctrl key when you roll the wheel, the page display will zoom. You can use Ctrl+0 (that's zero) to reset it if that happens.

  • Nano only works via mains charger then freezes when unplugged....

    Could use someones wise advice please!
    My nano is just over 1yr old, worked fine until recently. I have tried the 5 r's, software is upto date, battery is fully charged, only works via mains charger but when i disconnect it, it freezes with a line through the screen. Connect it to charger, it is fine again.
    Via pc usb, the apple logo comes on then it goes black then logo then black screen etc seems it almost boots up but just quite doesnt.
    I have found if you hold ccentre button & left scroll button you access an engineers menu, been through all this and it seems fine. Any help would be cool

    If the iPod functions normally while plugged into an external power source of some sort (either USB port on your PC or Mac OR while plugged into a wall adapter), but doesn't when running on battery power, it's likely that the iPod's battery is shot.
    You can have Apple or a third party repair center replace the battery for a flat fee. Otherwise, it's time to start saving for a new iPod or replacement.
    B-rock

Maybe you are looking for

  • I need a Windows 8.1 driver for SM Bus Controller on a HP Pavilion 17-f208ng

    Can you please tell me where I can download a Windows 8.1 driver for SM Bus Controller on a HP Pavilion 17-f208ng It's the only device that Windows 8.1 can't find a driver for - I've tried to update the driver software in Device manager for it and it

  • Exit/BADi for GR Posting Date =PO date

    Hi all , Is there any Exit or BAdi for restricting users to post GR date greater than PO creation date. Regards Gibi Philip

  • Alternatives for one-way pager?

    Hi, This is not a question about a programming problem, but more about directions to search for. Hope you don't mind. At my company we use pagers to get informed about states of systems we monitor.Sending a pager message costs money. I am asked to lo

  • Connecting to HTTPS

    I installedd JSSE so that I can connect to a HTTPS site. I can only connect to certain https sites (https://www.verisign.com, https://www.anz.com) My problem is that when I try to connect to the site I need it does not work. Does anyone know why. The

  • Mail app cant connect to hotmail smtp

    hi everyone I just started using mac in dec Today, when i try to send an email using the mail app, an error message comes up saying it cannot connect to mail server But I can receive mail from my hotmail account I tried looking through some post, mos