FORUM

Advanced Scroll Bar AS2

Home / Forum / Components Discussions / Advanced Scroll Bar AS2

  • 8-) Hello,
    I am looking for a little help with the Advanced Scroll bar AS 2.0, Please.
    I would like to use the Scroll bar like is stated in the Scroll Bar Quickstart Guide.
    The body of text I am using is 2000px long but the scroll bar will only allow me to view 1680px of my Text.
    Is there really a cap on the amount of length I may use for the scroll bar or am I not finding the right switch in the components inspector?
    Does anyone have any ideas on how to fix this cap on length?
    Can I achieve more length through ActionScript?
    Thank you for your help.
    #  /  posted on Nov 22, 2007
  • Hello,

    There are some well known Flash limitations to be aware of for any project implementation. I have listed below just few of these things, but the list can be adjusted (things can be added or removed from the list...I personally hope that many of them to be fixed in the near future, in a way or another and removed from the list :).. while other things will be added as soon as they appear):

    1. Flash Document Size limit is max 2880x2880;
    2. In Flash 8: bitmap max height is 2048;
    3. 256 recursive function call levels;
    4. Max 16000 loaded movies within levels;
    5. Max characters in a TextField, aprox 63000;
    6. Movie Clip drawing limits 1440x1440;
    ....

    As a general rule if, for example, a Movie Clip having 4000 px height isn't showing any longer you will need to split 2 x 2000 px Movie Clips.

    There are also various online examples (trial version) available for download in the Scroll Bar / Downloads area you can check, but I guess you have already did so ;) . If you have the full version just drag&drop the full component instance in your trial example/project and all previous instances will be automatically replaced.
    #  /  posted on Nov 22, 2007
  • I 3 movie clips sitting on 1 frame, and each of those movie clips has an instance of the scrollbar inside. I am turning the visibility of these movie clips on and off, kind of like 3 separate pages. When I go to movie clip 1 and scroll down, then I jump to movie clip 2, the scrollbar is set to the place where the previous movie clip had scrolled.

    How can I set the scrollbar to always start at the top when the user clicks on a button to make the movie clip visible?

    Thank you.
    #  /  posted on Jan 16, 2008
  • Hello,

    You can set the Scroll Bar to always start at the top using the scrollPercentage property, e.g:

    scrollBarInstance.scrollPercentage = 0;

    FT
    #  /  posted on Jan 16, 2008
  • Thanks for the quick response.

    I had the autoHide property set to true and was attaching it dynamically but it was still lagging. However, attaching the scrollBar after other assets had loaded worked like a charm.

    Thanks again.
    #  /  posted on Apr 18, 2008
  • I'm using your scrollbar component in an application I'm developing but ever since I started using it, there is a severe 2-3 second lag during initialization (when the swf loads). Are there settings I can change to prevent this?
    #  /  posted on Apr 18, 2008
  • Hello,

    Set the ScrollBar / autoHide property to true or wait for the content to complete loading and then attach the Scroll Bar. Hope this helps.

    Best regards,
    Flashtuning
    #  /  posted on Apr 18, 2008
  • So it would seem that the problem is actually revolving around the autoSize property of a textfield being set to true. I'm using the scrollBar in conjunction with two input fields for commenting purposes.

    I can set the autoSize property to true after initializing the scrollBars, but that's not ideal.

    Any other thoughts?
    #  /  posted on Apr 18, 2008
  • Hello,

    Try to set the snapMode parameter to snapToView to dynamically resize the Scroll Bar while your input TextFields change size.

    Best regards,
    Flashtuning
    #  /  posted on Apr 19, 2008
  • Hi, this scroller can use with external xml? ....i need to load xml text in a scroll...

    thank you.

    it´s an amazing scroll!!
    #  /  posted on May 14, 2008
  • Hello,

    Sure, you can use the Scroll Bar with anything as long as the content is loaded within a Movie Clip. Check the trial sample3 available in the Downloads area to get a better understanding and code snippets for loading external text/xml in a text filed within a Movie Clip and use the Scroll Bar component to scroll it.

    Best,
    FT
    #  /  posted on May 15, 2008
  • Hi,
    In tril version i hv seen one thing, In this if i increase sroll heigth more than 200 then scroll get disapeared.
    Is it a restriction of trial version or anything else..
    If i use full version, then would this problem be solved?

    Thank you. :)
    #  /  posted on Jun 05, 2008
  • Hi,

    The trial version has a limit of max 350 X 200 pixels visible area size and watermark attached, as a trial limitation. There are no restrictions on the full version.

    Best,
    FT
    #  /  posted on Jun 05, 2008
  • Thank you so much for your reply.. :)

    I need one more help please.. In this can we change verticle scroll or horizontal scroll position programaticaly .. that means if i set vertical position programaticaly then the slider would have to set with respect to position given in programe..

    Thank you.
    #  /  posted on Jun 05, 2008
  • Hi,

    Sure, you can use anytime the scrollPercentage property of the Scroll Bar component to programaticaly set the scroller position.

    Best,
    FT
    #  /  posted on Jun 08, 2008
  • Hi,
    I'd like to change the browser window settings so that there are no margins around the movie. Also I've noticed that when you publish the freemode_sample.swf, the browser window has a vertical scroller. How can I get rid of this?

    I know this is mostly avascript related, but can anyone help?

    Thanks!
    #  /  posted on Jun 30, 2008
  • Hi,

    Add the following CSS code in the header of the HTML page:

    <style>
    * html body{
    overflow:hidden;
    }
    body {
    margin: 0 0px;
    }
    &lt/style>

    Best regards,
    Flashtuning
    #  /  posted on Jul 01, 2008
  • I'm using your scrollbar component in an application I'm developing but ever since I started using it, there is a severe 2-3 second lag during initialization (when the swf loads). Are there settings I can change to prevent this?
    #  /  posted on Apr 17, 2008
  • Thanks for the quick response. I had the autoHide property set to true and was attaching it dynamically but it was still lagging. However, attaching the scrollBar after other assets had loaded worked like a charm. Thanks again.
    #  /  posted on Apr 18, 2008
  • So it would seem that the problem is actually revolving around the autoSize property of a textfield being set to true. I'm using the scrollBar in conjunction with two input fields for commenting purposes. I can set the autoSize property to true after initializing the scrollBars, but that's not ideal. Any other thoughts?
    #  /  posted on Apr 18, 2008
  • Hi, this scroller can use with external xml? ....i need to load xml text in a scroll... thank you. it´s an amazing scroll!!
    #  /  posted on May 14, 2008
  • Hi, In tril version i hv seen one thing, In this if i increase sroll heigth more than 200 then scroll get disapeared. Is it a restriction of trial version or anything else.. If i use full version, then would this problem be solved? Thank you. :)
    #  /  posted on Jun 05, 2008
  • Thank you so much for your reply.. :) I need one more help please.. In this can we change verticle scroll or horizontal scroll position programaticaly .. that means if i set vertical position programaticaly then the slider would have to set with respect to position given in programe.. Thank you.
    #  /  posted on Jun 05, 2008
  • Hi, I'd like to change the browser window settings so that there are no margins around the movie. Also I've noticed that when you publish the freemode_sample.swf, the browser window has a vertical scroller. How can I get rid of this? I know this is mostly avascript related, but can anyone help? Thanks!
    #  /  posted on Jun 30, 2008
  • Hi,

    Today FC added some changes in the comments system and forum and due to these changes it is possible that you can‘t see my previous replies to these comments.

    If you want to check my old comments go to this product thread in the forum / Comments area or simply perform a search on the product name and you‘ll find all the forum posts about this product:

    [url=http://www.flashcomponents.net/forum2/showthread.php?t=214&highlight=advanced scroll] Go to my previous replies[/url]

    Thanks,
    Flashtuning


    #  /  posted on Jul 22, 2008
  • I am using multiple actionscript instances of the scroller within one Flash file. The instances are used in frames that are jumped to by clicking buttons.

    When one jumps from one frame instance to another, the default scroller is seen briefly “flashing” in the 0,0 position of the movieClip it is attached to before it assumes its correct position and attributes.

    How can I avoid this “flashing” of the component? Thank you.


    #  /  posted on Jul 28, 2008
  • Hi,

    Try to place the scroller and scrolling content in their own Movie Clip. You can also try hide/show the scroller or the newly created Movie Clip when switching between frames.

    Best regards,
    Flashtuning


    #  /  posted on Jul 29, 2008
  • Hi,

    Send me a small .fla example and isolate some of your specific functionality at contact [at] flashtuning.net and I will get back to you with an answer as soon as I can.

    Best regards,
    Flashtuning


    #  /  posted on Jul 30, 2008
  • The scrolling works great. However, I am unable to get the links inside the scrolling movie to work. Is there a way around that.


    #  /  posted on Aug 05, 2008
  • Hi,

    The way you configure your scrolling content has nothing to do with the Scroll Bar component.

    As long as your content is included inside a Movie Clip the scroller will be able to scroll it.

    Regarding your question you probably need to set the render text as HTML property for your text field inside Flash to have the links working.

    Best,
    Flashtuning


    #  /  posted on Aug 07, 2008