all groups > flash (macromedia) > february 2005 >
You're in the

flash (macromedia)

group:

HTML formatting to multiple lines


HTML formatting to multiple lines Kenneth
2/22/2005 9:30:05 PM
flash (macromedia):
I am trying to input HTML code into a TextField.

Here is my code for the frame(the TextField variable is 'textBox':

------------------------------------------------------------------

var textBox;

textBox = "<P>The initial focus of this</P>";





It doesn't work when I more than one line. This is what I want:

------------------------------------------------------------------

var textBox;

textBox = "<P> The initial focus of this organization was on the
children of Mozambique. In this connection the short-term goal was, and
still is, to make quality textbooks, literature and basic educational
materials in the Portuguese language more available in Mozambique, in
places where schools already exist and in places where schools could be
established if these materials were available. The long-term goal is to
aid the government and nongovernment organizations (NGOs) in
establishing infrastructure in Mozambique for the improved education of
its people. </P>";




I know it has to do with some newline syntax after the first line, but I
do not know how to do it.


Re: HTML formatting to multiple lines Kenneth
2/23/2005 12:45:23 AM
[quoted text, click to view]
Re: HTML formatting to multiple lines rezun8
2/23/2005 3:31:06 AM
Using the DYNAMIC TEXTBOX, make sure you have MULTILINE selected as well. You do not need Quotes after the textbox=
AddThis Social Bookmark Button