I have also faced same issue, where i wanted to put anchors in html display
of one of my projects, and i could not do it.
If you can be little more specifics, that will be geat!

On 12/21/06, Jason Lutes <[EMAIL PROTECTED]> wrote:

I made a couple of glossary-type applications that use the same kind of
anchor mechanism.

The solution to simulating this involves writing text to the field in
chunks. You need to capture (into an array, or similar) the number of the
last occupied line (using the maxscroll and bottomScroll TextField
properties) before writing each new chunk. Doing this creates a scroll
position index. Create code to scroll to some line number in the index,
based on whatever corresponding criteria suits you.

I left a few details out, but that's the general idea. I can be more
specific if needed.


-
Jason

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Thursday, December 21, 2006 8:47 AM
> To: [email protected]
> Subject: [Flashcoders] Q:Simulate HTML anchors in html text
>
> Hi
> Did a search but so far haven't found a solution.
>
> Is there a way to simulate HTML anchors in a HTML text field??
>
> I have a long, scrollable text list with an associated
> calendar...I want to be able to simply scroll to a specific
> text description when I click on a calendar event.
>
> Thanks in advance!
> Jim Bachalo
>
> [e] jbach at bitstream.ca
> [c] 416.668.0034
> [w] www.bitstream.ca
> --------------------------------------------
> "...all improvisation is life in search of a style."
>              - Bruce Mau,'LifeStyle'
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to