<?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: HowTo: Build a multi-language dynamic Flex application</title>
	<atom:link href="http://richtextformat.co.uk/blog/?feed=rss2&#038;p=168" rel="self" type="application/rss+xml" />
	<link>http://richtextformat.co.uk/blog/?p=168</link>
	<description>: Freelance Flash &#38; Flex Developer</description>
	<pubDate>Thu, 09 Sep 2010 11:43:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Thomas</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-360</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 18 Feb 2010 00:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-360</guid>
		<description>Nice, always thought of implementing multiple languages this way, but never done it since there was no need yet. Nice to see it works like a charm :)</description>
		<content:encoded><![CDATA[<p>Nice, always thought of implementing multiple languages this way, but never done it since there was no need yet. Nice to see it works like a charm :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thales Violakis</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-280</link>
		<dc:creator>Thales Violakis</dc:creator>
		<pubDate>Wed, 05 Aug 2009 12:54:44 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-280</guid>
		<description>Men, can you help me with one little thing? I have a website, with 7 FLA's externals (7 links) , i need put 2 languages in the website, i am searching in the google and i find your site, its interesting, but think in the flash its different isnt ?
You know or have a example semelhant?
Dont know working with XML in AS3 very well, only with as2, and the website i writen in as3, please can you help?

Thanks</description>
		<content:encoded><![CDATA[<p>Men, can you help me with one little thing? I have a website, with 7 FLA&#8217;s externals (7 links) , i need put 2 languages in the website, i am searching in the google and i find your site, its interesting, but think in the flash its different isnt ?<br />
You know or have a example semelhant?<br />
Dont know working with XML in AS3 very well, only with as2, and the website i writen in as3, please can you help?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maik Schulze</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-278</link>
		<dc:creator>Maik Schulze</dc:creator>
		<pubDate>Sat, 11 Jul 2009 16:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-278</guid>
		<description>Hello Richard,

I've discovered a solution in the meantime. Instead of using validators,e.g. extending my CustomValidator from Validator, I'm now manually setting up the Tooltips.

Check out this website:
http://blog.flexmonkeypatches.com/2007/09/17/using-the-flex-tooltip-manager-to-create-error-tooltips-and-position-them/


In case, the website goes offline, here's a short sample code:

public class ValidatedTextInput extends TextInput
{
   protected var errorTip:ToolTip;
   public setToolTip():void
   {
      errorTip = ToolTipManager.createToolTip("",0,0) as ToolTip;
      model.bindProperty(errorTip,"text","register.secretanswer");
   }
   ...
}

That way, the tooltip text will update on language change

The downside of this approach is having to manually deal with the events and such. Since, the default behavior of FLEX' validators isn't that nice, you might end up altering this anyway.

Regards
Maik
   }</description>
		<content:encoded><![CDATA[<p>Hello Richard,</p>
<p>I&#8217;ve discovered a solution in the meantime. Instead of using validators,e.g. extending my CustomValidator from Validator, I&#8217;m now manually setting up the Tooltips.</p>
<p>Check out this website:<br />
<a href="http://blog.flexmonkeypatches.com/2007/09/17/using-the-flex-tooltip-manager-to-create-error-tooltips-and-position-them/" rel="nofollow">http://blog.flexmonkeypatches.com/2007/09/17/using-the-flex-tooltip-manager-to-create-error-tooltips-and-position-them/</a></p>
<p>In case, the website goes offline, here&#8217;s a short sample code:</p>
<p>public class ValidatedTextInput extends TextInput<br />
{<br />
   protected var errorTip:ToolTip;<br />
   public setToolTip():void<br />
   {<br />
      errorTip = ToolTipManager.createToolTip(&#8221;",0,0) as ToolTip;<br />
      model.bindProperty(errorTip,&#8221;text&#8221;,&#8221;register.secretanswer&#8221;);<br />
   }<br />
   &#8230;<br />
}</p>
<p>That way, the tooltip text will update on language change</p>
<p>The downside of this approach is having to manually deal with the events and such. Since, the default behavior of FLEX&#8217; validators isn&#8217;t that nice, you might end up altering this anyway.</p>
<p>Regards<br />
Maik<br />
   }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maik Schulze</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-277</link>
		<dc:creator>Maik Schulze</dc:creator>
		<pubDate>Sat, 11 Jul 2009 12:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-277</guid>
		<description>Hello Richard,

thank you very much for your explanations and the code. I'm new to FLEX and have one question / problem though.

I set up custom validators for my textinputs. The ValidationResults do not update correctly using the AS binding as following:

var valid:ValidationResult = new ValidationResult(true, null);
dictionaryAS.bindProperty(valid, "errorMessage", "register.secretanswer");

A workaround would be to validate all respective textinputs on a language change, but I feel this is a dirty way. Do you have any suggestions why this problem occurs and how to fix it?

Thanks again, for your effort and openness.

Regards
Maik</description>
		<content:encoded><![CDATA[<p>Hello Richard,</p>
<p>thank you very much for your explanations and the code. I&#8217;m new to FLEX and have one question / problem though.</p>
<p>I set up custom validators for my textinputs. The ValidationResults do not update correctly using the AS binding as following:</p>
<p>var valid:ValidationResult = new ValidationResult(true, null);<br />
dictionaryAS.bindProperty(valid, &#8220;errorMessage&#8221;, &#8220;register.secretanswer&#8221;);</p>
<p>A workaround would be to validate all respective textinputs on a language change, but I feel this is a dirty way. Do you have any suggestions why this problem occurs and how to fix it?</p>
<p>Thanks again, for your effort and openness.</p>
<p>Regards<br />
Maik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rich</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-244</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Tue, 17 Mar 2009 11:23:11 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-244</guid>
		<description>hey wubinator

you're right, some of the code had become lost, so i replaced the large section of code in the middle with a zipped download, much safer. thanks for the heads up</description>
		<content:encoded><![CDATA[<p>hey wubinator</p>
<p>you&#8217;re right, some of the code had become lost, so i replaced the large section of code in the middle with a zipped download, much safer. thanks for the heads up</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wubinator</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-225</link>
		<dc:creator>Wubinator</dc:creator>
		<pubDate>Mon, 09 Feb 2009 14:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-225</guid>
		<description>In the XML method of processing the XML it seems a part of the code is missing:

if (childID.length() == 1){
	childName = _camelCase( [childName, childID.toString()] );
}

what is _camelCase?</description>
		<content:encoded><![CDATA[<p>In the XML method of processing the XML it seems a part of the code is missing:</p>
<p>if (childID.length() == 1){<br />
	childName = _camelCase( [childName, childID.toString()] );<br />
}</p>
<p>what is _camelCase?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rtf</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-65</link>
		<dc:creator>rtf</dc:creator>
		<pubDate>Tue, 18 Nov 2008 14:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-65</guid>
		<description>Hey Alvaro&lt;br&gt;&lt;br&gt;The apps i&#39;ve made using this method are kind of massive and belong (IP-wise) to other organisations anyway, so i&#39;m not really able to email to anyone and everyone. If there&#39;s any part of this tutorial that&#39;s not too clear just let me know and i&#39;ll try to rewrite that bit to make it clearer.</description>
		<content:encoded><![CDATA[<p>Hey Alvaro</p>
<p>The apps i&#39;ve made using this method are kind of massive and belong (IP-wise) to other organisations anyway, so i&#39;m not really able to email to anyone and everyone. If there&#39;s any part of this tutorial that&#39;s not too clear just let me know and i&#39;ll try to rewrite that bit to make it clearer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alvaro Raminelli</title>
		<link>http://richtextformat.co.uk/blog/?p=168#comment-64</link>
		<dc:creator>Alvaro Raminelli</dc:creator>
		<pubDate>Tue, 18 Nov 2008 08:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://richtextformat.co.uk/blog/?p=323#comment-64</guid>
		<description>hi&lt;br&gt;I would like to know if you can to send me this app.&lt;br&gt;I dont get to do to function this..&lt;br&gt;I need urgent to make some like with this..&lt;br&gt;&lt;br&gt;Thanks &lt;br&gt;wait</description>
		<content:encoded><![CDATA[<p>hi<br />I would like to know if you can to send me this app.<br />I dont get to do to function this..<br />I need urgent to make some like with this..</p>
<p>Thanks <br />wait</p>
]]></content:encoded>
	</item>
</channel>
</rss>
