Buritto/Hero 4.5 (MobileApplication) Scrollbar always visible?

I've tried for 3 to 4 days now...
To make a scrollers scrollbar always visible.
It seems to me extremely counterintuitive to make a scollbar not visible within a scroller that has (for example) a textarea in it.
You can't see that the text goes beyond the viewport and should be scrolled. Usually a scrolls purpose is to help identify there is more to scroll to.
Enough said there, making the scrollbar invisible or fade away is really bad (DESIGN Flaw).
Trying to make it appear initially is ultimately currently impossible from what I can tell (BUG & DESIGN flaw).
Don't recommend turning visiblity or alpha on. That was the first minute of four days no success.
ScrollerPolicy is only about should it appear when the content is larger and that is also not the issue.
You see for some backwards thinking reason the scroller only appears when your actually scrolling and then fades away when done.
I did override to disable fade out potentially (not perfect example for animated sliding action).
Well first I replaced the skin with something people can actually see too instead of the thin line of black on black. (using a spark skin not the default)
            import spark.skins.spark.VScrollBarSkin;
            public function init():void {
                xtc.getTextFor(title, contentTextArea);
                contentScroller.verticalScrollBar.setStyle("skinClass", Class(VScrollBarSkin));
                contentScroller.verticalScrollBar.addEventListener(MouseEvent.MOUSE_UP, bringMeBackPlease);
            public function bringMeBackPlease(e:MouseEvent):void {
                trace("bringMeBackPlease: " + e.type);
                trace("MOUSE: " + e.localX + " " + e.localY);
                var ai:AnimateInstance = contentScroller.verticalScrollBar.activeEffects[0];
                if(ai != null) {
                    if(ai.animation != null) {
                        ai.animation.stop();
                        ai.animation = null;
                        contentScroller.verticalScrollBar.removeEventListener(MouseEvent.MOUSE_UP, bringMeBackPlease);
Okay well that reminds me I totally replaced the skin with a Catylist built one two but this animated fade functionality resides clearly in the Scroller class I think.
You'd possible be able to replace the Scroller class via Catylist but it only has a few simple objects to play with No textarea, no Scroller, etc.
I couldm't find a different none mobile spark scroller that isn't disfunctional in this way (fadeing scrollbars).
I even delved into using Effects to Fade it back
            //private var restoreSliderFade:Fade = new Fade();
skipping code it did fade the dcroller to view but I could not also make the scrollbar fade back.
I tried simulating drag operations, mousedown, move events etc. nohting can actually get the f!ng scrollbar to appear that I can find.
It's rare I result to forums so I'm hopeful people at Adobe in development see this stuff and actually realize the need a boolean on the MobileApplication Scroller Class that is something like autohideScrollbars with a default of false.
Please help ASAP anyone any work around??!!!
At this point I'm forced to try and make the scroller cut a line of text in half so the user thinks Oh I should scroll now... but where's the scrollbar?!
I've dynamically loaded the textarea in init and that resizes the thing.
I've added manually draging of the textarea (also seems wrong and should work by default)
            private function draggingContent(me:MouseEvent):void {
                trace("draggingContent" + me.toString());
                switch(me.type) {
                    case MouseEvent.MOUSE_DOWN:
                        dragging = true;
                        dragOrigin = contentScroller.contentMouseY;
                        scrollStart = contentScroller.verticalScrollBar.value;
                        break;
                    case MouseEvent.MOUSE_MOVE:
                        if(dragging == true) {
                            contentScroller.verticalScrollBar.value = (scrollStart + (dragOrigin - contentScroller.contentMouseY));
                        break;
                    case MouseEvent.MOUSE_UP:
                    case MouseEvent.MOUSE_OUT:
                        contentScroller.setFocus();
                        dragging = false;
                        break;
                    default:
                        break;
with listeners in initi()
                contentTextArea.addEventListener(MouseEvent.MOUSE_DOWN, draggingContent);
                contentTextArea.addEventListener(MouseEvent.MOUSE_MOVE, draggingContent);
                contentTextArea.addEventListener(MouseEvent.MOUSE_UP, draggingContent);
                contentTextArea.addEventListener(MouseEvent.MOUSE_OUT, draggingContent);
                contentScroller.setFocus();
I could go on with all the ways I looked at ever class property and function, delved through the debug viewer inspecting values before and during states of visibility.
Is there a way to access all the automation and disable certain ones like fading with my hack breaking other more useful smoothings, or override the ones I loath?!!
   Your angry MobileApplication Burrito Beta Testing Victim

I'm sorry to hear you've been having problems with this, but thank you for providing this feedback on here.  It's really helpful for us to hear experiences like this so we can work to make things easier.
1. "making the scrollbar invisible or fade away is really bad (DESIGN Flaw)."
Native iOS and Android applications also fade away their scrollbars the same way, but they do initially show the scrollbar for a short time when the view is first loaded before fading them away.
Here's an enhancement request for allowing scrollbars to always be visible: http://bugs.adobe.com/jira/browse/SDK-29296
2. "Trying to make it appear initially is ultimately currently impossible from what I can tell (BUG & DESIGN flaw)."
This is something we thought about doing, but didn't have the time to implement in this release.  See attached ZIP for an example of how you might do this.
There is an enhancement filed here: http://bugs.adobe.com/jira/browse/SDK-29299
3. "ScrollerPolicy is only about should it appear when the content is larger and that is also not the issue."
When you're using a mobile Scroller the horizontalScrollPolicy/verticalScrollPolicy govern whether scrolling is allowed in that direction.  It doesn't have any further connection with the visibility of scroll bars like it does in a desktop Scroller.
4. "Well first I replaced the skin with something people can actually see too instead of the thin line of black on black. (using a spark skin not the default)"
The skin for the scrollbars has been updated since the preview release and will stand out more in the final release.
5. "I couldm't find a different none mobile spark scroller that isn't disfunctional in this way (fadeing scrollbars)."
On a desktop application you can hook up your own HScrollBar/VScrollBar directly to have more control over things like this, but in a mobile application only Scroller currently is able to handle touch-based scrolling.
It might make sense to enable touch scrolling without needing a Scroller.  Here's the enhancement request for this: http://bugs.adobe.com/jira/browse/SDK-29300
7. "I tried simulating drag operations, mousedown, move events etc. nohting can actually get the f!ng scrollbar to appear that I can find."
Interesting idea, but faking a touch scroll is quite tricky and won't really get the results you are looking for in the final release so I would recommend not going further down this approach.
8. "It's rare I result to forums so I'm hopeful people at Adobe in development see this stuff and actually realize the need a boolean on the MobileApplication Scroller Class that is something like autohideScrollbars with a default of false."
This relates to the first two bugs listed above.
9. "Please help ASAP anyone any work around??!!!"
See the attached ZIP for an example application that demonstrates how to keep the scrollbars always visible, as well as a sample way of implementing the initial show and fade functionality.
It was a bit tricky to figure this out because both Scroller and ScrollerLayout affect the visibility of the scrollbars and change includeInLayout/scaleX/scaleY when things are not visible.
10. "Your angry MobileApplication Burrito Beta Testing Victim"
Again, thank you for your detailed feedback.  I know working with preview releases can be very frustrating at times, but hopefully the information in this post helps ease the pain a little.
Please feel free to vote and comment on any/all of the bugs listed above.
Thanks,
Steve

Similar Messages

  • Buritto/Hero 4.5 (MobileApplication) Updates?

    I tried Buritto with Hero Beta and discovered some bugs particularly in SWFLoader (critical/major problem for me).
    I've submitted my bug, and thought well lets try to get an update.
    I've downloaded the SDKs 4.5.0.17855 and also 4.5.0.18623 as well as the latest (un marked AIR2.5 in an attempt to merge them as I've seen that somewhere else too).
    Anyway my MobileApplication when switching to the latest updated SDKs says "The selected Flex SDK does not support building mobile projects."!
    Where does one find nightly builds of the proper Buritto SDKs that support the Mobile Applications?
    Where do you find nightly builds? I got my latest ones from..
    http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+Hero
    but again totally unusable!?! so where to I go now??!.
    I hope I'm even submitting this to the right forum it's really hiding from people nothing on the web much about Buritto/Hero or here we still call Flash BUilder Flex or what?

    I've discovered that this problem more likely relates to an issue with MobileApplication's navigator popView() !?
    It seems when the view that is underneath the popView is restored it stomps over top the previous mxml so something like SWFLoader...
    The suggested methodology is to wait until the dynamically reloaded new source of the SWFLoader is COMPLETED then popView to restore the newly loaded SWF, unfortunately the popView seems to stomp the previous source over top on restore by default so maybe this is persistance manager issue?... anyway this new stuff is really confusing so don't get me started with OMSF's SWFLoader traits etc. nightmares I now have.
    Where its more likely a previous view should retain it's state and not stomp from mxml a new view.
    I suppose I should start this a new thread.

  • Buritto/Hero 4.5 (MobileApplication) popView stomping old mxml on existing view

    I noticed when trying to dynamically load a SWFLoader with a new SWF source/load that after waiting for the event load COMPLETED and then calling popView (the suggested methodology), results in the old original mxml stomping the changes of in this case a newly loaded SWF in a SWFLoader.
    I'm confused as to how one uses persistance manager or what?
       mainView.addEventListener(FlexEvent.VIEW_ACTIVATE, mainViewActivate);
       mainView.addEventListener(FlexEvent.VIEW_DEACTIVATE, mainViewDeactivate);
    I mean once a viwe has been loaded with pushView you shouldn't have it re-wiped with a popView. Is this making sense? It made me think there are major problems with SWFLoader.
    Currently I popView before calling load on a SWFLoader or the original mxml stomps over wipping out the updates, when you call popView on completetion of the load call.

    Awesome SPSman!
    I tried it and it still called my mxml's init() via creationComplete (with events deactivate and activate of course).
    Maybe it's a bug still yet than? yes.
    I've managed to work around it and it's really very desturbing situation to program for that I don't like as a default policy. [Although I fear I'm still battling with related issues.]
    I think in the few adobe mobile examples I've seen (out there) it didn't really matter and therefore makes sense, but it's not my practical user experience. I should be managing that basically by reference?! I always though.
    Thanks very much for the help I'm sure this thread will be of help to others one day when that helps in this situation.

  • Buritto/Hero 4.5 (MobileApplication) Date Class buggy

    OMG I hope it's me!
    var startDate:Date = new Date(2010, 12, 31, 23, 59, 59, 999);
    var endDate:Date = new Date(2011, 12, 31, 24, 00, 00, 00);
    var realDate:Date = new Date();
    trace("startDate:" + startDate.toDateString() + "  " + startDate.toTimeString());
    trace("endDate:" + endDate.toDateString() + "  " + endDate.toTimeString());
    trace("realDate:" + realDate.toDateString() + "  " + realDate.toTimeString());
    startDate:Mon Jan 31 2011  23:59:59 GMT-0800
    endDate:Wed Feb 1 2012  00:00:00 GMT-0800
    realDate:Thu Feb 10 2011  00:45:46 GMT-0800
    startDate    Date (@90d6e01)   
        date    31 [0x1f]   
        dateUTC    1   
        day    1   
        dayUTC    2   
        fullYear    2011 [0x7db]   
        fullYearUTC    2011 [0x7db]   
        hours    23 [0x17]   
        hoursUTC    7   
        milliseconds    999 [0x3e7]   
        millisecondsUTC    999 [0x3e7]   
        minutes    59 [0x3b]   
        minutesUTC    59 [0x3b]   
        month    0   
        monthUTC    1   
        seconds    59 [0x3b]   
        secondsUTC    59 [0x3b]   
        time    1296547199999 [0x12de03c3bff]   
        timezoneOffset    480 [0x1e0]
    endDate    Date (@90d6e21)   
        date    1   
        dateUTC    1   
        day    3   
        dayUTC    3   
        fullYear    2012 [0x7dc]   
        fullYearUTC    2012 [0x7dc]   
        hours    0   
        hoursUTC    8   
        milliseconds    0   
        millisecondsUTC    0   
        minutes    0   
        minutesUTC    0   
        month    1   
        monthUTC    1   
        seconds    0   
        secondsUTC    0   
        time    1328083200000 [0x13537ed6800]   
        timezoneOffset    480 [0x1e0]  
    realDate    Date (@90d6e41)   
        date    10 [0xa]   
        dateUTC    10 [0xa]   
        day    4   
        dayUTC    4   
        fullYear    2011 [0x7db]   
        fullYearUTC    2011 [0x7db]   
        hours    0   
        hoursUTC    8   
        milliseconds    58 [0x3a]   
        millisecondsUTC    58 [0x3a]   
        minutes    48 [0x30]   
        minutesUTC    48 [0x30]   
        month    1   
        monthUTC    1   
        seconds    6   
        secondsUTC    6   
        time    1297327686058 [0x12e0ec181aa]   
        timezoneOffset    480 [0x1e0]  
    realDate inspector in Flash Builder shows date 10 but day 4?
    month is Feburary it shows 1
    I'm sorry but this appears totally f'ed up to me?!!
    I'll look into but I really don't think there is much I can do with this?

    getTIme() seems to be using day not date for the day?
    I'm confused... I hope?!
    You'll have to run the numbers too it must be were I'm miss calculating?
    Maybe I can offset the month which seems wrong -1?
    Rught so Day is dow or day of week with the date is the day of the month.
    Still the getTime is using the day of the week to multiply the milliseconds returned from getTime() I think?
    I suppose I can rebuild a new getTime() function for another on of my as3fix package classes.
    Wait!!! What's this?
    1016: Base class is final.    RealDate.as
    You have got to be kidding me?!?

  • Scroller always visible

    Hallo, i need a little help. I have a component List and i want the scroller of this List to be always visible even if in disable mode. Now it is only visible when there many lines and it is ok, but i wish to see it even if it is not usable... How can i do it??
    Thx for all
    Max

    I'm having a similar problem over two days still not finding a good solution.
    Using Flash Builder 4.5 Burrito Hero SDK for MobileApplication.
    Scroller with a TextArea beyond the bounds of the scroller.
    The scroller is black and nearly invisible?! In fact it is invisible so no one knows it might be content off screen to scroll.
    Really it would make more sense to be invisible after you start scrolling? duh
    Anyway you can try stuff like this...
    contentScroller.verticalScrollBar.setStyle("skinClass", Class(VScrollBarSkin));
    contentScroller.verticalScrollBar.setStyle("autoThumbVisibility", false);
    contentScroller.setStyle("verticalScrollPolicy", "on");
    contentScroller.verticalScrollBar.visible = true;
    contentScroller.verticalScrollBar.alpha = 1.0;
    but the Scrollbar is always faded out until you actually start draging it then in fades in.
    I just want it to be visible so a user understands there is something there to scroll?!! but it's basically imposible.
    ScrollPolicy is just about if it's bigger then the bounds normally which is fine but it does not address this mobile faded out problem at all.
    Please somebody there explain how this is usful.
    Further I'm not seeing with the TextArea disabled the inherient ability to drag the text = scroll area around with presumable your finger in Mobile land as one would expect as default so I guess there's all kinds of comvoluted dragging bubbling to pass on or something... mybe I'll find something to set to true, lets hope it takes less then two+ days to make the thing visible in the first place.
    Your truely pissed Burrito Beta Guinea Pig

  • Table header always visible

    Hi All,
    I have used table in scroll container.when i scroll a vertical scrollbar,table heading are also scrolled.
    Is it possible that the table header is  visible, when i scroll to vertical scroll  in the table?
    Thanks
    Abhilasha.

    Hi,
    Have a workaround to use two tables, one table containing columns as header and set some of the properties of the that table like footer visible = false,row selectable = false etc., and the other table holding the actual data. This is proposed by Armin in the following thread. Hope your requirement will be fullfilled.
    [Re: scroll container UI element]
    and some other related threads
    [Re: Table header always visible]
    [Table header fixed]
    Regards
    Raghu

  • How to make the exe always visible in the illust application.

    Hi,
    I created an interface for "illustrator CS" using Visual Basic and copied that exe in Scripts folder. I want to know how to make the exe always visible in the application(Not in Taskbar), once it was clicked. Could you please kindly help me to solve this.
    Regards,
    Prabudass

    Hi,
    I guess....though i am not pretty sure....but the Preview tab has been discontinued in the newer versions....
    Only the Gods can give a perfect solution though...!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to make the exe always visible in the application window

    Hi,
    I created an interface for "illustrator CS" using Visual Basic and copied that exe in Scripts folder. I want to know how to make the exe always visible in the application window itself(Not in Taskbar), once it was clicked. Could you please, kindly advice me.
    Thanks,
    Prabudass

    Hi,
    I guess....though i am not pretty sure....but the Preview tab has been discontinued in the newer versions....
    Only the Gods can give a perfect solution though...!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • Disabled item in plot legend when scrollbar is visible

    Problem is that plot legend shows only the plots being displayed correctly, while plot legend scrollbar is not being displayed, which is being controlled using LegPlotMin and LegNumRows properties. But when plot legend scrollbar is enabled (when number of plots exceed a certain number) then one disabled item (already being displayed in the enabled item above it) becomes visible. How to not show it while plot legend scrollbar is visible?
    Second question. If plot legend scrollbar is visible and the user has scrolled it to the bottom and left it there and then selects options where the number of plots are less than a certain threshold and the scrollbar is set to invisible, using property node; then the only lower disabled plot names are shown. So how do I set the scroll position for plot legend scrollbar. I could not find any scroll position property for plot legend scrollbar.
    Thanks

    It is true that you cannot set the index of the topmost displayed plot in a plot legend. It's a missing property! To accommodate long legends, I have used two graphs, one hidden behind the other. Both receive all the data, and their two legends are aligned side by side. In fact, I wrote a routine to align legends of stacked plots, which I've attached here for you. Maybe you'll find it useful!
    Attachments:
    align legends.llb ‏144 KB

  • How can I make the status bar always visible in safari?

    How can I make the status bar always visible in safari? Even when I go to "View" and then select "show status bar," the status bar still disappears unless my cursor is hovering over it. I want to be able to see the time, battery life etc. while surfing the web in safari!

    When Safari is in FullScreen mode, menu bar will be hidden.
    Safari window to fit the screen?
    Move the mouse pointer to the bottom right corner of the Safari window.
    Double arrows will appear. Drag it to resize the window to fit the screen.

  • Line Chart: Make Data Tip Images Always Visible

    What I want to do is simple. I have a line chart, on the
    lines I want
    the little image that denotes a data point to always be
    visible. I don't
    want the datatip to be always visible, just the little image
    that you mouseover
    to show the tip. Surely I'm missing something...this
    shouldn't be this hard to
    figure out. Thanks in advance.

    "crl-alt-del" <[email protected]> wrote in
    message
    news:ghu2b1$t4f$[email protected]..
    > What I want to do is simple. I have a line chart, on the
    lines I want
    > the little image that denotes a data point to always be
    visible. I don't
    > want the datatip to be always visible, just the little
    image that you
    > mouseover
    > to show the tip. Surely I'm missing something...this
    shouldn't be this
    > hard to
    > figure out. Thanks in advance.
    http://flexdiary.blogspot.com/2008/08/charting-example.html

  • Input variables screen always visible

    Hi....i have a WAD and i want to know if theres a way to have the input variables screen always visible ....for example i want tha t the variables input fields always on top of the WAD, and the user can write new values and click on execute button (or something like that) and execute the WAD.......
    Another option would be using input fields in WAD but i dont know if its possible to pass the web item input fields values as filter for WAD queries....
    Regards

    Hi Oscar,
    Just add this piece of code within the <body>....</body?  to your template backend
    <!-- Display Variable Screen --->
              <TD class=SAPBEXNavLine><A href="<SAP_BW_URL CMD='PROCESS_VARIABLES' VARIABLE_SCREEN='X'>"><IMG
                alt="<SAP_BW_TEXT program="SAPLRRSV" key="T76">" src="Mime/BEx/Icons/S_B_VARB.gif"
                border=0  valign="middle"></A></TD>
              <TD class=SAPBEXNavLine> |</TD>
    Just check if src="Mime/BEx/Icons/S_B_VARB.gif" is present in your repository. This if for the icon.
    Hope this helps...!!

  • Force -(FormUID) always Visible when ...

    any one of SDKers know how to force the form contained user defined fields always visible when core form is loaded. For example If Form Invoice(133)load then Form -133 Visible.
    Thx
    -Hamdi-

    Hi Hamdi,
    I'd like to know which item event you use to activate '6913' menu.
    Form_Load or Form_Activate?
    If you don't mind can you give me a your source code?
    Joanne
    Message was edited by: Joanne Lee

  • Making a cursor always visible on a x y graph

    Hello,
    I have what I'm sure is a very simple to fix problem, but I'm afraid I'm too simple my self to find the answer. I have a VI that makes an iterative calculation and then displays it on a graph. The user then uses a cursor to select an area of the graph to pick a value for further calculations.
    This works fine but the cursor is not always visible to use for selection as it does not seem to move with the auto scaling. So if the calculation produces values that are significantly different to the previous time the cursor is lost.
    Does anyone know how to get the cursor to change postion with the auto scale and ideally always appear in the middle of the graph?
    Many thanks,
    David

    You use two properties:
    First, the graph's Active Cursor property selects the property you want to operate on. The cursors count from the top to bottom, starting with zero.
    Second, the Cursor/Cursor Position/All Elements property lets you set the cursor's position.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Dialog always visible in top ???

    hi,
    i would like to display a dialog not modal, but always visible in top, even when its looses focus and other "nomal" dialogue are displayed, as a "color palette" dialogue or something like that, can you please tell which class is more suitable for this purpose, and if somebody has always coded this kind of dialog, i am interrested, thanks for your help

    Specify the "parent" JFrame when creating the JDialog.

Maybe you are looking for