FORUM

Advanced Scroll Bar AS3

Home / Forum / Components Discussions / Advanced Scroll Bar AS3 / Page 2

  • Send us a .fla example and other additional file(s) if any inside a .zip package at contact [at] flashtuning.net and we’ll get back to you as soon as we can with an answer for your particular dataGrid case. In the meantime you can use the product in your current and future projects to scroll anything you like.


    #  /  posted on Feb 18, 2009
  • We have sent you back a working example with the Scroll Bar and the Data Grid placed inside a Movie Clip and the Scroll Bar component is working just fine, hope this will help you with your application.


    #  /  posted on Feb 19, 2009
  • Hi
    very often when trying to sroll got error:


    Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at FtScrollBar/tween() at FtScrollBar/oTqrRireWVWVlVIxgYvUaW()
    Cannot display source code at this location.


    Please help


    #  /  posted on Feb 24, 2009
  • Hi,


    This is a common issue previously discussed few times and is due to the scrollacceleration parameter causing the scroller to freeze sometime.


    The solution is to go to the Advanced Options Group and activate the easing and choose the easing type and easing delay instead the default acceleration.


    Best regards,
    Flashtuning


    #  /  posted on Feb 24, 2009
  • Here is a simple function that you can use to load images, SWFs etc inside an empty movie clip:


    function loadResource(resURL) { 
    var url = resURL; 
    var request1 = new URLRequest(url); 
    var loader1 = new Loader(); 
    var mc1 = this.getChildByName("mc" 
    var nc = mc1.numChildren; 
    if (nc) { var l1 = mc1.getChildAt(0); mc1.removeChild(l1); l1 = null; } 
    loader1.load(request1); //start loading img/swf 
    mc1.addChild(loader1); 
    loader1.contentLoaderInfo.addEventListener("complete", this.finished_loading); 
    } 
    


    function finished_loading(e:Event) { trace("Loading completed." } 
    


    , where mc is the instance name of an empty movie clip from the stage. You can simply call this function with the path string to your external SWfs and images.


    #  /  posted on Apr 16, 2009
  • I have a the following Code:

    var sbH:FtScrollBar = new FtScrollBar(); addChild(sbH); skinScrollbar(sbH);

    sbH.scrollDirection = 'vertical'; sbH.snapMode = 'snapToView'; sbH.snapOffset = 1; sbH.scrollStep = 10; sbH.scrollAcceleration = 0.5; sbH.scrollMode = 'scrollBar'; sbH.activateEasing = 'true'; sbH.easeType = 'inertia'; sbH.easeDelay = 0.5; sbH.sliderOffset = 1; sbH.targetMovieClip = 'newContent_mc'; sbH.scrollPercentage = 0; sbH.viewAreaWidth = 725; sbH.viewAreaHeight = 400;

    My Track Top End and Track Bottom End graphic is just a 1px line - as well as the trackBody is surrounded by a simple line:

    Track & Slider: +----------------------------+ | with simple slider | +----------------------------+

    The both graphics TrackTopEnd and TrackBottomEnd are not visible. The property sliderOffset is fine, so my Scrollbar looks like

    Track & Slider: +----------------------------+ with simple slider
    +----------------------------+

    Any Idea? Thanks for help


    #  /  posted on Sep 17, 2010
  • I could provide a small demo-file of the above problem..


    #  /  posted on Sep 17, 2010
  • I have a horizontal scrollbar -> is it possible to activate the MouseWheel on that scrollbar? I scroll the wheel vertical (as usual) and it scrolls horizontally. Is there a possible hack? Thanks for help.


    #  /  posted on Sep 22, 2010
  • Hi,

    You can try implementing a custom mouse wheel function for that scroller instance and use the scrollPercentage property based on the wheel value.

    Regards, FT Team


    #  /  posted on Sep 24, 2010
  • = NEW =

    X-Treme Banner Rotator !


    #  /  posted on Oct 13, 2010
  • Hi,

    just bought your advanced scrollbars as3 component.. works fine.. but I have one problem..

    I'm loading one swf into another swf... then the mousewheel stops working..

    I saw your suggestion:

    1. Into your .fla file create and empty movie clip and name it mcLoader for example 2. Drag a scroll bar component instance to the stage and attach it to mcLoader 3. Remove the scroll bar from your external swf file and load the extyernal swf file into the mcLoader

    On how to correctly load an external image or swf in as3 check the code snippet from the previous comment.

    But I do not want to scroll the whole swf that is loaded.. I only want to scroll a part of it..

    Thx Chris


    #  /  posted on Oct 19, 2010
  • Hi,

    Can you plese sent us via email at contact [at] flashtuning.net your transaction id to check the details ( since the Buyer symbol is not displayed under you avatar image )

    Regards, Flashtuning


    #  /  posted on Oct 20, 2010
  • If I set the viewAreaHeight to 200 or below everything works fine. If I set it over 200 I get this error and nothing works: TypeError: Error #1009: Cannot access a property or method of a null object reference. at FtScrollBar/checkSize() at FtScrollBar/VuXWsfWjroroYo1MdlSpnr()

    I've put the movie clip and scroller into their own clip as you suggested but it makes no difference.


    #  /  posted on Oct 29, 2010
  • = NEW =

    X-Treme Dock Gallery !


    #  /  posted on Nov 16, 2010
  • Hi

    I get the same error as bazookaman. Not consistenly. Only some times. When I do get it, it gets repeated until I close the file or Flash crashes. Unlike bazookaman, it is unrelated to my viewAreaHeight (which is 480), as setting it to 200 doesn't prevent the error from happening.

    TypeError: Error #1009: Cannot access a property or method of a null object reference. at FtScrollBar/checkSize() at FtScrollBar/oTqrRireWVWVlVIxgYvUaW()

    Any ideas?


    #  /  posted on Nov 29, 2010
  • Hi,

    That is because you are using the trial version. If you'll buy the full version and check the examples included inside the full package download you'll see everything works fine.

    If you need further information please email as at contact [at] flashtuning.net your PayPal transaction id for this purchase and a small specific fla example.

    Regards, Flashtuning


    #  /  posted on Nov 29, 2010
  • Hi,

    i need 2 completley different skinned scrollbars in one site.. tried 2 different setSkin functions..

    ... doesn't work ... there seems to be some timeout

    thx ch


    #  /  posted on Jan 20, 2011
  • Hi,

    You need to duplicate the graphic symbols from the library and give them obviously different linkage id names and also having different scroll bar instance names and call the setSkin method for each different instance name using the different linkage id names specific for each scroll bar.

    FT


    #  /  posted on Jan 24, 2011
  • Hi

    How can I Change the width of the bar?

    Thanks and regards


    #  /  posted on May 08, 2011
  • Hi,

    Edit the .fla file in Flash / open the library ( ctrl + L ) and edit the scroll bar graphic symbols from the scroller assets folder to any size you need.

    Flashtuning


    #  /  posted on May 12, 2011
  • Please Help! I have spent several hours trying to make the FTScrollBar wider.

    I read the above post "Edit the .fla file in Flash / open the library ( ctrl + L ) and edit the scroll bar graphic symbols from the scroller assets folder to any size you need." BUT, it is not at all clear to me what the "scroll bar graphic symbols" are.

    I copies the FTScrollBar Assets folder from the demo file "FlashCS4_skinning.fla and adjusted the code to make that work just fine. BUT, when I when went in and enlarged graphics within the SliderBodyPressed movie clip within the Slider Body folder, I did not see any change to the width.

    Can you please help me with specific instructions?

    I also tried ... var newScroller:FtScrollBar = new FtScrollBar(); this.addChild(newScroller); //setSkin(newScroller); //set skin call newScroller.scrollMode = "full"; newScroller.x = -1; newScroller.y = 60; newScroller._width = 150; newScroller.width = 150; newScroller._height = 500; newScroller.viewAreaWidth = 640; newScroller.viewAreaHeight = 500; newScroller.targetMovieClip = "my_main_display"; newScroller.activateEasing = "true"; newScroller.easeType = "inertia"; newScroller.easeDelay = 0.5;

    But still I can not seem to get the width to change. I want to use this on a mobile device and the width MUST be increased.

    Last but not least. I am still struggling to find the HELP BOOK in the Adobe help section. I am using Flash Professional CS5.5 on a Mac. Does make a difference in where to locate the help book. The code completion hints are showing up perfectly!

    THANKS! Grace & Peace to you! jim


    #  /  posted on Sep 29, 2011
  • I got the width situation fixed. I finally figured out what to edit in the library.

    But I still need help in finding the HELP book for this AS3 Advanced Scrollbar.

    Thanks in advance for taking time to point me in the right direction.

    jim


    #  /  posted on Sep 29, 2011
  • I bought the AS3 Scrollbar and am using it as invisible scrollbar. WORKS GREAT, except for one thing. I need it to work in reverse. So that it would like the slider started at the bottom of the scale and when pushed upward the the Movieclip will move upward in regard to what is displayed.

    I am setting everything with ActionScript, but can not figure our how to make this work.

    Please help as soon as possible!


    #  /  posted on Oct 07, 2011
  • Hi,

    After the scrolling content is fully loaded ( you need to make a test ) you can use the scrollPercentage property of the scroll bar ( a numeric value between 0-1 ) to change the slider position.

    FT


    #  /  posted on Oct 07, 2011

Please login to post replies.