On 11/13/05, Gregory_GOusable <[EMAIL PROTECTED]> wrote:
>
> 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.


Or:
3) Use plain text and LoadVars, but override onData to do the parsing of the
text file yourself - so you aren't letting Flash split up lines using the &
character.

Ian
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to