<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Tiago&#039;s Weblog &#187; Flex</title>
	<atom:link href="http://blog.six4rty.ch/category/adobe/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.six4rty.ch</link>
	<description>Code &#38; Technology Aficionado - Come for the Flash, stay for more!</description>
	<lastBuildDate>Tue, 01 Nov 2011 14:06:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
		<item>
		<title>AS3: Embed specific characters (part.2)</title>
		<link>http://blog.six4rty.ch/2010/08/23/as3-embed-specific-characters-part-2/</link>
		<comments>http://blog.six4rty.ch/2010/08/23/as3-embed-specific-characters-part-2/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 21:44:38 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[Font]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=840</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F08%252F23%252Fas3-embed-specific-characters-part-2%252F&title=AS3%3A+Embed+specific+characters+%28part.2%29&desc=Just+as+a+quick+update%2C+I%27ve+updated+the+previously+created+unicode+finder+app%2C+to+be+a+bit+more+helpful+for+the+everyday+usage.%0D%0AHere+a+list+of+things+that+have+been+changed%3A%0D%0A%0D%0A%09No+double+unicodes.%0D&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>Just as a quick update, I&#8217;ve updated the previously created unicode finder app, to be a bit more helpful for the everyday usage. Here a list of things that have been changed: No double unicodes. Automatic generation of embed code, easy for you to copy &#38; paste directly into your application. One thing that I [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F08%252F23%252Fas3-embed-specific-characters-part-2%252F&title=AS3%3A+Embed+specific+characters+%28part.2%29&desc=Just+as+a+quick+update%2C+I%27ve+updated+the+previously+created+unicode+finder+app%2C+to+be+a+bit+more+helpful+for+the+everyday+usage.%0D%0AHere+a+list+of+things+that+have+been+changed%3A%0D%0A%0D%0A%09No+double+unicodes.%0D&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p>Just as a quick update, I&#8217;ve updated the previously created unicode finder app, to be a bit more helpful for the everyday usage.<br />
Here a list of things that have been changed:</p>
<ul>
<li>No double unicodes.</li>
<li>Automatic generation of embed code, easy for you to copy &amp; paste directly into your application.</li>
</ul>
<p>One thing that I can&#8217;t handle for you is to define the source of the font with it&#8217;s according fontname as defined in your system, but hey if I find a way around this, I will update it.</p>
<p>And again if you would like to play around with it, here the app. Have fun!</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="616" height="494">
      <param name="movie" value="http://blog.six4rty.ch/wp-content/uploads/2010/08/UnicodeFinder1.swf" />
      <param name="allowfullscreen" value="true" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.six4rty.ch/wp-content/uploads/2010/08/UnicodeFinder1.swf" width="616" height="494" allowfullscreen="true">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/08/23/as3-embed-specific-characters-part-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AS3: Embed specific characters</title>
		<link>http://blog.six4rty.ch/2010/08/21/as3-embed-specific-characters/</link>
		<comments>http://blog.six4rty.ch/2010/08/21/as3-embed-specific-characters/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 17:40:31 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[Font]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=820</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F08%252F21%252Fas3-embed-specific-characters%252F&title=AS3%3A+Embed+specific+characters&desc=%0D%0A%0D%0AYou+might+have+read+on+one+of+my+previous+tweets%2C+where+I+was+screaming+about+using+%22special%22+characters+in+Flash%2C+with+%22special%22+I+mean+arabic%2C+cyrillic%2C+hebrew%2C+chinese+simplified+and+traditiona&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>You might have read on one of my previous tweets, where I was screaming about using &#8220;special&#8221; characters in Flash, with &#8220;special&#8221; I mean arabic, cyrillic, hebrew, chinese simplified and traditional, as well japanese. I know,  I know, there is TLF (Text Layout Framework) that handles the whole text, but I&#8217;m talking about embedding the [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F08%252F21%252Fas3-embed-specific-characters%252F&title=AS3%3A+Embed+specific+characters&desc=%0D%0A%0D%0AYou+might+have+read+on+one+of+my+previous+tweets%2C+where+I+was+screaming+about+using+%22special%22+characters+in+Flash%2C+with+%22special%22+I+mean+arabic%2C+cyrillic%2C+hebrew%2C+chinese+simplified+and+traditiona&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p><img class="alignleft size-medium wp-image-724" style="margin: 10px;" title="as3code" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/as3code-300x270.jpg" alt="" width="210" height="189" /></p>
<p>You might have read on one of my previous tweets, where I was screaming about using &#8220;special&#8221; characters in Flash, with &#8220;special&#8221; I mean arabic, cyrillic, hebrew, chinese simplified and traditional, as well japanese.</p>
<p>I know,  I know, there is TLF (Text Layout Framework) that handles the whole text, but I&#8217;m talking about embedding the font, did you knew that the complete chinese Unicode range helds something around 20&#8217;000 characters? You might think so what? Let me tell you that the complete chinese character range is over 7MB big!!! Do you really want to let your viewers download a 7MB file just for the font? No.</p>
<p>So I&#8217;ve created a quick app that will enable you to read out the UTF code from the text you need to use, with it you can specifically embed only the characters you need and take the file size down to a minimum. Now there is only a downside of this method, if the textual content changes a day, you need to again import the new characters.<br />
Apart from that, I haven&#8217;t seen any bad things about this implementation.</p>
<p>At the end of this post you will find an useful small tool to get all the needed characters.<span id="more-820"></span></p>
<p>As an example below with this line you are embedding a font only containing numerals typing 1234567890 will give you a range from U+0030 to U+0039</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">Embed(source=&quot;font_file_name&quot;, fontName=&quot;font_name&quot;, mimeType=&quot;application/x-font-truetype&quot;, unicodeRange=&quot;U+0030-U+0039,U+002E&quot;)]</pre></div></div>

<p>So let&#8217;s assume you would like to write this: <em>&#8220;Nemusíte oči vidět, musíte vidění&#8221;</em> which means <em>&#8220;You don&#8217;t need eyes to see, you need vision&#8221;</em> and only embed the needed characters, you would embed your font like this</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">Embed(source=&quot;font_file_name&quot;, fontName=&quot;font_name&quot;,  mimeType=&quot;application/x-font-truetype&quot;,  unicodeRange=&quot;U+004e, U+0065, U+006d, U+0075, U+0073, U+00ed, U+0074, U+0065, U+0020,  U+006f, U+010d, U+0069, U+0020, U+0076, U+0069, U+0064, U+011b, U+0074,  U+002c, U+0020, U+006d, U+0075, U+0073, U+00ed, U+0074, U+0065, U+0020,  U+0076, U+0069, U+0064, U+011b, U+006e, U+00ed&quot;)]</pre></div></div>

<p>If you don&#8217;t know how to use this kind of font embedding, have a read here:<a href="http://soledadpenades.com/2008/10/21/embedding-fonts-in-actionscript-3-using-flex-sdk/" target="_blank"></p>
<p>http://soledadpenades.com/2008/10/21/embedding-fonts-in-actionscript-3-using-flex-sdk/</a></p>
<p>Test ride it your self and have fun <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_1" width="616" height="494">
      <param name="movie" value="http://blog.six4rty.ch/wp-content/uploads/2010/08/UnicodeFinder1.swf" />
      <param name="allowfullscreen" value="true" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://blog.six4rty.ch/wp-content/uploads/2010/08/UnicodeFinder1.swf" width="616" height="494" allowfullscreen="true">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/08/21/as3-embed-specific-characters/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>AS3: Multiline textfields and Line Metrics</title>
		<link>http://blog.six4rty.ch/2010/07/31/as3-multiline-textfields-and-line-metrics/</link>
		<comments>http://blog.six4rty.ch/2010/07/31/as3-multiline-textfields-and-line-metrics/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 11:25:25 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Quick Hints]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[StringUtil]]></category>
		<category><![CDATA[TextField]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=791</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F07%252F31%252Fas3-multiline-textfields-and-line-metrics%252F&title=AS3%3A+Multiline+textfields+and+Line+Metrics&desc=Last+week+I+had+to+do+something+that+I+never+thought+of%2C+let+me+present+you+the+case%3A%0D%0A%0D%0AFirst+of+all+we+have+a+multiline%2C+word-wrapped+textfield+in+AS3%2C+the+text+is+picked+up+from+an+external+XML+fil&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>Last week I had to do something that I never thought of, let me present you the case: First of all we have a multiline, word-wrapped textfield in AS3, the text is picked up from an external XML file and gets styled with a CSS stylesheet, the textfield CAN have one line or multiple lines [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F07%252F31%252Fas3-multiline-textfields-and-line-metrics%252F&title=AS3%3A+Multiline+textfields+and+Line+Metrics&desc=Last+week+I+had+to+do+something+that+I+never+thought+of%2C+let+me+present+you+the+case%3A%0D%0A%0D%0AFirst+of+all+we+have+a+multiline%2C+word-wrapped+textfield+in+AS3%2C+the+text+is+picked+up+from+an+external+XML+fil&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/07/as3code.jpg"><img class="alignleft size-medium wp-image-724" style="margin: 10px;" title="as3code" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/as3code-300x270.jpg" alt="" width="210" height="189" /></a>Last week I had to do something that I never thought of, let me present you the case:</p>
<p>First of all we have a multiline, word-wrapped textfield in AS3, the text is picked up from an external XML file and gets styled with a CSS stylesheet, the textfield CAN have one line or multiple lines (depending on the translation and the language used), if the text is only an one-liner, the graphic (a simple small gray arrow) needs to be placed after the text in the middle of the first line, so you are able to visualize this, think about a standard &lt;li&gt; tag where you get the black dot, in my case just at the other side eg. at the end fo the line. have a look at the <a rel="lightbox" href="http://blog.six4rty.ch/wp-content/uploads/2010/07/lastLine.jpg">Example</a> for a visual clarification what I want to achieve.</p>
<p>Basically a simple task, you grab the textlength add the gutter and margin to it and place the small arrow at that position.. but what do you do when the text goes multine and word wraps automatically?<br />
After doing some experiments, I&#8217;ve came up with a simple yet appropriate solution for this.<br />
<span id="more-791"></span>Let&#8217;s start with a simple text field, containing some text and setup for multiline and wordwrapping.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> tf:<span style="color: #0066CC;">TextField</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">TextField</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
tf.<span style="color: #0066CC;">text</span> = <span style="color: #ff0000;">&quot;Lorem Ipsum is simply dummy text of the printing and typesetting industry.&quot;</span>;
tf.<span style="color: #0066CC;">width</span> = <span style="color: #cc66cc;">100</span>;
tf.<span style="color: #0066CC;">multiline</span> = <span style="color: #000000; font-weight: bold;">true</span>;
tf.<span style="color: #0066CC;">wordWrap</span> = <span style="color: #000000; font-weight: bold;">true</span>;
addChild<span style="color: #66cc66;">&#40;</span> tf <span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>This will display a simple textfield without any formatting with 5 lines of content. Why did I set a width value on my textfield? Well without it, the textfield would just be as wide as the text, resulting in a single line text, and that&#8217;s not what we want.</p>
<p>Now we create a simple square / dot / arrow whatever you like acting as a marker for the end of line, so you can visualize what&#8217;s happening, I&#8217;ve created a small rectangle like this:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> rect:Sprite = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
rect.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xff0000<span style="color: #66cc66;">&#41;</span>;
rect.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">10</span>, <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
rect.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
addChild<span style="color: #66cc66;">&#40;</span> rect <span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>Simple rectangle, doesn&#8217;t need much of an explanation, maybe you asking yourself why I&#8217;ve set it at x &amp; y 0? Although I could position the rectangle right at the proper position I always preferred to use the setters of it so I rather create all my shapes/graphs at 0,0 and move them with myShape.x = 100, it makes things more obvious to read and you find it much quicker then doing directly on the drawRect() method.</p>
<p>Next up let&#8217;s have a look at our class that returns the requested values.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> StringUtil
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0066CC;">private</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> _lastChar		:TextLineMetrics;
	<span style="color: #0066CC;">private</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">_x</span>			:<span style="color: #0066CC;">int</span>;
	<span style="color: #0066CC;">private</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">_y</span>			:<span style="color: #0066CC;">int</span>;
&nbsp;
	<span style="color: #0066CC;">private</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> _gutter		:<span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">2</span>;
&nbsp;
	<span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> getEndOfLine<span style="color: #66cc66;">&#40;</span> tf:<span style="color: #0066CC;">TextField</span>, line:<span style="color: #0066CC;">int</span> <span style="color: #66cc66;">&#41;</span>:Point
	<span style="color: #66cc66;">&#123;</span>
		_lastChar 	= tf.<span style="color: #006600;">getLineMetrics</span><span style="color: #66cc66;">&#40;</span>line<span style="color: #66cc66;">&#41;</span>;
		<span style="color: #0066CC;">_x</span>		= tf.<span style="color: #006600;">x</span> + _lastChar.<span style="color: #0066CC;">width</span> + _gutter;
		<span style="color: #0066CC;">_y</span>		= _lastChar.<span style="color: #0066CC;">height</span> <span style="color: #66cc66;">*</span> line  + _lastChar.<span style="color: #006600;">ascent</span>;
&nbsp;
		<span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">new</span> Point<span style="color: #66cc66;">&#40;</span> <span style="color: #0066CC;">_x</span>, <span style="color: #0066CC;">_y</span> <span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>What we are doing here is rather simple then you think. First we pass the textfield and the desired line to our static function, then using the getLineMetrics() method we return the desired line&#8217;s metrics, this can now be used to set an x and y position of the to be returned Point(). as you see at the _x value, I&#8217;m just telling it to add the textfields x position to the width of the requested line, at the end we add the gutter value for the textfield.<br />
The vertical position is another story, here we need to get the height of the desired line and multiply with it. this has the reason that there is no method available to get the proper y position of the line, so by multiplying the textheight with the desired line you get the proper y position of it. After that calculation we add the _lastCahr.ascent property of the line, asking what ascent? Take a look at the image below for more information about it but basically it&#8217;s just the length of the baseline to the top of the line height in pixels, so exactly the middle of our text.</p>
<p>Have a look at the image below for a nice and clean overview about the gutter of a flash textfield as well about the other properties a textfield has.</p>
<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/07/text-metrics.jpg" rel="lightbox"><img class="size-medium wp-image-800 alignnone" title="text-metrics" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/text-metrics-300x200.jpg" alt="" width="180" height="120" /></a></p>
<p>Something you should also be aware of is that the width of the text line is relative to the textfield width, but you need to subtract the gutter width of 4 pixels (2 pixels on each side ).</p>
<p>Now that our class is available let&#8217;s take a look at how I used it for this example.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> point:Point = StringUtil.<span style="color: #006600;">getEndOfLine</span><span style="color: #66cc66;">&#40;</span> tf, tf.<span style="color: #006600;">numLines</span> - <span style="color: #cc66cc;">1</span> <span style="color: #66cc66;">&#41;</span>;
rect.<span style="color: #006600;">x</span> = point.<span style="color: #006600;">x</span>;
rect.<span style="color: #006600;">y</span> = point.<span style="color: #006600;">y</span>;</pre></div></div>

<p>What we are doing here is nothing else then creating a new Point based on the position returned by our class, passing the textfield and specially since I want to have the rectangle on the LAST line I just ask for the textfields number of lines &#8211; 1.</p>
<p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/07/lastLine.jpg"><img class="size-full wp-image-794 alignnone" title="lastLine" src="http://blog.six4rty.ch/wp-content/uploads/2010/07/lastLine.jpg" alt="" width="199" height="113" /></a><br />
When running this example above you should see the small red rectangle on the last line of our textfield. yay!!!</p>
<p>You can download the StringUtil class here: <a href="http://blog.six4rty.ch/wp-content/uploads/2010/07/StringUtil.as_.zip">StringUtil.as</a><br />
Hope this serves you as well as it served me last week, and don&#8217;t forget to leave a comment if you have any questions about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/07/31/as3-multiline-textfields-and-line-metrics/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>OSMF &#8211; SpriteElement</title>
		<link>http://blog.six4rty.ch/2010/06/15/osmf-interactivespriteelement/</link>
		<comments>http://blog.six4rty.ch/2010/06/15/osmf-interactivespriteelement/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 20:54:02 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[OSMF]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=668</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F06%252F15%252Fosmf-interactivespriteelement%252F&title=OSMF+-+SpriteElement&desc=%0D%0A%0D%0AThe+Open+Source+Media+Framework+went+live+a+few+weeks+ago+with+it%27s+first+release+1.0%2C+I+already+worked+with+various+sprint+versions+of+it%2C+and+lately+created+a+final+project+using+OSMF.%0D%0A%0D%0ASometh&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>The Open Source Media Framework went live a few weeks ago with it&#8217;s first release 1.0, I already worked with various sprint versions of it, and lately created a final project using OSMF. Something that I was missing was the capability of displaying a Sprite or Text Element inside a Serial- or Parallel-Element. So I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F06%252F15%252Fosmf-interactivespriteelement%252F&title=OSMF+-+SpriteElement&desc=%0D%0A%0D%0AThe+Open+Source+Media+Framework+went+live+a+few+weeks+ago+with+it%27s+first+release+1.0%2C+I+already+worked+with+various+sprint+versions+of+it%2C+and+lately+created+a+final+project+using+OSMF.%0D%0A%0D%0ASometh&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/05/osmfLogo.jpg"><img class="alignnone size-full wp-image-660" title="osmfLogo" src="http://blog.six4rty.ch/wp-content/uploads/2010/05/osmfLogo.jpg" alt="" width="253" height="64" /></a></p>
<p>The Open Source Media Framework went live a few weeks ago with it&#8217;s first release 1.0, I already worked with various sprint versions of it, and lately created a final project using OSMF.</p>
<p>Something that I was missing was the capability of displaying a Sprite or Text Element inside a Serial- or Parallel-Element.<br />
So I&#8217;ve wrote a simple class named &#8220;<strong>InteractiveDisplayObjectElementt</strong>&#8221; that will handle this need:<span id="more-668"></span></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> InteractiveDisplayElement <span style="color: #0066CC;">extends</span> MediaElement
<span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> displayObjectTrait:InteractiveDisplayObjectTrait;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _sprite:Sprite;
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> InteractiveDisplayElement<span style="color: #66cc66;">&#40;</span> displayObject:Sprite=<span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
   <span style="color: #0066CC;">super</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #0066CC;">this</span>.<span style="color: #006600;">sprite</span> = displayObject;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">set</span> sprite<span style="color: #66cc66;">&#40;</span> value:Sprite <span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
   _sprite = value;
    updateSprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">get</span> sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:Sprite
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #b1b100;">return</span> _sprite;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> updateSprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
   <span style="color: #000000; font-weight: bold;">var</span> sprite:Sprite = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   sprite.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> _sprite <span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> displayObjectTrait == <span style="color: #000000; font-weight: bold;">null</span> <span style="color: #66cc66;">&#41;</span>
   <span style="color: #66cc66;">&#123;</span>
      displayObjectTrait = <span style="color: #000000; font-weight: bold;">new</span> InteractiveDisplayObjectTrait<span style="color: #66cc66;">&#40;</span> sprite <span style="color: #66cc66;">&#41;</span>;
      addTrait<span style="color: #66cc66;">&#40;</span> MediaTraitType.<span style="color: #006600;">DISPLAY_OBJECT</span>, displayObjectTrait <span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
   displayObjectTrait.<span style="color: #006600;">setSize</span><span style="color: #66cc66;">&#40;</span> sprite.<span style="color: #0066CC;">width</span>, sprite.<span style="color: #0066CC;">height</span> <span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><!--more--><br />
Extending the MediaElement class enables you to create a visible displayelement that can be attached to any kind of OSMF container including the serial &amp; parallel elements, this is aswell the class being used for all kind of non-loadable elements.<br />
So basically we are passing a Sprite to our new element to be placed in it, as soon as it&#8217;s set we call up the updateSprite() method that will add the passed sprite to the displaylist and assign it to the InteractiveDisplayObjectTrait <em>(class following below)</em></p>
<p>The second class built was the <strong>InteractiveDisplayObjectTrait</strong>, this was only to keep the structure and logic of OSMF kind of in &#8220;place&#8221;, with it you can set the size of the element separately.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">internal <span style="color: #000000; font-weight: bold;">class</span> InteractiveDisplayObjectTrait <span style="color: #0066CC;">extends</span> DisplayObjectTrait
<span style="color: #66cc66;">&#123;</span>
  <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> InteractiveDisplayObjectTrait<span style="color: #66cc66;">&#40;</span>displayObject:DisplayObject, mediaWidth:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;">0</span>, mediaHeight:<span style="color: #0066CC;">Number</span>=<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0066CC;">super</span><span style="color: #66cc66;">&#40;</span>displayObject, mediaWidth, mediaHeight<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> setSize<span style="color: #66cc66;">&#40;</span>mediaWidth:<span style="color: #0066CC;">Number</span>, mediaHeight:<span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
  <span style="color: #66cc66;">&#123;</span>
     setMediaSize<span style="color: #66cc66;">&#40;</span>mediaWidth, mediaHeight<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>With it you are now able to use simple as well complex sprites in your Composition elements, below an example of how I tested the newly built class.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">...
<span style="color: #000000; font-weight: bold;">var</span> aniHolder:Sprite = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
sp.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> aniHolder <span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> ball:Sprite = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
ball.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span>0xff0000,<span style="color: #cc66cc;">1</span> <span style="color: #66cc66;">&#41;</span>;
ball.<span style="color: #006600;">graphics</span>.<span style="color: #006600;">drawCircle</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">8</span> <span style="color: #66cc66;">&#41;</span>;
ball.<span style="color: #006600;">graphics</span>.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
aniHolder.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> ball <span style="color: #66cc66;">&#41;</span>;
&nbsp;
TweenMax.<span style="color: #006600;">to</span><span style="color: #66cc66;">&#40;</span> ball, <span style="color: #cc66cc;">2</span>, <span style="color: #66cc66;">&#123;</span> x: <span style="color: #cc66cc;">400</span>, repeat:-<span style="color: #cc66cc;">1</span>, yoyo:<span style="color: #000000; font-weight: bold;">true</span>, ease:com.<span style="color: #006600;">greensock</span>.<span style="color: #006600;">easing</span>.<span style="color: #006600;">Bounce</span>.<span style="color: #006600;">easeInOut</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> _spriteElement2:InteractiveDisplayElement = <span style="color: #000000; font-weight: bold;">new</span> InteractiveDisplayElement<span style="color: #66cc66;">&#40;</span> aniHolder <span style="color: #66cc66;">&#41;</span>;
layout							= <span style="color: #000000; font-weight: bold;">new</span> LayoutMetadata<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
layout.<span style="color: #0066CC;">left</span> = <span style="color: #cc66cc;">400</span>;
_spriteElement2.<span style="color: #006600;">addMetadata</span><span style="color: #66cc66;">&#40;</span> LayoutMetadata.<span style="color: #006600;">LAYOUT_NAMESPACE</span>, layout <span style="color: #66cc66;">&#41;</span>;
_pararellElement.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> _spriteElement2 <span style="color: #66cc66;">&#41;</span>;
...</pre></div></div>

<p>What do you need to know about the code above? Well as you see I&#8217;m only creating a red circle that is being added to the aniHolder sprite, with the help of tweenmax I&#8217;m animating the circle to bounce left to right and viceversa, then I create a new InteractiveDisplayElement (the class we created before) assign a layout to it and add to the ParallelElement (this could also be a serialelement or a simple mediacontainerSprite).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/06/15/osmf-interactivespriteelement/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Adobe Developer Week</title>
		<link>http://blog.six4rty.ch/2010/04/12/adobe-developer-week/</link>
		<comments>http://blog.six4rty.ch/2010/04/12/adobe-developer-week/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 08:56:02 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CS5]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=645</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F04%252F12%252Fadobe-developer-week%252F&title=Adobe+Developer+Week&desc=%0D%0A%0D%0ADuring+Developer+Week%2C+learn+about+the+Adobe%C2%AE+Flash%C2%AE+Platform%2C+including+Adobe%C2%AE+Flex%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Builder%E2%84%A2%2C+Adobe%C2%AE+AIR%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Player%2C+and+how+it+integrates+with+Adobe%C2%AE+Cre&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>During Developer Week, learn about the Adobe® Flash® Platform, including Adobe® Flex®, Adobe® Flash® Builder™, Adobe® AIR®, Adobe® Flash® Player, and how it integrates with Adobe® Creative Suite® 5 technologies. This weeklong event features free, live webinars presented by Adobe technology experts. See live demos and have your questions answered by the experts during interactive [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2010%252F04%252F12%252Fadobe-developer-week%252F&title=Adobe+Developer+Week&desc=%0D%0A%0D%0ADuring+Developer+Week%2C+learn+about+the+Adobe%C2%AE+Flash%C2%AE+Platform%2C+including+Adobe%C2%AE+Flex%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Builder%E2%84%A2%2C+Adobe%C2%AE+AIR%C2%AE%2C+Adobe%C2%AE+Flash%C2%AE+Player%2C+and+how+it+integrates+with+Adobe%C2%AE+Cre&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p><a href="http://blog.six4rty.ch/wp-content/uploads/2010/04/DeveloperWeek_Photobanner.jpg"><img class="alignnone size-medium wp-image-646" title="DeveloperWeek_Photobanner" src="http://blog.six4rty.ch/wp-content/uploads/2010/04/DeveloperWeek_Photobanner-300x123.jpg" alt="" width="300" height="123" /></a></p>
<p>During Developer Week, learn about the Adobe® Flash® Platform, including Adobe® Flex®, Adobe® Flash® Builder™, Adobe® AIR®, Adobe® Flash® Player, and how it integrates with Adobe® Creative Suite® 5 technologies. This weeklong event features free, live webinars presented by Adobe technology experts. See live demos and have your questions answered by the experts during interactive Q&amp;A sessions.</p>
<p>Want to attend? Nothing easier then that! Just jump over directly here:<br />
<a href="http://www.adobe.com/cfusion/event/index.cfm?event=detail&amp;id=1489921&amp;loc=en_us" target="_blank">http://www.adobe.com/cfusion/event/index.cfm?event=detail&amp;id=1489921&amp;loc=en_us</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2010/04/12/adobe-developer-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>deMonsterDebugger goes 2.0.3</title>
		<link>http://blog.six4rty.ch/2009/04/21/demonsterdebugger-goes-203/</link>
		<comments>http://blog.six4rty.ch/2009/04/21/demonsterdebugger-goes-203/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 06:28:06 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[deMonsters]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=554</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F04%252F21%252Fdemonsterdebugger-goes-203%252F&title=deMonsterDebugger+goes+2.0.3&desc=%0D%0A%0D%0AIf+you+guys+haven%27t+noticed+it+yet%2C+deMonsterDebugger+is+now+officially+available+in+its+new+version%2C%0D%0Aone+of+the+features+that+absolutely+rocks+is+the+FPS%2FMemory+monitor+deMonsters+built+in.+One+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>If you guys haven&#8217;t noticed it yet, deMonsterDebugger is now officially available in its new version, one of the features that absolutely rocks is the FPS/Memory monitor deMonsters built in. One of those features I was waiting for before switching completely from Alcon to deMonsterDebugger. If you guys haven&#8217;t downloaded it yet, then just click [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F04%252F21%252Fdemonsterdebugger-goes-203%252F&title=deMonsterDebugger+goes+2.0.3&desc=%0D%0A%0D%0AIf+you+guys+haven%27t+noticed+it+yet%2C+deMonsterDebugger+is+now+officially+available+in+its+new+version%2C%0D%0Aone+of+the+features+that+absolutely+rocks+is+the+FPS%2FMemory+monitor+deMonsters+built+in.+One+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p><img class="alignnone size-full wp-image-508" title="monstersroar" src="http://blog.six4rty.ch/wp-content/uploads/2009/02/monstersroar.png" alt="monstersroar" width="451" height="161" /></p>
<p>If you guys haven&#8217;t noticed it yet, deMonsterDebugger is now officially available in its new version,<br />
one of the features that absolutely rocks is the FPS/Memory monitor deMonsters built in. One of those features I was waiting for before switching completely from Alcon to deMonsterDebugger.</p>
<p>If you guys haven&#8217;t downloaded it yet, then just click on the banner on the right side or jump directly to <a title="deMonsterDebugger" href="www.demonsterdebugger.com" target="_blank">www.demonsterdebugger.com</a></p>
<p>Thanks again for such a great app!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/04/21/demonsterdebugger-goes-203/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>DeMonstersDebugger an update</title>
		<link>http://blog.six4rty.ch/2009/02/17/demonstersdebugger-an-update/</link>
		<comments>http://blog.six4rty.ch/2009/02/17/demonstersdebugger-an-update/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 16:18:49 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[flex 3]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=523</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F02%252F17%252Fdemonstersdebugger-an-update%252F&title=DeMonstersDebugger+an+update&desc=almost+2+weeks+passed+by+and+I+saved+an+insane+amount+of+time+debugging+my+applications+with+DemonsterDebugger%2C+it%27s+an+amazing+piece+of+work+what+these+guys+did+and+I%27m+looking+forward+to+see+more+up&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>almost 2 weeks passed by and I saved an insane amount of time debugging my applications with DemonsterDebugger, it&#8217;s an amazing piece of work what these guys did and I&#8217;m looking forward to see more updates, as soon as I have a bit of time I will come up with a wishlist from my side, [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F02%252F17%252Fdemonstersdebugger-an-update%252F&title=DeMonstersDebugger+an+update&desc=almost+2+weeks+passed+by+and+I+saved+an+insane+amount+of+time+debugging+my+applications+with+DemonsterDebugger%2C+it%27s+an+amazing+piece+of+work+what+these+guys+did+and+I%27m+looking+forward+to+see+more+up&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p>almost 2 weeks passed by and I saved an insane amount of time debugging my applications with DemonsterDebugger, it&#8217;s an amazing piece of work what these guys did and I&#8217;m looking forward to see more updates, as soon as I have a bit of time I will come up with a wishlist from my side, and will try to send it over to them. </p>
<p>What I liked most was as expected the live editing feature, you can just select a component which is completely off the stage and align it properly just with a few clicks and at the same time you can test your application by accessing functions that are not even made public.</p>
<p>Guys, you did a wonderful job! Thank you very much for this great app!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/02/17/demonstersdebugger-an-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>De MonsterDebugger rocks</title>
		<link>http://blog.six4rty.ch/2009/02/05/de-monsterdebugger-rocks/</link>
		<comments>http://blog.six4rty.ch/2009/02/05/de-monsterdebugger-rocks/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 12:21:12 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=507</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F02%252F05%252Fde-monsterdebugger-rocks%252F&title=De+MonsterDebugger+rocks&desc=%0D%0A%0D%0AThis+ist+just+too+cool+%3A%29+For+quite+a+while+I+was+using+Alcon+as+my+default+debugger+for+any+kind+of+flash+%2F+flex+applications%2C+today+I+just+found+this+awesome+Debugger+which+caught+my+eyes%2C+not+o&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>This ist just too cool For quite a while I was using Alcon as my default debugger for any kind of flash / flex applications, today I just found this awesome Debugger which caught my eyes, not only because the cool logo but mainly because of the possibilities. Check out the features: AIR /Flex &#38; [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F02%252F05%252Fde-monsterdebugger-rocks%252F&title=De+MonsterDebugger+rocks&desc=%0D%0A%0D%0AThis+ist+just+too+cool+%3A%29+For+quite+a+while+I+was+using+Alcon+as+my+default+debugger+for+any+kind+of+flash+%2F+flex+applications%2C+today+I+just+found+this+awesome+Debugger+which+caught+my+eyes%2C+not+o&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p><a href="http://www.demonsterdebugger.com/" target="_blank"><img class="alignnone size-full wp-image-508" title="monstersroar" src="http://blog.six4rty.ch/wp-content/uploads/2009/02/monstersroar.png" alt="monstersroar" width="451" height="161" /></a></p>
<p>This ist just too cool <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  For quite a while I was using <a href="http://blog.hexagonstar.com/alcon/" target="_blank">Alcon</a> as my default debugger for any kind of flash / flex applications, today I just found this awesome Debugger which caught my eyes, not only because the cool logo <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  but mainly because of the possibilities. Check out the features:</p>
<ul>
<li>AIR /Flex &amp; Flash Debugger (only AS3)</li>
<li>Trace EVERYTHING (even customclasses)</li>
<li>Edit properties during runtime (no, I&#8217;m not kidding)</li>
<li>Method testing</li>
<li>Of course it&#8217;s an AIR app <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>I&#8217;ve just replaced <a href="http://blog.hexagonstar.com/alcon/" target="_blank">Alcon </a>with <a href="http://www.demonsterdebugger.com/" target="_blank">MonsterDebugger</a> on a project that I&#8217;m working on, looks like I&#8217;m moving with the monsters in the future <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now go <a href="http://www.demonsterdebugger.com/" target="_blank">get it here </a>and don&#8217;t forget to check the full <a href="http://www.demonsterdebugger.com/features" target="_blank">feature list</a> as well the <a href="http://www.demonsterdebugger.com/features/howitworks" target="_blank">&#8220;How it Works&#8221;</a> part</p>
<p>Have fun <a href="http://www.demonsterdebugger.com/" target="_blank">monsterdebugging</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/02/05/de-monsterdebugger-rocks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Flex 3: Tabbar event</title>
		<link>http://blog.six4rty.ch/2009/01/22/flex-3-tabbar-event/</link>
		<comments>http://blog.six4rty.ch/2009/01/22/flex-3-tabbar-event/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 12:58:50 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[AS 3.0]]></category>
		<category><![CDATA[flex 3]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=497</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F01%252F22%252Fflex-3-tabbar-event%252F&title=Flex+3%3A+Tabbar+event&desc=Recently+while+working+on+an+AIR+app%2C+I+had+to+create+some+functionality+when+the+user+clicked+on+a+different+tab%2C+therefore+I+wanted+to+simply+check+for+the+active+tab+using+an+event.+Something+that+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>Recently while working on an AIR app, I had to create some functionality when the user clicked on a different tab, therefore I wanted to simply check for the active tab using an event. Something that I have found was that as soon as you use a viewstack as a dataprovider no events will be [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2009%252F01%252F22%252Fflex-3-tabbar-event%252F&title=Flex+3%3A+Tabbar+event&desc=Recently+while+working+on+an+AIR+app%2C+I+had+to+create+some+functionality+when+the+user+clicked+on+a+different+tab%2C+therefore+I+wanted+to+simply+check+for+the+active+tab+using+an+event.+Something+that+&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p>Recently while working on an AIR app, I had to create some functionality when the user clicked on a different tab, therefore I wanted to simply check for the active tab using an event. Something that I have found was that as soon as you use a viewstack as a dataprovider no events will be sent. Which led me to the conclusion that it&#8217;s not possible to track which tab the user clicked.. UNTIL I came across the ItemClickEvent which was exactly the piece that I was searching for.</p>
<p><strong>How to use the ItemClickEvent</strong></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;">&nbsp;
<span style="color: #0033ff; font-weight: bold;">import</span> mx<span style="color: #000066; font-weight: bold;">.</span>events<span style="color: #000066; font-weight: bold;">.</span>ItemClickEvent<span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> tabChange<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>ItemClickEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span>label<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//outputs the label of the selected tab</span>
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span>item<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//outputs the item in the dataprovider of the selected tab</span>
<span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">index</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// outputs the index of the selected navigation item</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>and below the mxml tag for the tabbar component</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;mx :TabBar id=<span style="color: #ff0000;">&quot;navBar&quot;</span> x=<span style="color: #ff0000;">&quot;10&quot;</span> y=<span style="color: #ff0000;">&quot;125&quot;</span> dataProvider=<span style="color: #ff0000;">&quot;viewstack1&quot;</span> themeColor=<span style="color: #ff0000;">&quot;#648B9A&quot;</span>  selectedIndex=<span style="color: #ff0000;">&quot;0&quot;</span> itemClick=<span style="color: #ff0000;">&quot;tabChange(event)&quot;</span><span style="color: #7400FF;">/&gt;</span></span></pre></div></div>

<p>Actually pretty simple, but when reading throuh the docs, then you pretty quick think that it&#8217;s not possible.. although <strong>nothing </strong>is impossible <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2009/01/22/flex-3-tabbar-event/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Flex in a week</title>
		<link>http://blog.six4rty.ch/2008/11/10/flex-in-a-week/</link>
		<comments>http://blog.six4rty.ch/2008/11/10/flex-in-a-week/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 18:47:33 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AS3.0]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=480</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F11%252F10%252Fflex-in-a-week%252F&title=Flex+in+a+week&desc=I+just+stumbled+across+this+page%2C+and+I+think+it%27s+a+very+good+starting+position+for+people+who+would+like+to+learn+Flex+or+strengthen+their+knowledge%2C+all+you+need+is+a+working+version+of+AMP+and+thi&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>I just stumbled across this page, and I think it&#8217;s a very good starting position for people who would like to learn Flex or strengthen their knowledge, all you need is a working version of AMP and this link to include into the RSS feed of AMP. http://sessions.adobe.com/FlexInAWeek/feed.xml For a more detailed list of available [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F11%252F10%252Fflex-in-a-week%252F&title=Flex+in+a+week&desc=I+just+stumbled+across+this+page%2C+and+I+think+it%27s+a+very+good+starting+position+for+people+who+would+like+to+learn+Flex+or+strengthen+their+knowledge%2C+all+you+need+is+a+working+version+of+AMP+and+thi&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p>I just stumbled across this page, and I think it&#8217;s a very good starting position for people who would like to learn Flex or strengthen their knowledge, all you need is a working version of AMP and this link to include into the RSS feed of AMP.<br />
<a href="http://sessions.adobe.com/FlexInAWeek/feed.xml" target="_blank">http://sessions.adobe.com/FlexInAWeek/feed.xml</a></p>
<p>For a more detailed list of available videos and more check out this site:<br />
<a href="http://www.adobe.com/devnet/flex/videotraining/?sdid=DXGFC" target="_blank">http://www.adobe.com/devnet/flex/videotraining/?sdid=DXGFC</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2008/11/10/flex-in-a-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Win a copy of Flex Builder 3 Professional</title>
		<link>http://blog.six4rty.ch/2008/10/18/win-a-copy-of-flex-builder-3-professional/</link>
		<comments>http://blog.six4rty.ch/2008/10/18/win-a-copy-of-flex-builder-3-professional/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 12:45:44 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Contest]]></category>
		<category><![CDATA[MAX 2008]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=457</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F10%252F18%252Fwin-a-copy-of-flex-builder-3-professional%252F&title=Win+a+copy+of+Flex+Builder+3+Professional&desc=%0D%0A%0D%0AWant+to+win+a+copy+of+Flex+Builder+3+Professional%3F%0D%0AActionscripthero.org+has+started+a+contest+right+in+time+for+Adobe+MAX+2008+%28Milan%29%2C+participation+is+easy.%0D%0A%0D%0AYou+just+need+to+get+your+creativ&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>Want to win a copy of Flex Builder 3 Professional? Actionscripthero.org has started a contest right in time for Adobe MAX 2008 (Milan), participation is easy. You just need to get your creative mind working and design a wallpaper with the Subject &#8220; Adobe MAX Europe 2008-2009 in Milano, Italy&#8220; Jump over to the dedicated [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F10%252F18%252Fwin-a-copy-of-flex-builder-3-professional%252F&title=Win+a+copy+of+Flex+Builder+3+Professional&desc=%0D%0A%0D%0AWant+to+win+a+copy+of+Flex+Builder+3+Professional%3F%0D%0AActionscripthero.org+has+started+a+contest+right+in+time+for+Adobe+MAX+2008+%28Milan%29%2C+participation+is+easy.%0D%0A%0D%0AYou+just+need+to+get+your+creativ&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p><a href="http://blog.six4rty.ch/wp-content/uploads/2008/10/flashbuilder.png"><img class="alignleft size-full wp-image-458" title="flashbuilder" src="http://blog.six4rty.ch/wp-content/uploads/2008/10/flashbuilder.png" alt="" width="135" height="151" /></a></p>
<p>Want to win a copy of Flex Builder 3 Professional?<br />
<a href="http://www.actionscripthero.org" target="_blank">Actionscripthero.org</a> has started a contest right in time for Adobe MAX 2008 (Milan), participation is easy.</p>
<p>You just need to get your creative mind working and design a wallpaper with the Subject &#8220;<strong> <a href="http://max.adobe.com/eu/experience/">Adobe MAX Europe 2008-2009 in Milano, Italy</a>&#8220;</strong></p>
<p>Jump over to the <a href="http://www.actionscripthero.org/index.php?option=com_content&amp;amp;view=article&amp;amp;id=67:actionscriptheroorg-max-europe-2008-wallpaper-contest-win-a-flex-builder&amp;amp;catid=3:newsflash" target="_blank">dedicated contest page</a> to read the rules and requirements.</p>
<p>Wish you all good luck <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Tiago</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2008/10/18/win-a-copy-of-flex-builder-3-professional/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
		<item>
		<title>Flex teaming options</title>
		<link>http://blog.six4rty.ch/2008/08/11/flex-teaming-options/</link>
		<comments>http://blog.six4rty.ch/2008/08/11/flex-teaming-options/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 22:09:05 +0000</pubDate>
		<dc:creator>Tiago</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[flex 3]]></category>

		<guid isPermaLink="false">http://blog.six4rty.ch/?p=439</guid>
		<description><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F08%252F11%252Fflex-teaming-options%252F&title=Flex+teaming+options&desc=if+you+are+a+standalone+flex+user+you+probably+never+noticed+the+option+when+you+do+a+right+click+on+a+project+folder+inside+flex%2C+yeh+there+is+this+option+called+%22team%22%2C%0D%0A%0D%0A%0D%0A%0D%0Aand+how+useful+this+on&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div>if you are a standalone flex user you probably never noticed the option when you do a right click on a project folder inside flex, yeh there is this option called &#8220;team&#8221;, and how useful this one is, it allows you to use a CVS repository so you can easily share and keep track of [...]]]></description>
			<content:encoded><![CDATA[<div style="padding-top:5px;padding-right:0px;padding-bottom:5px;padding-left:0px;;">
											<iframe
												style="height:25px !important; border:0px solid gray !important; overflow:hidden !important; width:550px !important;" frameborder="0" scrolling="no" allowTransparency="true"
												src="http://www.linksalpha.com/social?blog=Tiago%26%23039%3Bs+Weblog&link=http%253A%252F%252Fblog.six4rty.ch%252F2008%252F08%252F11%252Fflex-teaming-options%252F&title=Flex+teaming+options&desc=if+you+are+a+standalone+flex+user+you+probably+never+noticed+the+option+when+you+do+a+right+click+on+a+project+folder+inside+flex%2C+yeh+there+is+this+option+called+%22team%22%2C%0D%0A%0D%0A%0D%0A%0D%0Aand+how+useful+this+on&fc=333333&fs=arial&fblname=like&fblref=facebook&fbllang=en_US&fblshow=1&fbsbutton=1&fbsctr=1&fbslang=en&fbsendbutton=1&twbutton=1&twlang=en&twmention=six4rty&twrelated1=&twrelated2=&twctr=1&lnkdshow=show&lnkdctr=1&buzzbutton=1&buzzlang=en&buzzctr=0&diggbutton=1&diggctr=0&stblbutton=1&stblctr=0&g1button=1&g1ctr=1&g1lang=en-US">
											</iframe>
										</div><p>if you are a standalone flex user you probably never noticed the option when you do a right click on a project folder inside flex, yeh there is this option called &#8220;team&#8221;,</p>
<p><a href="http://blog.six4rty.ch/wp-content/uploads/2008/08/teamoption.jpg" rel="lightbox"><img class="alignnone size-thumbnail wp-image-440" title="teamoption" src="http://blog.six4rty.ch/wp-content/uploads/2008/08/teamoption-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>and how useful this one is, it allows you to use a CVS repository so you can easily share and keep track of the code changes. Really really useful, but what do you do if don&#8217;t have a CVS repository? Nowadays most hosting companies offer you an SVN repository and that&#8217;s not compatible with CVS, so there is no way to use that functionality in flex right? wrong!</p>
<p>Since Flex3 and it&#8217;l older versions are based on the Eclipse SDK, you can install any of the extra packages that come along with Eclipse, you can download them directly from the UI by going to <strong>Help-&gt; Software Updates -&gt;Find &amp; Install. </strong></p>
<p>By now that should be pretty clear, you can install plugins from Eclipse directly from the UI, but you didn&#8217;t found an SVN option right? Jump right over to this site: <a title="http://www.polarion.org/index.php?page=download&amp;project=subversive" href="http://www.polarion.org/index.php?page=download&amp;project=subversive" target="_blank">http://www.polarion.org/index.php?page=download&amp;project=subversive</a>, and add the two sources download the SVN and the SVN connector, you&#8217;ll be asked to restart Flex to apply the changes, go on and do that.</p>
<p>As soon as Flex started again, go have  a look at the team option and select <strong>Share Project</strong> now you can choose between CVS and SVN <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://blog.six4rty.ch/wp-content/uploads/2008/08/teamsvn.jpg" rel="lightbox"><img class="alignnone size-medium wp-image-441" title="teamsvn" src="http://blog.six4rty.ch/wp-content/uploads/2008/08/teamsvn-300x270.jpg" alt="" width="300" height="270" /></a></p>
<p>I&#8217;ll be writing a tutorial on how to install the SVN extensions and some first steps very soon, so stay tuned for an update</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.six4rty.ch/2008/08/11/flex-teaming-options/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by/2.5/ch/</creativeCommons:license>
	</item>
	</channel>
</rss>

