Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Dynamic Text And HTML


I'm trying to load a string variable from a text file into a dynamic text field. It's working, but I want to format it with HTML. I checked the box for it, but it keeps displaying the tags, rather than interpreting them. I even tried to define and declare the variable within the movie itself and it still doesn't work. Has something changed since 5 that I'm not aware of? Please advise....




FlashKit > Flash Help > Flash MX
Posted on: 10-15-2002, 03:07 PM


View Complete Forum Thread with Replies

Sponsored Links:

Sending Html Text To Html Dynamic Text Field But It Dosnt Show
code: theNews = "<font color=#FF9900>"+newsRow0newsDate+"</font>"+": "+newsRow0newsStory+newline+"<font color=#FF9900>"+newsRow1newsDate+"</font>"+": "+newsRow1newsStory+newline+"<font color=#FF9900>"+newsRow2newsDate+"</font>"+": "+newsRow2newsStory+newline;
newsArea.textMain.htmlText = theNews;
trace("the news ="+theNews);

The data dosn't display but if i change the textMain.htmlText to .Text then it works, i need the formatted text.
Is ther something wrong with this?
i cant see anything wrong.

Cheers
Paul

View Replies !    View Related
Sending Html Text To Html Dynamic Text Field But It Dosnt Show
ActionScript Code:
theNews = "<font color=#FF9900>"+newsRow0newsDate+"</font>"+": "+newsRow0newsStory+newline+"<font color=#FF9900>"+newsRow1newsDate+"</font>"+": "+newsRow1newsStory+newline+"<font color=#FF9900>"+newsRow2newsDate+"</font>"+": "+newsRow2newsStory+newline;
newsArea.textMain.htmlText = theNews;
trace("the news ="+theNews);
The data dosn't display but if i change the textMain.htmlText to .Text then it works, i need the formatted text.
Is ther something wrong with this?
i cant see anything wrong.

Cheers
Paul

View Replies !    View Related
[MX04] HTML Tags Needs To Be Disabled In Dynamic Html Enabled Text Fields
Hi Buddies,

Am loading some dynamic text from an xml which has html tags inside dat text. I jus loading dat specified texts into a dynamic text fields where html is enabled and assisgned as a htmlText instead of normal text.

It works fine, but the thing is, i want to disable certain html tags to be rendered but it shud display as it is as a normal texts.
Is there any way to do dat

View Replies !    View Related
Scroll Bar For Html Dynamic Text Field Won't Work With Html
Hi:

I'm trying to add a scroll bar to a dynamic text field that is populated with an XML file. (see attached scolltext.zip file).

If I populate the field with plain hard coded text, it works fine. However, in my application, I need the text to contain html formatting codes. When I change the hard coded string to include html, it doesn't appear to work.

Can anyone suggest an alternative way to create a scroll bar for this dynamic text field? I need the html to stay as is because eventually the glossary will be populated via XML through a CF server.

Thanks in advance for any assistance!

Dawnthea

View Replies !    View Related
Dynamic Text From MySQL Problem. Multiline + HTML-rendered Text Wanted...
Hi.

I'm in the process of writing a guestbook using Flash, PHP and a MySQL database. A large part of the Flash-code, is fully functional, but there is one strange problem.

The text i'm echo'ing from the PHP document into Flash, doesnt wrap correctly in my textfield. I've set the textfield to multiline and I've pressed the "Render as HTML"-tab. But the text is displayed with HTML-tags and stays on one line.

This is how it looks: http://www.riminalitet.org/guestbook.swf The buttons below the field are "Next"- and "Back"-buttons for the submissions...(It's danish )

I've experienced that it works if I use
instead of <br> in my HTML-formatted code. But I'd like to use <b>BOLD</b> as well. And if I urlencode my output-code from PHP, nothing changes. Still one line with HTML-tags...

The textfield is embedded in a scrollPane. I'm targeting this field in my LoadVars function. Can this has something to do with the problem?

Should I use the ScrollBar component in stead of the scrollPane to retrieve dynamic text? (This would be a little bugging, since my goal is to display the text nicely with some graphics around it).

Hope some of you guys can help me with this. Bye now...

View Replies !    View Related
Can HTML Formatted Text In A Dynamic Text Target A MC On A Main Stage?
'Ello g'vnr

I've a dynamic textfield, into which I added HTML formatted texts.
I would like to add hyperlinks to the texts, which will activate a movie clip on a main stage,... Effectively creating a tell target like action. Is this possible?
Has anyone done this successfully?

View Replies !    View Related
Dynamic Text Box Doesn't Update From External Text/html File
here is my code for a dynamic text box which is reading html from an external text file...problem is the text shows, but when I update it, it doesn't change...unless I empty the cache...I even tried some other suggestions on here such as adding a random # to the end of the file:

ran = math.round(math.random()*1000+1);
LoadVariables("./home.txt?ran="+ran,"")
If(home ne "")

here is a link to the fla file if you want to look at the whole thing:
http://mcc.larrychendesign.com/resou...ntitledmcc.zip

View Replies !    View Related
Dynamic Text Box Doesn't Update From External Text/html File
here is my code for a dynamic text box which is reading html from an external text file...problem is the text shows, but when I update it, it doesn't change...unless I empty the cache...I even tried some other suggestions on here such as adding a random # to the end of the file:

ran = math.round(math.random()*1000+1);
LoadVariables("./home.txt?ran="+ran,"")
If(home ne "")

here is a link to the fla file if you want to look at the whole thing:
http://mcc.larrychendesign.com/resou...ntitledmcc.zip

View Replies !    View Related
Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

View Replies !    View Related
Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

View Replies !    View Related
[F8] Displaying HTML Entities In Dynamic Text From External Text Files
I'm pulling content for a dynamic HTML formatted text box from a series of client-editable text files using LoadVars.

Flash 8 allows for the use of HTML entites in HTML text, and my client's text includes copyright and trademark symbols.

If I load some HTML text from within a script, the text box displays entities fine (like &174 to display a ® trademark symbol).

However, when using LoadVars to load the text from an external text file, I can't use ampersands in the text file, because the LoadVars interprets them as indicating the start of another variable.

I tried using Unicode, for example u00ae. Again, this works fine when the text is drawn from within a script, but when the loadVars displays it from the text file, it just displays the Unicode as a literal string. Other HTML formatting in the text files, such as bold or italic, displays fine.

Does anyone know a workaround for this (short of converting all 80 of my text files to XML)?

View Replies !    View Related
Embed Jpeg In Dynamic Text Using External Text File Html
so I have a website and I am using dynamic html enabled multi-line wrap text boxes and am sourcing the context to fill the dynamic text boxes via text files which contain html...

here are links to my .fla file and .txt file....
http://mcc.larrychendesign.com/untitledmcc.fla
http://mcc.larrychendesign.com/home.txt

I am using flash mx 2004 pro and am exporting/publishing in flash player 7 and actionscript 2.0...

I can't seem to get jpeg's to load, but I can get all the other supported html tags to work...I am using the <img src='untitled.jpeg'> but no image....they are NOT progressive jpegs...but they won't load...why not? I thought embedding non-progressive jpeg images are allowed in flash if publishing in flash player 7 and above and authoring in flash mx 2004 or above...what gives?

any help would be greatly appreciated! and I did stipulate the width and height to try that as well, but it didn't work...this did work back in the day, but I don't remember what I did...

View Replies !    View Related
Preserving Rich Text... Html In Dynamic Text Field
i have a dynamic text field that gets the text from data.html and i turned on the "render text as html" button, what eltse do i have to do to get it to work?

View Replies !    View Related
Html Text Field Write To Flash Dynamic Text Box
I have a dynamic text field in Flash.
I would like to have users type a message in the HTML text field and have it eventually appear in the Flash dynamic text field.
How can I get text from an HTML text field (on the same page as the swf) to write to the Flash dynamic text field?

View Replies !    View Related
Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,

In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.

I have tried these macromedia solutions with NO success:

http://www.macromedia.com/support/fl...t_outlines.htm

http://www.macromedia.com/support/fl...namic_text.htm

http://www.macromedia.com/support/fl...haredfonts.htm

Does anyone have a working sample .fla they can send me?

-Jimmy

View Replies !    View Related
Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,

In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.

I have tried these macromedia solutions with NO success:

http://www.macromedia.com/support/fl...t_outlines.htm

http://www.macromedia.com/support/fl...namic_text.htm

http://www.macromedia.com/support/fl...haredfonts.htm

Does anyone have a working sample .fla they can send me?

-Jimmy

View Replies !    View Related
Putting Text Into Movie Using Dynamic Text And Html Tags?
If i declare a variable name for a text box in flash, then using action script fill in the variable using html tags does it follow all the same rules as straight html as if i were creating a page in notepad or does it need to be formated differently?

View Replies !    View Related
HTML Text In A Dynamic Text Box Called From An External .txt File
Hello,

I am trying to get a .txt file containing html text to load into a dynamic text field in flash.

All of the tutorials I have found and the books I have read all do this with a button. I need this to be done without a button.

If anyone knows of a tutorial or could help me out please let me know.

I am using Flash MX 2004 on a mac

Zard

View Replies !    View Related
Rendering External Text File To HTML In Dynamic Text Box?
alright, im having a problem at this site: http://pvcent.com ... the dynamic text box that i created points to a .txt file on my server. is there any way for me to be able to use html tags and what not in this external .txt file and have it be parsed into html for the viewer to see in the dynamic text box?

View Replies !    View Related
Rendering External Text File To HTML In Dynamic Text Box?
alright, im having a problem at this site: http://pvcent.com ... the dynamic text box that i created points to a .txt file on my server. is there any way for me to be able to use html tags and what not in this external .txt file and have it be parsed into html for the viewer to see in the dynamic text box?

View Replies !    View Related
Justifying Html Text In Dynamic Text Field
i as'ed html text into dynamic text field, but i can only get it to align left, right or center.

is there anyway to justify the html text so that it looks good?

the example i'm talking about is seen here:

http://www.eight.nl/ttb/ttb.html

View Replies !    View Related
Dynamic Text Boxes, HTML, Text Files, Oh My
Can you apply HTML formating for text inside a TEXT file, load that into flash, and then have a DYNAMIC TEXTBOX display the text with the proper formatting?

If you can does anyone know of a good resource where this is demonstrated?


Thanks,

View Replies !    View Related
Html Text - Dynamic Text Field - Escape?
I am trying to embed a link into a html external text document that I am importing into a dynamic text box.

The url is passing a variable to a cgi script and has a "?" and a "&" in it.

Is there a way to escape these characters or another way to get this url into my text field?

Thanks!

View Replies !    View Related
Load Html Text Into Dynamic Text Field
Does anyone know the action script I need in order to load an external html text file (e.g. mytext.htm) into a dynamic text box. The dynamic text box has an instance name of ArticleTxt. Also where do I apply the action script, is it frame based? or do I apply it to the text box?

View Replies !    View Related
Sending Text From Html To Dynamic Text In Flash
Hi there.
On my page I want to use a dynamic textbox in flash as my headers to get som effects and certain fonts on them.
That means I want to load my flash like "header.swf?text=This header is great"

Could anyone help me with how I would go about doing this?

View Replies !    View Related
Getting A Dynamic Text Box's Text From HTML-formatted Text?
Hey! You recognize me yet? I've got (hopefully) one last question for a while. Could somebody please tell me how do to get the text value of a text box with text that's formatted as HTML? ( it was formatted similar to "textBox.htmlText = "...";")

I tried "myVariable = textBox.htmlText", but it just gave me the formatting garbage it's using (<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT>) without the actual text that my users see. I also tried "myVariable = textBox.text;", but it returned a blank variable.


Many thanks, me Flash bruthas
Furry

View Replies !    View Related
Will HTML Text Scroll In A Dynamic Text Box?
Hi, I have a dynamic textbox set up, which is currently using HTML text for formatting purposes. I created two buttons to scroll the text, but it refuses to scroll. If I make it NON-HTML text, I can scroll it, but of course lose the formatting (text color, etc.). Is there any way I can both have scrolling and maintain formatting?

NOTE: The formatting is not applicable to the text box as a whole. If it were, I would just change the formatting of the default text of the text box. Rather, the formatting here is on a per-character basis. For example, in the string: "I am ORANGE", only ORANGE would be orange, while the rest of the string would be in black - hence the use of HTML formatting.

View Replies !    View Related
Dynamic Text / HTML Text And A Less Than Symbol (<)
I have a dynamic text box into which I am loading text from a database. The text is input into the database via an html based backend that lets a client write a simple email type note, with basic (flash htmltext supported) formating such as bold, italics etc.

All of this works fine.

My problem arises when someone enters a less than symbol ... < ... into their text. The dynamic textbox interprets that < as the start of an html tag and the text stops displaying at that point. I can get around it by converting the < to %3c and having the text go into the dynamic text field's .text variable but that breaks the htmlformatting, so it needs to go into mytextfield.htmltext... problem being when I do that is that the pure < breaks the text string as mentioned above, or if it's converted to %3c.. it shows as %3c, not as a < symbol. Yes, it's a bit confusing.

How can I have a less than symbol appear when entered, yet still retain the html formatting for the dynamic text field?

Thanks for any input.

datter

View Replies !    View Related
Html Text In Dynamic Text Field
Hey all
I've got a dynamic text box that pulls it's text from MySQL through PHP.

The text that it pulls is a mix of straight text and HTML code.

Everything works fine except the formatting. The main issue being text that follows a <img src=> tag.

www.simplecoat.tv - click the "BLOG" button on the remote control.
www.simplecoat.tv/blogIn.php - you can see that the HTML code is fine in the database.

Is it a problem with having images in a dynamic text field?

Thanks!

View Replies !    View Related
Change Of Text In The Dynamic Text From Html
How Could we change the text in the Dynamic Text from the Html page..


we will have a Dynamic text field in the flash and we need to change the text of the Dynamic text from the Html page..how could this possible...

can any one help me a sample...

View Replies !    View Related
Dynamic Text Always Reads Text As Html?
I have an area where I want to show the text from a text file with some html, in one part I want the text to be read correctly and make the links (this works) in the other part I want the html to be shown in the dtext box. But even if the render text as html isnt checked and if you put
textbox.html = false
it still doesnt show the html

I mostly am just using links so in the text file it says
&membertext1= here is a link
<a href="www.adobe.com" target="_blank">click</a>&

One area should read - this works
here is a link click

in the other
here is a link <a href="www.adobe.com" target="_blank">click</a>

but it still reads like the one above.

Any ideas how to achieve this?

View Replies !    View Related
Align Text In Dynamic Text Box Using HTML
Hi,

I am importing text from mysql, via php, to a dynamic text box in flash. I cannot get column 2 text to align left. It comes out like this:
Column 1 Column 2
James Kearns
Mary Peterson
Thomas Clark

The php code I have is:
print ("&dbpages=");
while ($row =mysql_fetch_array($result,MYSQL_ASSOC)){
print "<table>".$row['first_name']." "."<tr><td align=left>".$row['last_name']."</tr></td></table>"."
";
}

The AS code is:

Where database_txt is the dynamic text box.
How can I align column 2 ?

Thanks,
Paul








Attach Code

var resultPages_LV:LoadVars = new LoadVars();
resultPages_LV.onLoad = function (success:Boolean){
if (success){
database_txt.htmlText = true;
database_txt.htmlText = resultPages_LV.dbpages;
}

























Edited: 03/06/2008 at 05:34:35 AM by maith

View Replies !    View Related
Html In Dynamic Text Box
i have a dynamic text field in my movie with reads an external text file. basic html tags work fine but when i include a table it doesnt read it.

could someone tell me if it is possible to read table html tags in dynamic text fields in flash and if so, how to do it?!

View Replies !    View Related
Dynamic Text/html
is it possible that the dynamically loaded .txt file contains html attributes like href links, and bolded type? is this done in flash or externally. here is an example of the text block i am referring to:

http://www.blackalicious.com

thanks in advance

View Replies !    View Related
HTML And Dynamic Text
Has anyone who has used the < FONT> tag inside a dynamic text html enabled box run into font problems? I am trying to use Wingdings for it's bullets in and HTML document. It only seems to recognize certain fonts. In playing around with the embed all characters feature I was able to get Wingdings to show up, but then my Arial font wasn't working correctly. Does anyone know much about the font embeding?


Code:
< FONT FACE="Wingdings">hello< /FONT>

View Replies !    View Related
HTML In Dynamic Text Box
I am trying to display HTML in a dynamic text box. I selected the option render text as HTML in the properties palette and then I am setting my variable associated with that text box to:

Code:
myText="<b>This sucks</b>";

This text will only display if I have bold selected in the properties palette, but then text that isn't within bold tags won't be displayed. Am I missing a step? Thanks.

View Replies !    View Related
Dynamic Text Html
I want to load an external txt (or HTML file with text and tags) file and i want to be able to put links to my email addy and some other sites in it. Is there anyway i can do this?

Any help would be greatly appreciated

peace

View Replies !    View Related
Using Html With Dynamic Text Box
I have a dynamic text box with the variable name HelpText. I have selected the render as html button. I also have five buttons above the text box. When each button is pressed it sends its own text to the HelpText variable, and so to the text box.

One of these buttons is an about button and this text is
About = "<p align='center'>Pocket Darts</p><br><p align='center'>Created by Lee Smith</p><p align='center'><a href='http//:www.somename.co.uk'>website</a></p>";

When I test the movie and click on this link it adds the full path of the movie to the front of the web address and I get an alert box saying

Cannot find
'file///C|/My%20Documents/.../http://www.somename.co.uk'.
Make sure the path or internet address is correct

If anyone knows a way around this I would be grateful. Thanks
Lee

View Replies !    View Related
HTML And Dynamic Text
I'm using the following for my dynamic text, is there anyway to make it so that this can read HTML from the text files via action script? If not, could someone provide me a means of getting dynamic text to appear and support html, none of the tutorials or movies seem to have what I'm looking for...

_root.createTextField("theTextBox1", 1, 90, 66.8, 452.9, 189.0);
theTextBox1.background = false;
theTextBox1.border = false;
theTextBox1.backgroundColor = 0xFFFFFF;
theTextBox1.borderColor = 0x000000;
theTextBox1.multiline = true;
theTextBox1.wordWrap = true;
theTextBox1.variable = "top";
myTextFormat1 = new TextFormat();
myTextFormat1.font = "Arial";
myTextFormat1.size = 10;
myTextFormat1.color = 0x7F8996;
theTextBox1.setNewTextFormat(myTextFormat1);
loadVariables("main1.txt", "_root");

View Replies !    View Related
Dynamic Html Text
Hi,

I got some data from a xml file going into my mc. I use a dynamic text field wich I fill through a script.

Now I need to load html entities into this field, like & and &deg; (degree!). But as soon as I press the "render as html" button, I get no text at all??

How come, and how to get those special entities?

Thanks!

View Replies !    View Related
Dynamic Html Text
Why are the simple things the hardest? If anyone can spot the bug in this, please let me know. I have had this problem before, seemed to have it resolved, but now it is back.

I have a MC with the following script on it:

on(rollOver){
_root.answer.html=true;
_root.answer.htmlText="-HTML BOLD TAG- Some Text-HTML BOLD TAG- Some other text";
}

on(rollOut){
_root.answer.htmlText="";
}

There is a dynamic text field named answer on the main timeline.

When I test the movie, not only is the text between the bold tags not bold, it's not even visible. The other text is visible.

I realize these aren't html bold tags, but this forum would make my text bold if I used the html tags.

Thanks in advance.

_t

View Replies !    View Related
Re: Help With Dynamic Text In Html
when i tried what you said it opened the whole text file in a new window instead of displaying the information in the dynamic text box.

View Replies !    View Related
Can Help Me On Dynamic Text With Html Tag?
I use the loadVar command to load a text file into a textbox with the following script

_root.description.html=true;
myLoadVar = new LoadVars ();
myLoadVar.load("help/txt/add_delete_scene_e.txt");
myLoadVar.onLoad = function (success){
if (success == true) {
trace(myLoadVar.description);
_root.description.htmlText=myLoadVar.description;
}
}

in add_delete_scene_e.txt, it contains:
description=<html><font color ="#adff2f" size="18">Friday May 30th 2003</font></html>

The trace command output "<html><font color ="#adff2f" size="18">Friday May 30th 2003</font></html>", BUT the textbox doesn't show anything. Can anybody help?

View Replies !    View Related
Html In A Dynamic Text Box?
hey, i'm designing a site which needs content updated frequently so... i'm having all text content loaded dynamicly from .txt files...
my issue is formatting... using this method the text is hard to formet and get where you want it to be... is it possible to use simple html tags? (ie: < center >, < font >, < b >, etc...)

View Replies !    View Related
HTML And Dynamic Text Box
Hi all!
Here's a question that probably has been asked a lot here: How can I load a HTML file into a dynamic textbox? I tried to use these tutorials, but they didn't work:

http://www.flashkit.com/tutorials/Dy...-988/index.php
http://www.flashkit.com/tutorials/Dy...-988/index.php

Can anybody please explain to me point by point how to do it? Or perhaps to upload some examples?

Thank you very much for your help!

View Replies !    View Related
Html In Dynamic Text Box...?
ok, im loading a .txt file into a dynamic text box in a movieclip. I'm trying to get html tags to read, and im probably doing something very stupid wrong, but it doesnt seem to work. In my .txt, i have a variable and then the text (text=<html><body> blah blahblah </body></html>). How do you get the text box to read it as html and not just print out the tags? When i click the little "render text as html" button in the dynamic text properties window, nothing shows up. Thanks in advance.

Jesse

View Replies !    View Related
Dynamic HTML Text
Can someone please explain in a more easily understandable way<br>how to implement the HTML code that Macromedia describes<br> in this tutorial:

http://www.macromedia.com/support/flash/ts/documents/scrolling_text_mx.htm


thanks,

Andrew

View Replies !    View Related
Html In Dynamic Text Box
Okay.. I have this dynamic text box with 'Render text as html' on. The text in it is changing when pushing different buttons. These buttons have this script on 'em:

on (press) {
myText = "Hello there peeps!";
}

This script doesn't work with html codes like:
<div align="center">Headline
</div>
<p>blah blah blah</p>
etc.

Do I have to get the text from an external file (like .txt) or can I somehow write html in flash?

If I need to use an external file, please specify what my script should be

View Replies !    View Related
Dynamic Html Text
I'm trying to create dynamic text that reads from an html text file. The text box is embedded in a movie clip. The dynamic text does not appear when I test the movie (click on 2nd link). I moved the dynamic text to appear when the flash movie starts, If I'm in the movie clip and I test the scene, the text appears (it isn't in the correct position though).

Attached is the fla file and here is the contents of the txt file (txt file is called text.txt and is in the same directory as the fla file).

htmlText=<html><font color ="#000000">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud.
</font></html>

View Replies !    View Related
Html In Dynamic Text Box
Vist http://www.promisesforbethany.com/page%206.swf

the text has such a large amount of space inbetween each line. Why is this? The dynamic text box loads the .txt file (which does not have these spaces).

View Replies !    View Related
Dynamic Html Text
I have a dynamic text that accepts HTML <u>bla</u> ect.
I need to have this dynamic text also be able to display the < symbol. The problem I am having is when it comes across the < symbol, it thinks it is html and blanks the rest of the text behind it. example:

textfielt.htmlText = "this < that and other text";

will read:

this


the rest of the text is gone.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved