Mailing List
Home
Forum Home
Flash Pro
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Clickable anchor tags in my Flash chat scroll pane:

Clickable anchor tags in my Flash chat scroll pane:

2004-02-18       - By Steve Lloyd

 Back
Hi,

I'm working on a Flash chat application using a .NET server and have been asked
to include hyperlinks in the scroll text and am a little buggered at the moment
.  I thought this would be straight simple, make sure the text is being rendered
as HTML and possibly parse qualified web URLs and email addresses to add the
tag information but to my delight doing a simple test in a scroll pane under
does not render it as a link.

For example, if you have:

content.htmlText = "This example shows you how to create a scrolling text
object."

+ "\n\nAll <font color=red>the</font> <a href='http://www.google.com'>Google</a
>working parts are here in this scene."
+ "\n\nClick the View Instructions button for a step-by step description of how
this was done."
+ "\n\nClick the Print Instructions Button for a printout of the steps."
+ "\n\nHere's some additional text added just for the effect."
+ "\n\nAnd the last paragraph of text!";

In the scroll pane it renders it as:

<font color=red>the</font> <a href='http://www.google.com'>Google</a> working
parts are here in this scene.
Click the View Instructions button for a step-by step description of how this
was done.
Click the Print Instructions Button for a printout of the steps.
Here's some additional text added just for the effect.
And the last paragraph of text!

Instead of what I want:

the Google working parts are here in this scene.
Click the View Instructions button for a step-by step description of how this
was done.
Click the Print Instructions Button for a printout of the steps.
Here's some additional text added just for the effect.
And the last paragraph of text!

So, any ideas on how to do this?

Thanks in advance,

-Steve

__ ____ ____ ____ ____ ____
Steven L. Lloyd
WebDabs - Putting it all together
http://www.webdabs.com
__ ____ ____ ____ ____ ____
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm working on a Flash chat application using a
.NET server and have been asked to include hyperlinks in the scroll text and am
a little buggered at the moment.&nbsp; I thought this would be straight simple,
make sure the text is being rendered as HTML and possibly parse qualified web
URLs and email addresses to add the tag information but to my delight doing a
simple test in a scroll pane under does not render it as a
link.&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For example, if you have:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>content.htmlText = "This example shows you how to
create a scrolling text object."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>+ "\n\nAll &lt;font color=red&gt;the&lt;/font&gt;
&lt;a href='http://www.google.com'&gt;Google&lt;/a&gt;working parts are here in
this scene."<BR>+ "\n\nClick the View Instructions button for a step-by step
description of how this was done."<BR>+ "\n\nClick the Print Instructions
Button
for a printout of the steps."<BR>+ "\n\nHere's some additional text added just
for the effect."<BR>+ "\n\nAnd the last paragraph of text!";</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In the scroll pane it renders it as:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;font color=red&gt;the&lt;/font&gt; &lt;a
href='http://www.google.com'&gt;Google&lt;/a&gt; working parts are here in this
scene.<BR>Click the View Instructions button for a step-by step description of
how this was done.<BR>Click the Print Instructions Button for a printout of the
steps.<BR>Here's some additional text added just for the effect.<BR>And the
last
paragraph of text!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Instead of what I want:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT color=#ff0000>the</FONT> <FONT
color=#0000ff><A href="http://www.google.com">Google</A></FONT> working parts
are here in this scene.<BR>Click the View Instructions button for a step-by
step
description of how this was done.<BR>Click the Print Instructions Button for a
printout of the steps.<BR>Here's some additional text added just for the
effect.<BR>And the last paragraph of text!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>So, any ideas on how to do this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-Steve</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>__ ____ ____ ____ ____ ____<BR>Steven L.
Lloyd<BR>WebDabs - Putting it all together<BR><A
href="http://www.webdabs.com">http://www.webdabs.com</A><BR>__ ____ ____ ______
__ _____</FONT></DIV></BODY></HTML>

Earn $52 per hosting referral at Lunarpages.