[FlashCodersNY] FlashCodersNY Digest, Vol 43, Issue 17

Fred Gerantabee fred at grooveyorkcity.com
Mon Dec 15 17:19:53 PST 2008


Hi - I am trying to reach Jean-Charles Carelli in regards to information
about the user group this wed. - can someone please connect me to either him
or the current admin of the user group?

Thanks,

Fred Gerantabee



On 12/15/08 3:00 PM, "flashcodersny-request at flashcodersny.org"
<flashcodersny-request at flashcodersny.org> wrote:

> Send FlashCodersNY mailing list submissions to
> flashcodersny at flashcodersny.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.flashcodersny.org/mailman/listinfo/flashcodersny_flashcodersny.org
> 
> or, via email, send a message with subject or body 'help' to
> flashcodersny-request at flashcodersny.org
> 
> You can reach the person managing the list at
> flashcodersny-owner at flashcodersny.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FlashCodersNY digest..."
> 
> 
> Today's Topics:
> 
>    1. reading special character as real HTML (Joe Almond)
>    2. Re: reading special character as real HTML (ali tan ucer)
>    3. Re: reading special character as real HTML (Rich Shupe)
>    4. Re: reading special character as real HTML (Colin Holgate)
>    5. Re: reading special character as real HTML (Colin Holgate)
>    6. Re: reading special character as real HTML (Robert Walch)
>    7. Re: reading special character as real HTML (Colin Holgate)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 15 Dec 2008 08:38:59 -0800 (PST)
> From: Joe Almond <joe.almond at yahoo.com>
> Subject: [FlashCodersNY] reading special character as real HTML
> To: "This is the general mailing list for FlashCodersNY.org"
> <flashcodersny at flashcodersny.org>
> Message-ID: <692708.82501.qm at web45604.mail.sp1.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
> 
> This is the XML:
> "<info><![CDATA[123 Cherry Lane&lt;br&gt;Somewhere, NY 21338&lt;br&gt;P (212)
> 444-5555&lt;br&gt;E &lt;a href=&quot;%27mailto:info at foo.com%27&quot;
> target=&quot;_blank&quot;&gt;info at foo.com&lt;/a&gt;]]></info>"
> And this is the AS:
> 
> info.htmlText = myText;
> 
> The problem is that it ends up displaying all the brackets etc, rather than
> reading it as HTML, so it displays, literally, "123 Cherry Lane<br>Somewhere,
> NY" . How do I convert it to actual  HTML?
> 
> Note that I CANNOT change the XML, thats how it comes to me.
> 
> Thanks!
> 
> -J
> 
> 
>       
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 15 Dec 2008 11:45:55 -0500
> From: "ali tan ucer" <alitanucer at gmail.com>
> Subject: Re: [FlashCodersNY] reading special character as real HTML
> To: "This is the general mailing list for FlashCodersNY.org"
> <flashcodersny at flashcodersny.org>
> Message-ID:
> <50bbb7ef0812150845n4edd0addh6aa0c9c6bd843776 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Make sure the textfield html property is set to true..
> Try setting the property before or after setting htmlText property.
> 
> info.html = true;
> 
> 
> Ali
> 
> 
> On Mon, Dec 15, 2008 at 11:38 AM, Joe Almond <joe.almond at yahoo.com> wrote:
> 
>> This is the XML:
>> "<info><![CDATA[123 Cherry Lane<br>Somewhere, NY 21338<br>P (212)
>> 444-5555<br>E <a href="%27mailto:info at foo.com%27"  target="_blank">
>> info at foo.com</a>]]></info>"
>> And this is the AS:
>> 
>> info.htmlText = myText;
>> 
>> The problem is that it ends up displaying all the brackets etc, rather than
>> reading it as HTML, so it displays, literally, "123 Cherry
>> Lane<br>Somewhere, NY" . How do I convert it to actual  HTML?
>> 
>> Note that I CANNOT change the XML, thats how it comes to me.
>> 
>> Thanks!
>> 
>> -J
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> FlashCodersNY mailing list
>> FlashCodersNY at flashcodersny.org
>> 
>> 
http://mail.flashcodersny.org/mailman/listinfo/flashcodersny_flashcodersny.or>>
g
>> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://mail.flashcodersny.org/pipermail/flashcodersny_flashcodersny.org/attac
> hments/20081215/e2132da8/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 15 Dec 2008 12:09:20 -0500
> From: Rich Shupe <lists at fmaonline.com>
> Subject: Re: [FlashCodersNY] reading special character as real HTML
> To: "This is the general mailing list for FlashCodersNY.org"
> <flashcodersny at flashcodersny.org>
> Message-ID: <C56BF970.4AC00%lists at fmaonline.com>
> Content-Type: text/plain; charset="US-ASCII"
> 
> For AS3, this is automatic, and the property below is eliminated. Just go
> straight to using .htmlText instead of .text. You may also have to embed a
> font, depending on your needs/setup.
> 
> 
> On 12/15/08 11:45 AM, "ali tan ucer" <alitanucer at gmail.com> wrote:
> 
>> Make sure the textfield html property is set to true..
>> Try setting the property before or after setting htmlText property.
>>  
>> info.html = true;
> 
> Rich
> http://www.LearningActionScript3.com
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 15 Dec 2008 12:11:29 -0500
> From: Colin Holgate <coiin at rcn.com>
> Subject: Re: [FlashCodersNY] reading special character as real HTML
> To: "This is the general mailing list for FlashCodersNY.org"
> <flashcodersny at flashcodersny.org>
> Message-ID: <625E423B-4A2D-427D-9C12-3B2CF07E68E2 at rcn.com>
> Content-Type: text/plain; charset="us-ascii"; Format="flowed";
> DelSp="yes"
> 
> 
> On Dec 15, 2008, at 11:45 AM, ali tan ucer wrote:
> 
>> Make sure the textfield html property is set to true..
>> Try setting the property before or after setting htmlText property.
>> 
>> info.html = true;
>> 
> 
> There isn't a difference between setting the field to display html in
> Properties and setting it in AS3, is there? It certainly fails with a
> field that is set to render html.
> 
> One way to solve the problem is to send the text through the text
> field, to convert it to usable html. In a movie that has a dynamic
> field on the stage, named  t1, (make sure it's tall enough to see
> that the line breaks are working), try this test:
> 
> var xml:XML=XML("<xml><info><![CDATA[123 Cherry
> Lane&lt;br&gt;Somewhere, NY 21338&lt;br&gt;P (212)
> 444-5555&lt;br&gt;E &lt;a href=&quot;%27mailto:info at foo.com%27&quot;
> target=&quot;_blank&quot;&gt;info at foo.com&lt;/a&gt;]]></info></xml>");
> 
> t1.htmlText=xml.info;
> t1.htmlText=t1.text;
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://mail.flashcodersny.org/pipermail/flashcodersny_flashcodersny.org/attac
> hments/20081215/0a53f17b/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 15 Dec 2008 12:17:22 -0500
> From: Colin Holgate <coiin at rcn.com>
> Subject: Re: [FlashCodersNY] reading special character as real HTML
> To: "This is the general mailing list for FlashCodersNY.org"
> <flashcodersny at flashcodersny.org>
> Message-ID: <EC361C42-F5B2-4E2E-8323-DBA1ACB4837D at rcn.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> 
> In passing, the problem you have is because you're converting <br> to
> &lt;br&gt; as well as using CDATA. If you did have control over the
> xml, either CDATA and the use of <br>, or no CDATA, and the use of
> &lt;br&gt;, would have worked.
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 15 Dec 2008 13:07:01 -0500
> From: Robert Walch <rwalch at entermation.com>
> Subject: Re: [FlashCodersNY] reading special character as real HTML
> To: "This is the general mailing list for FlashCodersNY.org"
> <flashcodersny at flashcodersny.org>
> Message-ID: <856783E9-60E6-42A0-AE57-9CA96834FD74 at entermation.com>
> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
> 
> How are you getting the text from XML? In as3 is there still a way to
> get the node text value? That decided the text HTML entities vs
> returning the plain text.
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Mon, 15 Dec 2008 13:17:27 -0500
> From: Colin Holgate <coiin at rcn.com>
> Subject: Re: [FlashCodersNY] reading special character as real HTML
> To: "This is the general mailing list for FlashCodersNY.org"
> <flashcodersny at flashcodersny.org>
> Message-ID: <1425A04A-AF0C-4C9D-AD88-675C80AB927D at rcn.com>
> Content-Type: text/plain; charset="us-ascii"; Format="flowed";
> DelSp="yes"
> 
> 
> On Dec 15, 2008, at 1:07 PM, Robert Walch wrote:
> 
>> How are you getting the text from XML? In as3 is there still a way
>> to get the node text value? That decided the text HTML entities vs
>> returning the plain text.
> 
> The nodes are text. CDATA makes sure that any included <> are ignored
> (not that there are any in this case). The problem is that the <>
> characters have been converted, so CDATA isn't doing anything useful.
> Flash would have to mind read you to realize that even though you had
> used CDATA, you intended &lt; to be converted to <.
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: 
> <http://mail.flashcodersny.org/pipermail/flashcodersny_flashcodersny.org/attac
> hments/20081215/00565bf3/attachment-0001.html>
> 
> ------------------------------
> 
> _______________________________________________
> FlashCodersNY mailing list
> FlashCodersNY at flashcodersny.org
> http://mail.flashcodersny.org/mailman/listinfo/flashcodersny_flashcodersny.org
> 
> 
> End of FlashCodersNY Digest, Vol 43, Issue 17
> *********************************************





More information about the FlashCodersNY mailing list