Ok, I got it this far:

Added a box, and added my linkbar in to it with a addChild call.

I have to have the scroll policy to auto, as if you turn it OFF you can't change the horizontalScrollPosition.

When the link bar has more than the width of the box, the horizontalScrollBar appears, which is expected.
but i want to hide it and move the scoll position via AS code, but I can't seem to hide it (either visible = false or height = 0)

any ideas?


On 6/7/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:

HA!

Have fun homey ;-)

I would really have to get into the code again but, ... I got into the code, it's like an addiction AH!

1) Box layout algorithm can be swaped out. (you don't need to though)
2) Subclass and override the following
2) Use this override

    override public function get horizontalScrollPolicy():String
    {
        return ScrollPolicy.AUTO;
    }

3) Post back if you have problems... I just looked at the code real quick, might have missed something.

Peace, Mike





On 6/6/06, David Harris <[EMAIL PROTECTED] > wrote:

Hi guys,

I am in the process of working with a linkbar that is populated dynamically.
When the information gets to wide to display, I want to be able to scroll it.
If you set the "width" attribute of the linkbar, it truncates the information.

I suspect a mask and tween are in order, but can't find any examples
in the docs on how to do this.

Does anyone have or know of a Flex2beta3 example like this they can share?

Cheers




--
What goes up, does come down.


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to