<?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/"
	>

<channel>
	<title>eonflex.com</title>
	<atom:link href="http://www.eonflex.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.eonflex.com</link>
	<description>erich cervantez on adobe flex, flash, actionscript, air, cocomo, &#38; catalyst erich cervantez on adobe flex, flash, actionscript, air, cocomo, &#38; catalyst erich cervantez on adobe flex, flash, actionscript, air, cocomo, &#38; catalyst erich cervantez on adobe flex, flash, actionscript, air, cocomo, &#38; catalyst erich cervantez on adobe flex, flash, actionscript, air, cocomo, &#38; catalyst</description>
	<lastBuildDate>Sat, 04 Sep 2010 00:03:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex: Manually centering a popup based on browser width &amp; height</title>
		<link>http://www.eonflex.com/?p=458</link>
		<comments>http://www.eonflex.com/?p=458#comments</comments>
		<pubDate>Sat, 04 Sep 2010 00:01:15 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=458</guid>
		<description><![CDATA[Most Flex developers know that the default PopUpManager in Flex has a centerPopUp method that allows you to center the popup over the display object passed in through the method signature:

1
2
3
var _popup:MyPopup = new Popup&#40;&#41;;
PopUpManager.addPopUp&#40; _popup, this &#41;;
PopUpManager.centerPopUp&#40; this &#41;;

You may even switch out the &#8220;this&#8221; reference and replace with &#8220;parent&#8221; or &#8220;parent.parentApplication&#8221; to center [...]]]></description>
			<content:encoded><![CDATA[<p>Most Flex developers know that the default PopUpManager in Flex has a centerPopUp method that allows you to center the popup over the display object passed in through the method signature:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> _popup:MyPopup = <span style="color: #000000; font-weight: bold;">new</span> Popup<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
PopUpManager.<span style="color: #006600;">addPopUp</span><span style="color: #66cc66;">&#40;</span> _popup, <span style="color: #0066CC;">this</span> <span style="color: #66cc66;">&#41;</span>;
PopUpManager.<span style="color: #006600;">centerPopUp</span><span style="color: #66cc66;">&#40;</span> <span style="color: #0066CC;">this</span> <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>You may even switch out the &#8220;this&#8221; reference and replace with &#8220;parent&#8221; or &#8220;parent.parentApplication&#8221; to center the popup on the entire application.  </p>
<p>This can be especially true if you&#8217;re opening a popup from a small component in your application and don&#8217;t necessary want the popup to get centered on that one single component.</p>
<p>Unfortunately, if the dimensions of your parent Application are larger than the dimensions of the viewable browser window, you will have to center the popup manually rather than use the built-in centerPopUp() function.</p>
<p>Here&#8217;s how I center popups manually in Flex:</p>
<p>First, in your HTML template, I create a JavaScript function to return the browser width and height.  I found this handy function on the web somewhere and it seems to do the trick:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> getBrowserHeight<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">var</span> winW = <span style="color: #cc66cc;">630</span>, winH = <span style="color: #cc66cc;">460</span>;
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span>navigator.<span style="color: #006600;">appVersion</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&gt;</span><span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	 <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>navigator.<span style="color: #006600;">appName</span>==<span style="color: #ff0000;">&quot;Netscape&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	  winW = window.<span style="color: #006600;">innerWidth</span>;
	  winH = window.<span style="color: #006600;">innerHeight</span>;
	 <span style="color: #66cc66;">&#125;</span>
	 <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>navigator.<span style="color: #006600;">appName</span>.<span style="color: #0066CC;">indexOf</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Microsoft&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">!</span>=-<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
	  winW = document.<span style="color: #006600;">body</span>.<span style="color: #006600;">offsetWidth</span>;
	  winH = document.<span style="color: #006600;">body</span>.<span style="color: #006600;">offsetHeight</span>;
	 <span style="color: #66cc66;">&#125;</span>
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> winH;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>In this case, it&#8217;s only returning height (which I&#8217;m mostly interested in), however you can modify it to return both attributes if you&#8217;d like.</p>
<p>In Flex, I make a call to JavaScript using ExternalInterface during application startup and store that value somewhere (say on the Model) where I can access it later:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">model.<span style="color: #006600;">browserHeight</span> = ExternalInterface.<span style="color: #0066CC;">call</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">&quot;getBrowserHeight&quot;</span> <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>Now, whenever I open a popup, I use the browserHeight I&#8217;ve stored on the Model and manually compute a centered position on the screen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/**
 * Opens this popup
 */</span>
<span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> open<span style="color: #66cc66;">&#40;</span> parent:UIComponent, model:MyModel<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> _popup:MyPopup= <span style="color: #000000; font-weight: bold;">new</span> MyPopup<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;				
	PopUpManager.<span style="color: #006600;">addPopUp</span><span style="color: #66cc66;">&#40;</span> _popup, parent.<span style="color: #006600;">parentApplication</span> as DisplayObject, <span style="color: #000000; font-weight: bold;">true</span> <span style="color: #66cc66;">&#41;</span>;
	_popup.<span style="color: #006600;">y</span> = <span style="color: #66cc66;">&#40;</span> model.<span style="color: #006600;">browserHeight</span> <span style="color: #66cc66;">/</span> <span style="color: #cc66cc;">2</span> <span style="color: #66cc66;">&#41;</span> - <span style="color: #66cc66;">&#40;</span> _popup.<span style="color: #0066CC;">height</span> <span style="color: #66cc66;">/</span> <span style="color: #cc66cc;">2</span> <span style="color: #66cc66;">&#41;</span>;
	_popup.<span style="color: #006600;">x</span> = <span style="color: #66cc66;">&#40;</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>parent.<span style="color: #006600;">parentApplication</span>.<span style="color: #0066CC;">width</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">/</span> <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> - <span style="color: #66cc66;">&#40;</span>_popup.<span style="color: #0066CC;">width</span> <span style="color: #66cc66;">/</span> <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>; 
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>In this example, I place a static function within the popup class itself, which nicely encapsulates that logic.  I also pass in some UIComponent.  This is used mostly to get access to the parentApplication object, which I can use to figure out the application&#8217;s total width.</p>
<p>As you can see, by dividing the application width and height, then subtracting the popup&#8217;s width and height, you can manually center the popup in the visible area of the browser regardless of the application&#8217;s full height (which could be thousands of pixels high in some scrollable instances).</p>
<p>Opening the popup from a view is as simple as calling the static function:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">SubmitAdPopup.<span style="color: #006600;">open</span><span style="color: #66cc66;">&#40;</span> <span style="color: #0066CC;">this</span>, model <span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>I&#8217;ve run into this situation quite often in various Flex applications so I hope this may help others who finds themselves in the same boat.</p>
<p>Opinions?  I&#8217;m curious in seeing how others solved this riddle.  <img src='http://www.eonflex.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=458</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex : Allowing mouse events to &#8220;pass through&#8221; an overlay</title>
		<link>http://www.eonflex.com/?p=451</link>
		<comments>http://www.eonflex.com/?p=451#comments</comments>
		<pubDate>Wed, 11 Aug 2010 02:21:03 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Xuland]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=451</guid>
		<description><![CDATA[I ran into an issue today I didn&#8217;t immediately have an answer for.
I added an overlay to the map of my Xuland flex-based social networking tool which resembled a radar (concentric circles, tinted slightly green):

Before adding the radar overlay, I could drag the map as normal, however after adding the overlay atop the visible map [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an issue today I didn&#8217;t immediately have an answer for.</p>
<p>I added an overlay to the map of my Xuland flex-based social networking tool which resembled a radar (concentric circles, tinted slightly green):</p>
<p><img src="http://www.eonflex.com/images/misc/radar.png" alt="Xuland Radar" /></p>
<p>Before adding the radar overlay, I could drag the map as normal, however after adding the overlay atop the visible map area, the map no longer responded to mouse drag events.</p>
<p>Before writing a lot of code to catch and re-dispatch mouse events from the overlay to the map, I admit I felt a little silly after discovering a simple property that just needed to get added to my overlay:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #66cc66;">&lt;</span>map:RadarOverlay
	id=<span style="color: #ff0000;">&quot;radar&quot;</span>
	buttonMode=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #0066CC;">useHandCursor</span>=<span style="color: #ff0000;">&quot;true&quot;</span>
	mouseEnabled=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #66cc66;">/&gt;</span></pre></td></tr></table></div>

<p>As the API mentions: &#8220;Specifies whether this object receives mouse messages. The default value is true, which means that by default any InteractiveObject instance that is on the display list receives mouse events. If mouseEnabled is set to false, the instance does not receive any mouse events. Any children of this instance on the display list are not affected. &#8221;</p>
<p>And it worked perfectly!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=451</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 4: Switching to Railo from ColdFusion</title>
		<link>http://www.eonflex.com/?p=442</link>
		<comments>http://www.eonflex.com/?p=442#comments</comments>
		<pubDate>Tue, 06 Jul 2010 00:00:42 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Xuland]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=442</guid>
		<description><![CDATA[With the Xuland Flex-based social networking application I&#8217;ve been working on for the past eight months, I decided to switch things up on the back-end, most notably in the services layer where I&#8217;ve been using ColdFusion 9 for my data-access objects.
ColdFusion has been a perfect fit for Flex since I had used the software quite [...]]]></description>
			<content:encoded><![CDATA[<p>With the <a href="http://www.facebook.com/home.php?sk=lf#!/pages/Xuland/302813766356">Xuland</a> Flex-based social networking application I&#8217;ve been working on for the past eight months, I decided to switch things up on the back-end, most notably in the services layer where I&#8217;ve been using ColdFusion 9 for my data-access objects.</p>
<p>ColdFusion has been a perfect fit for Flex since I had used the software quite extensively for much of my programming career.  However, as I prepare Xuland for go-live (August 13th &#8211; which also coincides with the Adobe MAX Awards deadline for entry date), I realized that without a license for the software I would be restricted to shared hosting services &#8211; a solution that would not work in the long-run, especially if Xuland were to suddenly gain popularity.</p>
<p>As I considered dedicated or &#8220;cloud&#8221; hosting, I would have to either buy an $8,000 ColdFusion license (umm, no) or switch to an alternative.  BlueDragon piqued my interest, but it unfortunately does not yet support AMF.  Without the ability to remote, my application would launch already dead in the water.</p>
<p>Another alternative, completely unknown to me before today, is <a href="http://www.getrailo.org/">Railo</a> (pronounced &#8220;Rhylo&#8221; after a fictitious alien dog in Star Trek).</p>
<p>&#8220;Railo is a free, open-source alternative for ColdFusion application development.&#8221;  It currently supports the AMF3 format (whereas in the last version it only supported AMF0) and comes shipped with its own application server and servlet engine (Caucho Resin).  In fact, the Express versions can be downloaded, configured for Flex and launched within minutes.  The best part is it&#8217;s completely FREE.</p>
<p>I&#8217;ve since switched from ColdFusion to Railo and with hardly any tweaking, Xuland was running against Railo executing the same CFC&#8217;s I had already written for ColdFusion 9.  After starting the Railo service locally the first time, it automatically created the necessary Flex remoting-config and services-config XML files needed in the WEB-INF directory.  Remoting worked perfectly, and I dare say it seems a bit faster (I have not run any benchmarks quite yet, however).</p>
<p>If you&#8217;re looking for a solution similar to this, definitely consider Railo as it works as well as ColdFusion without the sheer cost.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=442</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex Random Password Generator</title>
		<link>http://www.eonflex.com/?p=439</link>
		<comments>http://www.eonflex.com/?p=439#comments</comments>
		<pubDate>Sun, 27 Jun 2010 00:36:01 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=439</guid>
		<description><![CDATA[Here&#8217;s a nice static method for creating random passwords&#8230;should the need ever arise  

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public static function generateRandomPassword&#40; length:int = 7 &#41; : String
&#123;
	//characters to use in password
	var _salt : String = &#34;abchefghjkmnpqrstuvwxyz0123456789ABCHEFGHJKMNPQRSTUVWXYZ&#34;;
&#160;
	//initialize vars
	var _password : String = '';			
	var _i:Number = 0;
&#160;
	//loop 
	while &#40; _i &#60;= length &#41;
	&#123;
		var _num : Number = Math.random&#40;&#41; * _salt.length;
		_password [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a nice static method for creating random passwords&#8230;should the need ever arise <img src='http://www.eonflex.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> generateRandomPassword<span style="color: #66cc66;">&#40;</span> <span style="color: #0066CC;">length</span>:<span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">7</span> <span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">String</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">//characters to use in password</span>
	<span style="color: #000000; font-weight: bold;">var</span> _salt : <span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;abchefghjkmnpqrstuvwxyz0123456789ABCHEFGHJKMNPQRSTUVWXYZ&quot;</span>;
&nbsp;
	<span style="color: #808080; font-style: italic;">//initialize vars</span>
	<span style="color: #000000; font-weight: bold;">var</span> _password : <span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">''</span>;			
	<span style="color: #000000; font-weight: bold;">var</span> _i:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">0</span>;
&nbsp;
	<span style="color: #808080; font-style: italic;">//loop </span>
	<span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span> _i <span style="color: #66cc66;">&lt;</span>= <span style="color: #0066CC;">length</span> <span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #000000; font-weight: bold;">var</span> _num : <span style="color: #0066CC;">Number</span> = <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">*</span> _salt.<span style="color: #0066CC;">length</span>;
		_password += _salt.<span style="color: #0066CC;">charAt</span><span style="color: #66cc66;">&#40;</span> _num <span style="color: #66cc66;">&#41;</span>;
		_i++;
	<span style="color: #66cc66;">&#125;</span>
&nbsp;
	<span style="color: #b1b100;">return</span> _password;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=439</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flex 4: Changing the &#8220;displayAsPassword&#8221; default character</title>
		<link>http://www.eonflex.com/?p=435</link>
		<comments>http://www.eonflex.com/?p=435#comments</comments>
		<pubDate>Tue, 22 Jun 2010 17:36:59 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=435</guid>
		<description><![CDATA[Today I ran into a situation where I wanted to display my password characters as a bullet versus the default asterisk (&#8220;*&#8221;).
I thought this would be pretty simple to do but realized after digging through the Flex 4 SDK that there was no public property I could set to change this.  I tried hacking [...]]]></description>
			<content:encoded><![CDATA[<p>Today I ran into a situation where I wanted to display my password characters as a bullet versus the default asterisk (&#8220;*&#8221;).</p>
<p>I thought this would be pretty simple to do but realized after digging through the Flex 4 SDK that there was no public property I could set to change this.  I tried hacking commitProperties and a couple of other methods but came up short in those areas as well until I found the exact spot in the Flex libraries where this character was defined:</p>
<p><em>RichEditableText.as</em> (line 679)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;">    <span style="color: #808080; font-style: italic;">/**
     *  @private
     */</span>
    mx_internal <span style="color: #000000; font-weight: bold;">var</span> passwordChar:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;*&quot;</span>;</pre></td></tr></table></div>

<p>A-ha!  I see here that it&#8217;s prefixed with the &#8220;mx_internal&#8221; namespace and I remembered from other examples around the web that you can easily tap into that namespace and modify properties not normally meant to be modified.</p>
<p>Luckily, I had already extended the TextInput class for various other reasons and decided to add an event listener for the CREATION_COMPLETE lifecycle event of the component.  This was added in the constructor:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">core</span>.<span style="color: #006600;">mx_internal</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">/**
 * Constructor
 */</span>
<span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> myTextInput<span style="color: #66cc66;">&#40;</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>;
&nbsp;
	<span style="color: #0066CC;">this</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> FlexEvent.<span style="color: #006600;">CREATION_COMPLETE</span>, onCreationComplete <span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onCreationComplete<span style="color: #66cc66;">&#40;</span> event : FlexEvent <span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #808080; font-style: italic;">//change internal passwordChar to a bullet versus an asterisk</span>
	<span style="color: #0066CC;">this</span>.<span style="color: #006600;">textDisplay</span>.<span style="color: #006600;">mx_internal</span>::passwordChar = <span style="color: #ff0000;">&quot;●&quot;</span>;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>&#8230;and voila!  By tapping into the mx_internal namespace, I found I could modify the normally private variable &#8220;passwordChar&#8221; and set it to something I preferred better (in this case, the bullet point used in some sites like Twitter).</p>
<p>Hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=435</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe Targets Apple in New Ad Campaign</title>
		<link>http://www.eonflex.com/?p=419</link>
		<comments>http://www.eonflex.com/?p=419#comments</comments>
		<pubDate>Thu, 13 May 2010 22:43:36 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=419</guid>
		<description><![CDATA[Today, Adobe launched a nationwide advertising campaign promoting &#8220;choice&#8221; and criticizing those (read: Apple) that try to control it.

In addition to the ad campaign, a new web page was added to Adobe&#8217;s website: http://www.adobe.com/choice/?sdid=GXRUX, which discusses the Open Screen Project, and includes a Flash fact sheet (no doubt, from Adobe product manager Mike Chambers), and [...]]]></description>
			<content:encoded><![CDATA[<p>Today, Adobe launched a nationwide advertising campaign promoting &#8220;choice&#8221; and criticizing those (read: Apple) that try to control it.</p>
<p><img src="http://cdn.mashable.com/wp-content/uploads/2010/05/flash-choice.jpg" alt="Adobe Loves Apple" /></p>
<p>In addition to the ad campaign, a new web page was added to Adobe&#8217;s website: <a href="http://www.adobe.com/choice/?sdid=GXRUX" target="_Blank">http://www.adobe.com/choice/?sdid=GXRUX</a>, which discusses the Open Screen Project, and includes a Flash fact sheet (no doubt, from Adobe product manager Mike Chambers), and a message from Adobe&#8217;s founders John Warnock and Chuck Geschke.</p>
<p>This is undoubtedly in response to Steve Job&#8217;s memo published on Apple&#8217;s website, <a href="http://www.apple.com/hotnews/thoughts-on-flash/">http://www.apple.com/hotnews/thoughts-on-flash/</a> back on April 29th.  The letter, which publicly blasts Flash as being a closed, proprietary technology that is no longer relevant or in &#8220;touch&#8221; with today&#8217;s mobile devices has received a massive response from the Adobe community and today from Adobe, itself.</p>
<p>Read other posts about this subject:</p>
<p>Mashable: <a href="http://mashable.com/2010/05/13/adobe-responds-flash/" target="_Blank">http://mashable.com/2010/05/13/adobe-responds-flash/</a></p>
<p>NY Times: <a href="http://bits.blogs.nytimes.com/2010/05/13/next-round-in-the-adobe-apple-fight/" target="_Blank">http://bits.blogs.nytimes.com/2010/05/13/next-round-in-the-adobe-apple-fight/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=419</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apple vs Adobe Peace Plan from InfoWorld</title>
		<link>http://www.eonflex.com/?p=413</link>
		<comments>http://www.eonflex.com/?p=413#comments</comments>
		<pubDate>Mon, 10 May 2010 21:46:55 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=413</guid>
		<description><![CDATA[InfoWorld has published a four-point &#8220;peace plan&#8221; aimed at reducing collateral damage from the current Apple vs Adobe war.
The article discusses the history between the two companies, outlines a compromise and allows readers to vote on the proposal.
http://www.infoworld.com/print/122878
]]></description>
			<content:encoded><![CDATA[<p>InfoWorld has published a four-point &#8220;peace plan&#8221; aimed at reducing collateral damage from the current Apple vs Adobe war.</p>
<p>The article discusses the history between the two companies, outlines a compromise and allows readers to vote on the proposal.</p>
<p><a href="http://www.infoworld.com/print/122878">http://www.infoworld.com/print/122878</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=413</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Future of Web Content – HTML5, Flash &amp; Mobile Apps</title>
		<link>http://www.eonflex.com/?p=410</link>
		<comments>http://www.eonflex.com/?p=410#comments</comments>
		<pubDate>Sun, 09 May 2010 01:07:57 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=410</guid>
		<description><![CDATA[I didn&#8217;t get a chance to read this article back in February by ColdFusion-mastermind Jeremy Allaire, but it&#8217;s a good one nevertheless and still very relevant for those of us in the Flash community.
Give it a try:
The Future of Web Content – HTML5, Flash &#038; Mobile Apps
]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t get a chance to read this article back in February by ColdFusion-mastermind Jeremy Allaire, but it&#8217;s a good one nevertheless and still very relevant for those of us in the Flash community.</p>
<p>Give it a try:<br />
<a href="http://techcrunch.com/2010/02/05/the-future-of-web-content-html5-flash-mobile-apps/#ixzz0nOEVqPeT">The Future of Web Content – HTML5, Flash &#038; Mobile Apps</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=410</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ellen&#8217;s iPhone Commercial</title>
		<link>http://www.eonflex.com/?p=408</link>
		<comments>http://www.eonflex.com/?p=408#comments</comments>
		<pubDate>Wed, 05 May 2010 22:58:10 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=408</guid>
		<description><![CDATA[Haha &#8220;My fingers&#8230; are so much thicker than﻿ I remembered&#8230;&#8221; 
This video was embedded using the YouTuber plugin by Roy Tanck. Adobe Flash Player is required to view the video.
]]></description>
			<content:encoded><![CDATA[<p>Haha &#8220;My fingers&#8230; are so much thicker than﻿ I remembered&#8230;&#8221; </p>
<p><object width="425" height="355" type="application/x-shockwave-flash" data="http://www.youtube.com/v/CTMC_yjhYww"><param name="movie" value="http://www.youtube.com/v/CTMC_yjhYww" />This video was embedded using the YouTuber plugin by <a href="http://www.roytanck.com">Roy Tanck</a>. Adobe Flash Player is required to view the video.</object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=408</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latest Flash &amp; Flex Developer&#8217;s Magazine</title>
		<link>http://www.eonflex.com/?p=404</link>
		<comments>http://www.eonflex.com/?p=404#comments</comments>
		<pubDate>Wed, 05 May 2010 17:06:34 +0000</pubDate>
		<dc:creator>Erich Cervantez</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.eonflex.com/?p=404</guid>
		<description><![CDATA[In case anyone&#8217;s interested, the latest FFDM has been released.  
Getting your hands on the PDF here:
http://download.ffdmag.com/en/ffdmag_03_2010.pdf 

  
]]></description>
			<content:encoded><![CDATA[<p>In case anyone&#8217;s interested, the latest FFDM has been released.  </p>
<p>Getting your hands on the PDF here:<br />
<a href="http://download.ffdmag.com/en/ffdmag_03_2010.pdf " target="_Blank">http://download.ffdmag.com/en/ffdmag_03_2010.pdf </a></p>
<p><a href="http://download.ffdmag.com/en/ffdmag_03_2010.pdf " target="_Blank"><img src="http://ffdmag.com/system/editions/photo1s/1058/medium/f_f_magazine_3_2010.jpg?1272406042" alt="FFDM cover" /></a></p>
<p> <img src='http://www.eonflex.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.eonflex.com/?feed=rss2&amp;p=404</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
