<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《在Flex中实现聊天表情图片支持-实战篇》的评论</title>
	<atom:link href="http://zengrong.net/post/810.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://zengrong.net/post/810.htm</link>
	<description>Flash、Flex、RIA、web、Linux和我的生活</description>
	<lastBuildDate>Thu, 09 Feb 2012 05:34:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>梧桐树下听雨</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14370</link>
		<dc:creator>梧桐树下听雨</dc:creator>
		<pubDate>Fri, 30 Dec 2011 09:06:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14370</guid>
		<description>我最近也在做这个东西
AIR写的一个聊天软件，实现方法和你的差不多
实现了图文混排，字体样式。
确还有两个问题，百思不得其解。
1：聊天框信息显示区域，出现滚动条之后，拖动滚动条，表情图片消失
2：出现滚动条之后，无法添加表情了！
因为小弟以前是写PHP了，项目需要，写FLEX不足一月，很多FLEX的特性还没掌握，求大侠指点一二。
QQ：747663826</description>
		<content:encoded><![CDATA[<p>我最近也在做这个东西<br />
AIR写的一个聊天软件，实现方法和你的差不多<br />
实现了图文混排，字体样式。<br />
确还有两个问题，百思不得其解。<br />
1：聊天框信息显示区域，出现滚动条之后，拖动滚动条，表情图片消失<br />
2：出现滚动条之后，无法添加表情了！<br />
因为小弟以前是写PHP了，项目需要，写FLEX不足一月，很多FLEX的特性还没掌握，求大侠指点一二。<br />
QQ：747663826</p>
]]></content:encoded>
	</item>
	<item>
		<title>moto</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14365</link>
		<dc:creator>moto</dc:creator>
		<pubDate>Thu, 15 Dec 2011 07:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14365</guid>
		<description>var ous:String =TextConverter.export(titf,TextConverter.TEXT_LAYOUT_FORMAT,ConversionType.STRING_TYPE) as String;
				
				trace(ous);
				
				var ius:String = this.emotionPanel.format(ous);//将链接类内容替换成外部图片链接
				
				
				trace(ius);
				var importer:ITextImporter= TextConverter.getImporter(TextConverter.TEXT_LAYOUT_FORMAT);
				importer.throwOnError = true;
				var tfw:TextFlow = importer.importToFlow(ius);;
				ta.textFlow.addChild(tfw.getChildAt(0));
				ta.textFlow.flowComposer.updateAllControllers();

代码如上，但是文本可以显示，图片区域出不来</description>
		<content:encoded><![CDATA[<p>var ous:String =TextConverter.export(titf,TextConverter.TEXT_LAYOUT_FORMAT,ConversionType.STRING_TYPE) as String;</p>
<p>				trace(ous);</p>
<p>				var ius:String = this.emotionPanel.format(ous);//将链接类内容替换成外部图片链接</p>
<p>				trace(ius);<br />
				var importer:ITextImporter= TextConverter.getImporter(TextConverter.TEXT_LAYOUT_FORMAT);<br />
				importer.throwOnError = true;<br />
				var tfw:TextFlow = importer.importToFlow(ius);;<br />
				ta.textFlow.addChild(tfw.getChildAt(0));<br />
				ta.textFlow.flowComposer.updateAllControllers();</p>
<p>代码如上，但是文本可以显示，图片区域出不来</p>
]]></content:encoded>
	</item>
	<item>
		<title>moto</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14364</link>
		<dc:creator>moto</dc:creator>
		<pubDate>Thu, 15 Dec 2011 07:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14364</guid>
		<description>您好，请教个问题，这个确实可以使用TextConverter.export导出字符串信息，但是如何从带表情的字符串，加入聊天信息显示中啊
我用TextConverter.importToFlow将导出的字符串导入，结果表情不显示，后来我换成外部图片链接也是一样，不知道这是什么问题，谢谢</description>
		<content:encoded><![CDATA[<p>您好，请教个问题，这个确实可以使用TextConverter.export导出字符串信息，但是如何从带表情的字符串，加入聊天信息显示中啊<br />
我用TextConverter.importToFlow将导出的字符串导入，结果表情不显示，后来我换成外部图片链接也是一样，不知道这是什么问题，谢谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>zrong</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14344</link>
		<dc:creator>zrong</dc:creator>
		<pubDate>Sat, 03 Dec 2011 03:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14344</guid>
		<description>当然是支持中文的。你没有在上面的Demo中测试么？
对于Spark组件，你为它们设置一个中文字体，必须“Simsun”就可以支持中文了。</description>
		<content:encoded><![CDATA[<p>当然是支持中文的。你没有在上面的Demo中测试么？<br />
对于Spark组件，你为它们设置一个中文字体，必须“Simsun”就可以支持中文了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>tenchiwang</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14343</link>
		<dc:creator>tenchiwang</dc:creator>
		<pubDate>Sat, 03 Dec 2011 00:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14343</guid>
		<description>樓主是高手~
不過好像 不支援中文?
我自己是發現 S的組件不支持 中文
改成原本的 MX 的就可以了~</description>
		<content:encoded><![CDATA[<p>樓主是高手~<br />
不過好像 不支援中文?<br />
我自己是發現 S的組件不支持 中文<br />
改成原本的 MX 的就可以了~</p>
]]></content:encoded>
	</item>
	<item>
		<title>zrong</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14338</link>
		<dc:creator>zrong</dc:creator>
		<pubDate>Fri, 25 Nov 2011 12:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14338</guid>
		<description>确实是不支持gif的。主要的原因，一个是要自己实现gif的解码和动画，另一个，就是gif的画质太差，不支持Alpha透明。
Spark组件中的Text类组件其实是基于TLF开发的，它的本质是显示对象，你把GIFPlayer包装过的显示对象加入到TLF的容器中，应该就可以了。</description>
		<content:encoded><![CDATA[<p>确实是不支持gif的。主要的原因，一个是要自己实现gif的解码和动画，另一个，就是gif的画质太差，不支持Alpha透明。<br />
Spark组件中的Text类组件其实是基于TLF开发的，它的本质是显示对象，你把GIFPlayer包装过的显示对象加入到TLF的容器中，应该就可以了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>andy</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14337</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Fri, 25 Nov 2011 05:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14337</guid>
		<description>你这个例子好像不支持动态gif,我正在做修改，打算用GIFPlayer来实现动态GIF的显示，但遇到一个问题，那就是不知道怎么把GIFPlayer对象加入到输入框中，博主能给一点提示吗？ :grin:  :grin:  :grin:</description>
		<content:encoded><![CDATA[<p>你这个例子好像不支持动态gif,我正在做修改，打算用GIFPlayer来实现动态GIF的显示，但遇到一个问题，那就是不知道怎么把GIFPlayer对象加入到输入框中，博主能给一点提示吗？ <img src='http://zengrong.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />   <img src='http://zengrong.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' />   <img src='http://zengrong.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>zrong</title>
		<link>http://zengrong.net/post/810.htm/comment-page-2#comment-14306</link>
		<dc:creator>zrong</dc:creator>
		<pubDate>Thu, 13 Oct 2011 00:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14306</guid>
		<description>是代码范例。重用的话，你只有自己进行抽象了。</description>
		<content:encoded><![CDATA[<p>是代码范例。重用的话，你只有自己进行抽象了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>匿名</title>
		<link>http://zengrong.net/post/810.htm/comment-page-1#comment-14305</link>
		<dc:creator>匿名</dc:creator>
		<pubDate>Wed, 12 Oct 2011 16:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14305</guid>
		<description>它是一个程序,还是一个库?

我找不到可以重用的类...  可惜</description>
		<content:encoded><![CDATA[<p>它是一个程序,还是一个库?</p>
<p>我找不到可以重用的类&#8230;  可惜</p>
]]></content:encoded>
	</item>
	<item>
		<title>Flash Text Engine、Text Layout Framework在Flex、Flash中的实现 &#124; zrong&#039;s Blog</title>
		<link>http://zengrong.net/post/810.htm/comment-page-1#comment-14276</link>
		<dc:creator>Flash Text Engine、Text Layout Framework在Flex、Flash中的实现 &#124; zrong&#039;s Blog</dc:creator>
		<pubDate>Wed, 24 Aug 2011 01:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.zengrong.net/?p=810#comment-14276</guid>
		<description>[...] - 11,319 views在Flex中实现聊天表情图片支持-实战篇 - 9,278 views了解Flex4中新的的Skin、CSS、Layout、NameSpace相关资料 - 8,086 [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; 11,319 views在Flex中实现聊天表情图片支持-实战篇 &#8211; 9,278 views了解Flex4中新的的Skin、CSS、Layout、NameSpace相关资料 &#8211; 8,086 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

