Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
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.
Can not render HTML in scroll pane even after Macromedia tutor

Can not render HTML in scroll pane even after Macromedia tutor

2004-02-19       - By Vadim Korolev

 Back
Reply:     1     2  

Hi,
Flash does not support some HTML constructions.
This must work:
<font color= "#ff0000 " > instead of <font color=red > and
<a href= "http://www.google.com " target= "_blank " > instead of <a
href=http://www.google.com target=_blank >

Vadim
-- ---- ---- ---- ------
On Thu, 19 Feb 2004 00:33:10 -0800, Steve Lloyd <steve@(protected) > wrote:

> Hi,
>
> I am working on a Flash chat application and have been asked to include
> hyperlinks in the scroll pane and am a little buggered at the moment. I
> have looked at this tutorial example and done exactly what it says but it
> does not seem to work:
>
> http://www.macromedia.com/support/flash/ts/documents/scrolling_text_mx.htm
>
> For example, I have this textfile named kirupa.txt with the following
> content:
>
> kirupatext=
> Hello There!
> I am an <font color=red >example </font > of text that has been loaded from
> a
> separate location on
> I am an <a href=http://www.google.com target=_blank >example </a > of text
> that
> has been loaded from a separate location on kirupa 's server.
>
> The scroll pane has an instance name of 'scroller ', is set to multiline,
> and
> has the following actionscript:
>
> //Create a new instance of the loadVars object and assign it to a
> variable
> loadVarsText = new loadVars();
>
> loadVarsText.load( "kirupa.txt ");
>
> //assign a function which fires when the data is loaded:
> loadVarsText.onLoad = function (success){
> if (success){
> trace ( "done loading ");
> //Now that we know the data is loaded,
> //set the text content of the Text Field
> //with the instance name "scroller " equal to the
> //contents of the variable
> scroller.html = true;
> scroller.htmlText = this.kirupatext;
>
> }else{
> trace ( "not loaded ");
> }
> }
>
> When I execute the FLA I get this in the scroll window:
>
> Hello There!
> I am an
>
> Would appreciate any ideas why this is not working? The main objective
> is
> to get users in the chat to have clickable hyperlinks.
>
> Oh, and if anybody is wondering, I am using Flash MX.
>
> Thanks in advance,
>
> -Steve
>
> __ ____ ____ ____ ____ ____
> Steven L. Lloyd
> WebDabs - Putting it all together
> http://www.webdabs.com
> __ ____ ____ ____ ____ ____
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104686
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>




=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104688
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)