<?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"
	>
<channel>
	<title>Comments on: Insert image from File System into text using the Text Layout Framework</title>
	<atom:link href="http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/</link>
	<description>I Flash und I Flex Jaaaa</description>
	<pubDate>Sat, 31 Jul 2010 00:01:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: gauravgr8</title>
		<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/#comment-1402</link>
		<dc:creator>gauravgr8</dc:creator>
		<pubDate>Tue, 11 May 2010 14:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakri.net/blog/?p=251#comment-1402</guid>
		<description>Hi,

I am in need to get the source path of the inserted image as bitmapdata when I export the textflow XML.

Please help ASAP.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am in need to get the source path of the inserted image as bitmapdata when I export the textflow XML.</p>
<p>Please help ASAP.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sakri</title>
		<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/#comment-1372</link>
		<dc:creator>sakri</dc:creator>
		<pubDate>Tue, 02 Mar 2010 09:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakri.net/blog/?p=251#comment-1372</guid>
		<description>Hi Deep,

As far as I know, there is no direct way to do that.  I made an editor, and the way around this was to immediately save any images on a server, this way I know the path. I stored all these paths in an array, with references to the image items in the TextFlow. This way, at "export time", I would run through all the ["Object bitmap"] items, and replace the xml with the paths I stored in the array. Quite a nasty work around, but I got it to work. Unfortunately I can't share the code as this was a project for a client.  Hopefully you get the idea though. Best of luck!</description>
		<content:encoded><![CDATA[<p>Hi Deep,</p>
<p>As far as I know, there is no direct way to do that.  I made an editor, and the way around this was to immediately save any images on a server, this way I know the path. I stored all these paths in an array, with references to the image items in the TextFlow. This way, at &#8220;export time&#8221;, I would run through all the ["Object bitmap"] items, and replace the xml with the paths I stored in the array. Quite a nasty work around, but I got it to work. Unfortunately I can&#8217;t share the code as this was a project for a client.  Hopefully you get the idea though. Best of luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deep</title>
		<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/#comment-1371</link>
		<dc:creator>deep</dc:creator>
		<pubDate>Tue, 02 Mar 2010 09:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakri.net/blog/?p=251#comment-1371</guid>
		<description>Hello
I used this code to insert an inline image but when i am exporting the XML,source attribute of  has value ["object bitmap"].
 e.g 
 I want the exact path or at least name of the image with extension in my XML as a source so that i can distinguish the different images inserted in my text.

thanks.</description>
		<content:encoded><![CDATA[<p>Hello<br />
I used this code to insert an inline image but when i am exporting the XML,source attribute of  has value ["object bitmap"].<br />
 e.g<br />
 I want the exact path or at least name of the image with extension in my XML as a source so that i can distinguish the different images inserted in my text.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lingu</title>
		<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/#comment-1297</link>
		<dc:creator>Lingu</dc:creator>
		<pubDate>Mon, 18 Jan 2010 13:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakri.net/blog/?p=251#comment-1297</guid>
		<description>HI all,
       I am using image with textarea, to display the image and textat same line...
is not working properly....
below code....
any one help me...
	
		&#60;![CDATA[
			public function addimage(event:Event):void
			{
				txtarea.htmlText= "" ;
			}
		]]&#62;
	
	
	
		
		
		
			
		
	
			
		
	</description>
		<content:encoded><![CDATA[<p>HI all,<br />
       I am using image with textarea, to display the image and textat same line&#8230;<br />
is not working properly&#8230;.<br />
below code&#8230;.<br />
any one help me&#8230;</p>
<p>		&lt;![CDATA[<br />
			public function addimage(event:Event):void<br />
			{<br />
				txtarea.htmlText= "" ;<br />
			}<br />
		]]&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/#comment-1070</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Fri, 27 Mar 2009 12:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakri.net/blog/?p=251#comment-1070</guid>
		<description>Thanks for the help

More comments at:

http://www.sakri.net/blog/2009/03/26/mouse-interactions-on-text-layout-framework-inlinegraphicelements-in-editmode/</description>
		<content:encoded><![CDATA[<p>Thanks for the help</p>
<p>More comments at:</p>
<p><a href="http://www.sakri.net/blog/2009/03/26/mouse-interactions-on-text-layout-framework-inlinegraphicelements-in-editmode/" rel="nofollow">http://www.sakri.net/blog/2009/03/26/mouse-interactions-on-text-layout-framework-inlinegraphicelements-in-editmode/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sakri</title>
		<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/#comment-1060</link>
		<dc:creator>sakri</dc:creator>
		<pubDate>Thu, 26 Mar 2009 10:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakri.net/blog/?p=251#comment-1060</guid>
		<description>Hi Brett,

Funny, I was planning on posting about that very topic, and thanks to your comment, I have :) Hopefully this will help:

http://www.sakri.net/blog/2009/03/26/mouse-interactions-on-text-layout-framework-inlinegraphicelements-in-editmode/</description>
		<content:encoded><![CDATA[<p>Hi Brett,</p>
<p>Funny, I was planning on posting about that very topic, and thanks to your comment, I have <img src='http://www.sakri.net/blog/wp-includes/images/smilies/smile_sakri_blue.gif' alt=':)' class='wp-smiley' /> Hopefully this will help:</p>
<p><a href="http://www.sakri.net/blog/2009/03/26/mouse-interactions-on-text-layout-framework-inlinegraphicelements-in-editmode/" rel="nofollow">http://www.sakri.net/blog/2009/03/26/mouse-interactions-on-text-layout-framework-inlinegraphicelements-in-editmode/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.sakri.net/blog/2009/03/23/insert-image-from-file-system-into-text-using-the-text-layout-framework/#comment-1052</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Wed, 25 Mar 2009 20:28:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.sakri.net/blog/?p=251#comment-1052</guid>
		<description>HI
Thanks for the info. I have been working with inserting images into the TLF and came across some interesting issues.
1) Can you add an event listener to a graphic (MouseEvent)
2) How can you target a particular graphic (if I wanted to resize for example)

I also added an ADDED_TO_STAGE event listener on an swf I loaded as a graphic, I traced the added to stage event and found that the graphic seems to be added twice althought only one instance remains... strange

Any ideas on how to add an event listener to a graphic would be appreciated

Thanks</description>
		<content:encoded><![CDATA[<p>HI<br />
Thanks for the info. I have been working with inserting images into the TLF and came across some interesting issues.<br />
1) Can you add an event listener to a graphic (MouseEvent)<br />
2) How can you target a particular graphic (if I wanted to resize for example)</p>
<p>I also added an ADDED_TO_STAGE event listener on an swf I loaded as a graphic, I traced the added to stage event and found that the graphic seems to be added twice althought only one instance remains&#8230; strange</p>
<p>Any ideas on how to add an event listener to a graphic would be appreciated</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
