My updated anchor component is at http://blog.3r1c.net/?p=94 - you would
want to listen to the link event from the text area and scroll to the
associated anchor

heres a blog post about listening for link clicks within htmlText in flex
http://blog.3r1c.net/?p=78

Eric

On Mon, Mar 31, 2008 at 12:25 PM, valdhor <[EMAIL PROTECTED]> wrote:

>   Eric's example is triggered with buttons but that does not mean you
> have to use buttons. I actually use images to trigger it. There sould
> be no problem using anything that provides a click method.
>
> Ah, I re-read what you said - are you trying to autoscroll a long
> textArea? I haven't done it but I think you should be looking at
> setselection method and textRange object.
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>,
> "anthony_morsey" <[EMAIL PROTECTED]> wrote:
> >
> > The key for me is to be able to do this inside the "textarea.htmlText"
> > text with something that acts like an HTML href. I think Eric
> > Cancil's demo is triggered of buttons.
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> "valdhor" <stevedepp@> wrote:
> > >
> > > You should check out Eric Cancil's excellent Scroll to Anchor
> > > component at http://blog.3r1c.net/?p=84
> > >
> > >
> > > --- In [email protected] <flexcoders%40yahoogroups.com>,
> "anthony_morsey" <tmorsey@> wrote:
> > > >
> > > > I want to be able to scroll to the vertical position of an
> object in a
> > > > flex app. I want to be able to click on an htmlText anchor tag and
> > > > have the app scroll down to an object that is out of the viewable
> > > > area. My app has a scrollbar.
> > > >
> > > > If this cannot be done using htmlText and anchors, then how
> would I do
> > > > it with just actionscript?
> > > >
> > > > Tony
> > > >
> > >
> >
>
>  
>

Reply via email to