Span.text = "<br/>"

Is rendered as txt I will try CR

Sent from my iPhone

> On 8 Apr 2014, at 14:40, "[email protected]" 
> <[email protected]> wrote:
>
> I think your CR could be done as "\n" and since it's accepting regular text 
> now, wouldn't "<br/>" work in text?
>
> -Mark
>
> -----Original Message-----
> From: Scott Matheson [mailto:[email protected]]
> Sent: Tuesday, April 08, 2014 9:19 AM
> To: [email protected]
> Subject: AS top add <s:br/>
>
> Hi
>   I would like to tank all these how have helped me almost to the the answer, 
>  I have reduced this down to a simple problems, if this MXML works the 
> <s:br/>  adds a line
>
>
>
>
> <s:p id="p1">
>
> <s:span id="s1">
>
> <s:text>
>
> Bacon ipsum dolor sit amet turducken pancetta short ribs tail anim pig.
>
> In pastrami in, ball tip flank shankle beef ribs spare ribs deserunt pancetta 
> esse cupidatat aliquip venison pork chop.
>
> Pork loin commodo corned beef ullamco culpa dolore occaecat, capicola 
> adipisicing ribeye bresaola sunt est.
>
> Commodo labore culpa ut, sausage ad meatloaf adipisicing.
>
> </s:text>
>
> </s:span>
>
> <s:br/>
>
> </s:p>
>
>
>
> how do i do the same with AS, this is want i have been working with , no luck
>
>
>
> private function addCRLF():void{
>
> var span:SpanElement = new SpanElement();
>
> /*  span.text = "CRLF";  <s:br/>  */
>
> span.text = "&#13;"
>
> p.addChild(span);
>
> _textFlow.addChild(p)
>
> }
>
>
> ________________________________
>
> Disclaimer: This electronic mail and any attachments are confidential and may 
> be privileged. If you are not the intended recipient, please notify the 
> sender immediately by replying to this email, and destroy all copies of this 
> email and any attachments. Thank you.

________________________________

Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.

Reply via email to