Enrico, I tried what you've described - indeed!
you wrote:
>How can I write the '<' char, inside an html dynamic textfield?

In fact, writing "<" char isn't a problem, but loading it from text
file is: it's either recognized as tag or (if you use &lt; etc)
another variable.
But if you try create a local var with html inside it, everything is
ok.
Solution:
1) I'd suggest to use XML file with CDATA instead of plain text.
Do you mind?
2) If the first doesn't fit you, maybe try to use another
char/combination in your txt file, then after loading replace them
with < or > using string manipulations. And then assign this string to
a textfield.
-- 
Best regards,
 Gregory_GOusable                        
================================
http://GOusable.com
Flash components development.
Usability services.

>
> I need to write, inside a .txt file that must be load into a dynamic
> textfield, the char '<' and '>';
> but, if I wrote so, the loading stop when arrive to '<', because Flash think
> this is the start of a tag, and I can't write neither '&lt;' nor '&gt;',
> because '&' for Flash it means the start of a new text block.
> Where can I find a table of equivalent 'coded' chars, that is possible to
> use within Flash?
> 
>      Enrico Tomaselli
>   +> web designer <+
>   [EMAIL PROTECTED]
> http://www.metatad.it
> 
> 
>
> 
> Well, I find on Macromedia site the table that I search, but the trouble its
> always on...
> If, instead than '<' I write %3C, Flash recognize this like '<', and it
> think that is a tag open, then - without the expected tag close - the load
> of following text stops.
> Trying to find a solution to this, I have met another strange behavior:
> thinkin' that, if the problem is the 'open without close tag', I wrote
> something like this
> "condition 1: %3C<font color="#ffffff">%3E</font> condition 2"
> where, obviously, white (#ffffff) is the background color; well, Flash show
> like below!
"condition 1: >> condition 2"
> Then, what it done is the follow:
> - don't stop the following text loading
> - don't show the char '<'
> - instead show the char '>', that should be white (no visible) ...
> I'm upcoming to become crazy!
> There is a solution to this problem? How can I write the '<' char, inside an
> html dynamic textfield?
> 
>      Enrico Tomaselli
>   +> web designer <+
>   [EMAIL PROTECTED]
> http://www.metatad.it


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to