http://livedocs.macromedia.com/flex/2/langref/flash/events/TextEvent.htm
l

Use the "event:" protocol for the link, and the text field will dispatch
a TextEvent event.

―
Mike Keesey


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Pat Buchanan
Sent: Friday, November 03, 2006 7:28 PM
To: [email protected]
Subject: Re: [flexcoders] Hyperlink to an elemment in textarea

"...The href attribute can be a url as usual, or it can be
"actionscript:myFunction()"..."

Pinging this thread.  Anyone know how this is done?  My searches are
turning up more garbage than gold.

My goal is this: I want an HTML textarea that allows for linking to
other areas in the application.  Like a help or quickstart page - they
just click on what they want to do and it runs some actionscript to take
them to the right tag/page/control. 

Thanks everyone!

On 7/5/06, Tracy Spratt <[EMAIL PROTECTED]> wrote: 
If you use the htmlText property of the textArea, you can use a subset
of html tags, including the <a>  tag.  The href attribute can be a url
as usual, or it can be "actionscript:myFunction()" (maybe
actionscript:parent.myFunction()) I haven't done this in 2.0 yet so I
don't have a full example.
 
Tracy
 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of tonyx_788
Sent: Wednesday, July 05, 2006 4:34 PM
To: [email protected]
Subject: [flexcoders] Hyperlink to an elemment in textarea
 
hello,
is it posible?
i know in xml this is a hyperlink to a web page
<a href="//www.anyweb.com"></a>

but how do i make a link in a textarea to an elemment in the xml?
what i want to do is reference a word or a phrase to another text in
the xml like in html

 



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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to