<?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>brupp.com</title>
	<atom:link href="http://brupp.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://brupp.com/blog</link>
	<description>For the lovers of Flash and Flex</description>
	<lastBuildDate>Sat, 14 Jan 2012 08:07:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Everything you need to know about DPI</title>
		<link>http://brupp.com/blog/2012/01/everything-you-need-to-know-about-dpi/</link>
		<comments>http://brupp.com/blog/2012/01/everything-you-need-to-know-about-dpi/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 07:57:43 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Quick Tip]]></category>
		<category><![CDATA[dpi]]></category>
		<category><![CDATA[ppi]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=271</guid>
		<description><![CDATA[Significance of value of DPI for Printer, Image and Editing softwares]]></description>
			<content:encoded><![CDATA[<p>The internet is flooded with articles about DPI. And I had hard time to understand it fully. I did a lot of research and consulted designers to get the heck out of it and here is a concise explanation of what it is, what it is to do with print, web and photo editors.I hope you have already gone through those stuff as I would be using less words to fill the missing LEGO pieces.</p>
<p>DPI or Dots per inch is for Print. It has nothing to do with web. You should consider about it only when you have print requirement.</p>
<p><strong>Significance of value of DPI for Printer:</strong><br />
First thing first we are talking here about DPI of Printer and should not be associated with DPI of image right now. DPI is used to describe the resolution number of dots per inch in a  digital print and the printing resolution of a hard copy print dot gain. A dot matrix printer, for example, applies ink via tiny rods striking an ink ribbon, and has a relatively low resolution, typically in the range of 60 to 90 DPI. An inkjet printer sprays ink through tiny nozzles, and is typically capable of 300-600 DPI. A laser printer applies toner through a controlled electrostatic charge, and may be in the range of 600 to 1,800 DPI.</p>
<p>Printer gets information not in pixel but in physical dimension say printer gets command to print 1 inch by 1 inch rectangle data. A 300 dpi printer would look for 300 dots data in digital data received. Now if the density of digital data (ppi -pixel per inch) is less than 300 (approx since ppi is not exactly equal to dpi) then image quality will be low (300ppi image data will have greater information filled in one inch than 72ppi. Right.) The more the dots printer can print and more the ppi of image the better the result.</p>
<p>Note: Printer doesn&#8217;t scale images based on its PPI. It prints what it gets.</p>
<p><strong>Significance of value of DPI for Image:<br />
</strong>Now back to digital word, DPI actually has no meaning. Its loosely equated to PPI and is significant when comes to printing data. Lets understand PPI. Say you have to take a picture which of a  square 1inch wide. Now if you want a good quality image you would prefer to have finest detail of that picture captured. You can capture the data using 300 pixels (300ppi) of inch or say using only 72 pixels (72ppi). Which is better? No point for guessing. 300 ppi of-course. What will be the image dimension of these two images in digital world (physical dimension would be 1 inch).   Obviously a you need 300 pixels to display 330 pixels and 72 pixels for 72 pixels <img src='http://brupp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So image dimension would be 330 X 300 and 72 X 72 respectively.</p>
<p><strong>Significance of DPI (or PPI) for Printing Software:<br />
</strong>Printing/Editing software such as Photoshop utilizes this PPI information embedded in the image to determine the actual print size of image in physical word by equating PPI to DPI.  If not present depending on software used it assumes PPI to 72 or 96ppi. When the data is send to printer this densified data is used by printer to get the print quality.<strong> </strong></p>
<p>All above is applicable for Bitmap data and not Vector. Vector doesn&#8217;t work on DPI/PPI. For example flash, svg, pdf are vector format. these format takes care of print quality when sending data to printer of all the &#8220;vector objects&#8221; inside them.</p>
<p>&nbsp;</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2012/01/everything-you-need-to-know-about-dpi/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2012/01/everything-you-need-to-know-about-dpi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip – Special Character Embedding Issue (Contd.)</title>
		<link>http://brupp.com/blog/2011/06/quick-tip-%e2%80%93-special-character-embedding-issue-contd/</link>
		<comments>http://brupp.com/blog/2011/06/quick-tip-%e2%80%93-special-character-embedding-issue-contd/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 06:41:14 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=256</guid>
		<description><![CDATA[OKay so in the last post, I missed a key thing. How would you find all the fonts that have been used. To find go to File &#62; Publish Settings &#62; Flash and Select the check box &#8220;Generate Size Report&#8221; Now when you Publish this file (Crtl + Enter) you will get an extensive size [...]]]></description>
			<content:encoded><![CDATA[<p>OKay so in the<a href="http://brupp.com/blog/2011/06/quick-tip-special-character-embedding-issue/" target="_blank"> last post</a>, I missed a key thing. How would you find all the fonts that have been used.<br />
To find go to File &gt; Publish Settings &gt; Flash and Select the check box &#8220;Generate Size Report&#8221;</p>
<p style="text-align: center;">
<div id="attachment_257" class="wp-caption aligncenter" style="width: 444px"><img class="size-full wp-image-257" title="Publish Settings" src="http://brupp.com/blog/wp-content/uploads/2011/06/2011-06-26_1157.png" alt="Publish Settings" width="434" height="658" /><p class="wp-caption-text">Publish Settings</p></div>
<p>Now when you Publish this file (Crtl + Enter) you will get an extensive size report which will have a section for fonts used in the file:</p>
<p><img class="aligncenter size-full wp-image-260" title="fonts" src="http://brupp.com/blog/wp-content/uploads/2011/06/2011-06-26_1202.png" alt="fonts" width="624" height="162" /></p>
<p>To find all these fonts go to Window &gt; Movie Explorer and select Text tab (shown below)</p>
<p><img class="aligncenter size-full wp-image-264" title="2011-06-26_1207_me" src="http://brupp.com/blog/wp-content/uploads/2011/06/2011-06-26_1207_me.png" alt="2011-06-26_1207_me" width="520" height="189" /></p>
<p>You would wonder why I asked to first generate size report while movie explorer shows all fonts. Reason if there are any text fields which don&#8217;t have any text in it (empty text field) then these would not be shown in the Movie Explorer but size report will count them. So now the task is to clear all these text fields till size report is clean with any font report.</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2011/06/quick-tip-%e2%80%93-special-character-embedding-issue-contd/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2011/06/quick-tip-%e2%80%93-special-character-embedding-issue-contd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip &#8211; Special Character Embedding Issue</title>
		<link>http://brupp.com/blog/2011/06/quick-tip-special-character-embedding-issue/</link>
		<comments>http://brupp.com/blog/2011/06/quick-tip-special-character-embedding-issue/#comments</comments>
		<pubDate>Sun, 26 Jun 2011 06:19:27 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=252</guid>
		<description><![CDATA[Issue &#8211; I embedded all the special characters in the fonts swf but somehow all were not appearing in the flex application. Solution &#8211; Skin.swc was the culprit. There were some textfield (static, dynamic) used in the skin fla. Skin file should not have any text field. Skin is purely used for rich graphics so [...]]]></description>
			<content:encoded><![CDATA[<p>Issue &#8211; I embedded all the special characters in the fonts swf but somehow all were not appearing in the flex application.</p>
<p>Solution &#8211; Skin.swc was the culprit. There were some textfield (static, dynamic) used in the skin fla. Skin file should not have any text field. Skin is purely used for rich graphics so if you do use text filed then break part (Ctrl + B) them till they become shape.</p>
<p>Cheers!</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2011/06/quick-tip-special-character-embedding-issue/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2011/06/quick-tip-special-character-embedding-issue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Tip -Type Coercion failed: cannot convert mx.managers::BrowserManagerImpl to mx.managers.IBrowserManager</title>
		<link>http://brupp.com/blog/2011/02/type-coercion-failed-cannot-convert-mx-managersbrowsermanagerimpl-to-mx-managers-ibrowsermanager/</link>
		<comments>http://brupp.com/blog/2011/02/type-coercion-failed-cannot-convert-mx-managersbrowsermanagerimpl-to-mx-managers-ibrowsermanager/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 13:52:54 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Quick Tip]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=246</guid>
		<description><![CDATA[You may find this error (or error of similar nature) occurring when you try loading a Flex application in another Flex application.]]></description>
			<content:encoded><![CDATA[<p>OKay. This is a real quick post. You may find this error (or error of similar nature) occurring when you try loading a Flex application in another Flex application.</p>
<p><strong>e.g. TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::BrowserManagerImpl@2ee8581 to mx.managers.IBrowserManager.</strong></p>
<p>FIX: Import the class to which the compiler is trying to cast to in the parent application. In this case</p>
<p><strong>import mx.managers.IBrowserManager;<br />
private var bm:IBrowserManager;</strong></p>
<p>Hope this will save some of your time.</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2011/02/type-coercion-failed-cannot-convert-mx-managersbrowsermanagerimpl-to-mx-managers-ibrowsermanager/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2011/02/type-coercion-failed-cannot-convert-mx-managersbrowsermanagerimpl-to-mx-managers-ibrowsermanager/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML5 and the changing dynamics of the web</title>
		<link>http://brupp.com/blog/2010/11/html5-and-the-changing-dynamics-of-the-web/</link>
		<comments>http://brupp.com/blog/2010/11/html5-and-the-changing-dynamics-of-the-web/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 16:36:51 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[The web]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=239</guid>
		<description><![CDATA[This blog post is for readers who keep hearing tech jargons like W3C standards, HTML5, the codec war etc. and need some consolidation of the turbulent web and to be its part.]]></description>
			<content:encoded><![CDATA[<p>This blog post is for readers who keep hearing tech jargons like W3C standards, HTML5, the codec war etc. and need some consolidation of the turbulent web and to be its part.</p>
<p>Lets briefly cover the some web basics:</p>
<p><strong>W3C -</strong>The World Wide Web Consortium (W3C) is an international community where Member organizations, a full-time staff, and the public work together to develop Web standards. W3C develops technical specifications and guidelines through a process designed to maximize consensus about the content of a technical report, to ensure high technical and editorial quality, and to earn endorsement by W3C and the broader community. A few of them are described in next two points.</p>
<p><strong>HTML and CSS– </strong>HTML and CSS are the fundamental technologies for building Web pages: HTML (html and xhtml) for structure, CSS for style and layout.</p>
<p><strong>Javascript  -</strong>Standard APIs for client-side Web Application development. Scripting can make Web pages more dynamic.  It is based on ECMAscript W3C recommended, JavaScript is officially managed by <a title="Mozilla  Foundation" href="http://en.wikipedia.org/wiki/Mozilla_Foundation">Mozilla Foundation</a>.</p>
<p><strong>Web browsers </strong>- are software primarily used to view a “web” resource (generally HTML). The top browsers are IE, FF, Safari, Chrome and Opera. Out of these FF, Safari and Chrome are partly open source. Browsers are used to display resource (HTML, image, XML etc).</p>
<p><strong>Webkit, Gecko, Trident– </strong>These are browser rendering engines. Both Safari and Chrome use Webkit. IE use Trident and Mozilla, Gecko .Webkit is an open source rendering engine which started as an engine for the Linux platform and was modified by Apple to support Mac and Windows.</p>
<p><strong>H.264– </strong>H.264 is a high-performance codec that is maintained by the ISO Moving Picture Experts Group (MPEG) as part of the MPEG-4 family. A video codec is software or a device that enables video compression and or decompression for digital video.</p>
<p>So where W3C standards (HTML, CSS and javascript) and above terms fit in the system and who does what when it comes to viewing a web resource? Let’s understand it this way. Suppose you want to create your own browser. Where would you start from? One of the primary roles of a browser is to locate a web resource and render HTML. Since this topic is dedicated to understanding HTML and browsers we will keep the scope limited. Your browser architecture design would consist of UI, browser and or rendering/parser engine (HTML, CSS intepreter), networking layer, UI repository layer (e.g. buttoon), Javascript interpreter and data storage layer.  The rendering engine should understand and comply to the basic ingredients (language) of a web resource i.e. HTML, CSS and javascript. Each of these has their own standards and specifications. The specifications are maintained by W3C organization (hosted by the Massachusetts Institute of Technology Computer Science and Artificial Intelligence Laboratory [MIT/CSAIL] in the United States, at the European Research Consortium for Informatics and Mathematics [ERCIM] in Sophia-Antipolis in France, and at the Keio University Shonan Fujisawa Campus in Japan.).</p>
<p>Firefox uses Gecko &#8211; a &#8220;home made&#8221; Mozilla rendering engine. Both Safari and Chrome use Webkit. IE use Trident and Mozilla, Gecko .Webkit is an open source rendering engine which started as an engine for the Linux platform and was modified by Apple to support Mac and Windows. See <a href="http://webkit.org/">http://webkit.org/</a> for more details.  Essentially your browser should now represent the tags in presentable format. E.g the browser should be able to parse the image tag as per the specifications <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.2">http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.2</a></p>
<p>HTML being opensource and ubiquitous is the language of web. The current version of HTML is HMTL 4 (HTML 5 is in Working Draft). Why HTML 5? Since the time HTML 4 was finalized (1997) the web has turn around to web 2.0 with RIA replacing the web with plugins like Flash, Silverlight etc it became evident that web needs &#8220;more&#8221; and hence HTML and its fellow languages need to upgrade to have a consistent mode of delivery. Okay so the question arises why plugins came  to existence at all. The answer lies in user experience and dramatic increase in hardware capabilities that deliver web. HTML4 has shortfalls to be in race. So for example HTML 4 doesn’t specify any tag to hold video and therefore browsers weren’t allowed  to render videos of their own. To deliver videos people used &lt;embed&gt; tags specifying the plugin (embedded software) to handle it. And then came plugins like flash which took the web to next level by providing a medium to deliver rich media, enriched user interactions and experience.</p>
<p>In the next post I will cover the codec and Flash HTML5 war that&#8217;s going on endlessly.</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2010/11/html5-and-the-changing-dynamics-of-the-web/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2010/11/html5-and-the-changing-dynamics-of-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Builder and SVN</title>
		<link>http://brupp.com/blog/2010/09/flex_builder_and_svn/</link>
		<comments>http://brupp.com/blog/2010/09/flex_builder_and_svn/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 05:43:10 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[subclipse]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=230</guid>
		<description><![CDATA[integrating flex builder and svn]]></description>
			<content:encoded><![CDATA[<p>For seamless integration with Flex/Flash Builder IDE and SVN use &#8216;subclipse&#8217; plugin. Here, http://subclipse.tigris.org/update_1.0.x/, you would find the latest plugin for eclipse.</p>
<p><strong>To install:</strong><br />
Help-&gt;Find And Install-&gt;Search for new features for install-&gt;New remote site<br />
Add Name: subclipse and in URL put http://subclipse.tigris.org/update_1.0.x/</p>
<p style="text-align: center;"><img class="size-medium wp-image-233 aligncenter" title="subclipse" src="http://brupp.com/blog/wp-content/uploads/2010/09/subclipse-300x275.jpg" alt="subclipse" width="300" height="275" /></p>
<p><strong>To Checkout the project from SVN:</strong><br />
File-&gt;New-&gt;Other..-&gt;SVN-&gt;Checkout projects from SVN-&gt;<br />
Click &#8220;Next&#8221; -&gt; Create a New Repository-&gt; Add URL and then select the project folder</p>
<p>There are couple of ways to create branch. But before that one key note.<br />
Say if you are using Tortoise SVN as your desktop client and subclipse as the the eclipse plugin. <strong>There could be version conflicts; so do ensure that you make all commits and checkout through subclipse</strong>.</p>
<p>Coming back to branching.<br />
Follow these steps from your desktop client for <strong>Branching</strong>:</p>
<p>1- Create a new folder in SVN for holding branches e.g. &#8220;branches&#8221;<br />
2- Right Click the folder (trunk) whose branch need to be created<br />
3- Selected &#8220;Branch/Tag&#8221; option<br />
4- In &#8220;To URL&#8221; add the location https://foo.com/svn/foosvn/branches/{foobranch}<br />
<strong>Note:</strong> Don&#8217;t create {foobranch} folder on SVN beforehand. If you do then you might get an error saying &#8220;Path Already Exists&#8221;.<br />
5- Now select an option the choice e.g.&#8221;Head Revision&#8221;,  &#8220;Working copy&#8221; etc.<br />
6- Click OK<br />
This will create a folder named &#8220;foobranch&#8221; as a branch of trunk</p>
<p>To <strong>Switch </strong>to branch:</p>
<p>1- Right click the project folder (which you have checkout from trunk) in the Flex Builder IDE<br />
2- Select Team-&gt;Switch..<br />
3- Add the branch URL in &#8220;To URL&#8221;<br />
Press OK and now your project will be on branch. Any changes that you might have made in your local will now get committed in the branch when you make a commit now.</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2010/09/flex_builder_and_svn/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2010/09/flex_builder_and_svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip &#8211; Flex Profiler Issue</title>
		<link>http://brupp.com/blog/2010/09/flex_profiler_issue/</link>
		<comments>http://brupp.com/blog/2010/09/flex_profiler_issue/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 16:11:31 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Quick Tip]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[profiler]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=226</guid>
		<description><![CDATA[How to fix the profiler ]]></description>
			<content:encoded><![CDATA[<p>Flex profiler is one of the biggest advantage of using Flex Builder IDE. It works wonders for developer who want to understand the nuances of flash player. If you want to write clean code and avoid memory and performance issues, use profiler.</p>
<p>Read more about profiler here: <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=profiler_1.html" target="_blank">http://livedocs.adobe.com/flex/3/html/help.html?content=profiler_1.html</a></p>
<p>Okay, so the post is not about what and how profiler works. In most of the cases you just need to click the &#8220;profile..app&#8221; button in the IDE. But at times you may find it not working. Here I am putting down one possible way to fix it and look out for:</p>
<p>Flex profiler actually listens for  messages from the profiler agent. The profiler agent is a swf launched  in parallel to your main swf. It is located in your Flex workspace at  <strong>.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf</strong>.</p>
<p>Now Flex Builder reads a file called mm.cfg which has the location profileragaent.swf. <strong>mm.cfg</strong> can be located at    c:/users/user (Windows). It should have a name-value pair indicating the location of ProfilerAgent.swf. Create (or edit existing) mm.cfg and add following line</p>
<p><strong>PreloadSwf=Drive:/&#8230;/yourworkspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&amp;port=9999</strong></p>
<p>In addition to above you can other options which are quite helpful  for debugging:</p>
<p>ErrorReportingEnable=1<br />
TraceOutputFileEnable=1</p>
<p>Above options will redirect the <code>trace()</code> output to an  external file which can you browse using any text editor.</p>
<p>The flashlog.txt file will be created in the following location<strong>:</strong> C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs\flashlog.txt</p>
<p>Let me know if this post saved your couple of hours <img src='http://brupp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">
<p>Flex profiler is a part of the Flex Builder IDE, that listens for  messages from the profiler agent. The profiler agent is a swf launched  in parallel to your main swf. It is located in your Flex workspace at  .metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf.</p>
<p>I had a hard time getting it worked. Here is what worked to make it  working:</p>
<p>Create (edit existing) file named mm.cfg (location windows:  c:/users/user) and add following line</p>
<p>PreloadSwf=F:/user/workspace/.metadata/.plugins/com.adobe.flash.profiler/ProfilerAgent.swf?host=localhost&amp;port=9999</p>
<p>In addition to above you can other options which are quite helpful  for debugging:</p>
<p>ErrorReportingEnable=1<br />
TraceOutputFileEnable=1</p>
<p>Above options will redirect the <code>trace()</code> output to an  external file which can you browse using any text editor.</p>
<p>The flashlog.txt file will be created in the following location<strong>:</strong></p>
<p><strong>Windows</strong>; <code>C:\Documents and Settings\<em>username</em>\Application  Data\Macromedia\Flash Player\Logs\flashlog.txt</code></div>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2010/09/flex_profiler_issue/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2010/09/flex_profiler_issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Agile, XP, Scrum and Waterfall</title>
		<link>http://brupp.com/blog/2010/07/agile-xp-scrum-and-waterfall/</link>
		<comments>http://brupp.com/blog/2010/07/agile-xp-scrum-and-waterfall/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 16:55:59 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Principles and processes]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[Scrum]]></category>
		<category><![CDATA[Waterfall]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=217</guid>
		<description><![CDATA[Intro to Agile, XP, Scrum and Waterfall]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I have been hearing these terms (Agile, XP, Scrum and Waterfall) so often that I thought of summing it up in a post. Recently, I attended a seminar at NASSCOM about Agile and XP. It was really interesting to understand these methodologies/principles.</p>
<p>Waterfall and Agile are &#8220;principles&#8221; whereas Scrum and XP are &#8220;practices&#8221; for project management. By definition &#8220;prinicple&#8221; is a rule or law concerning a natural phenomenon or the function of a complex system. It doesnt provide concrete steps, roles and responsibilities and parts of a system.</p>
<p><strong>Waterfall</strong> &#8211; More correctly it is a software development &#8220;model&#8221; which talks about principle and flow of system. Waterfall is a sequential software development process where progress flows from top to bottom. Below is the flow in Waterfall:<br />
<strong>     REQUIREMENTS &#8211;&gt; DESIGN &#8211;&gt; IMPLEMENTATION &#8211;&gt; VERIFICATION &#8211;&gt; MAINTAINENCE</strong><br />
 Only and only when the first step is complete and signed-off the project moves to next. The customer feedback appears very late in SDLC.</p>
<p><strong>Agile</strong> &#8211; Waterfall talks about sequence whereas Agile favours iteration, quick results, incorporating changes early in the SDLC.<br />
Some of the principles behind the Agile Manifesto<sup> </sup>are (reference <a href="http://en.wikipedia.org/wiki/Agile_software_development">http://en.wikipedia.org/wiki/Agile_software_development</a>):</p>
<ul>
<li>Customer satisfaction by rapid, continuous delivery of useful software</li>
<li>Working software is delivered frequently (weeks rather than months)</li>
<li>Working software is the principal measure of progress</li>
<li>Even late changes in requirements are welcomed</li>
<li>Close, daily cooperation between business people and developers</li>
<li>Face-to-face conversation is the best form of communication (co-location)</li>
<li>Projects are built around motivated individuals, who should be trusted</li>
<li>Continuous attention to technical excellence and good design</li>
<li>Simplicity</li>
<li>Self-organizing teams</li>
<li>Regular adaptation to changing circumstances</li>
</ul>
<p style="text-align: left;"> To sum up Agile welcome &#8220;Changes&#8221;.</p>
<p style="text-align: left;"><strong>Scrum</strong> - Is &#8220;methodology&#8221; to implement Agile software development. It defines processes, roles and responsibilites to carry out Agile development. The three main roles are:</p>
<ul>
<li>
<div style="text-align: left;">Scrum master</div>
</li>
<li>
<div style="text-align: left;">Product Owner</div>
</li>
<li>
<div style="text-align: left;">Team</div>
</li>
</ul>
<p>Scrum master facilitates the process by monitoring it. Product owner is the one who priotizes the requirements and defines a sprint. Scrum Team do not have any heirarchy. Everone in the team has features to work on and owns it.  Scrum being agile believes in quickly showing the outcome. All requirements are not frozen before development and with an overall picture of software and initial requirements; the development starts. These requirements are then priotized and broken down in &#8220;sprints&#8221;. Each sprint is delivered (working software) in 2-3 weeks. This way customer feedback of each sprint is incorporated early in SDLC.</p>
<p><strong>Extreme Programming (XP)</strong> &#8211; XP is another methodologies for agile development. It advocates frequent &#8220;releases&#8221; in short development cycles. XP can also be implemeted together wiith Scrum.<br />
XP is more about how to program (code) in agile development. XP is about simplicity, discipline, ownership of your code and following best practices without fail. <br />
One of the key principle of XP is to always design and code for today and not for tomorrow. Since it talks of quick development. XP programmers need to ensure stable, reliable and faster code development.<br />
Some key components are: Pair Programmng, Write test before code, collective code ownership, refactor often and continous integration.</p>
<p>Most of the in-house product develoment companies are adopting Agile while service companies still either works in Waterfall model or a mix of Agile and Waterfall. The main reason Agile adoption is difficult is that it requires a learning curve both for the vendor and customer. Agile is fluid cost model and if not properly controlled could overshoot time and cost.</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2010/07/agile-xp-scrum-and-waterfall/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2010/07/agile-xp-scrum-and-waterfall/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Communicating with a loaded Application in Flex 3.0</title>
		<link>http://brupp.com/blog/2010/04/communicating-with-a-loaded-application-in-flex-3-0/</link>
		<comments>http://brupp.com/blog/2010/04/communicating-with-a-loaded-application-in-flex-3-0/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 12:27:26 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[application]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=211</guid>
		<description><![CDATA[Communicating with a loaded flex application is not intuitive.  SWFLoader lets you load one Flex Application into another Flex Apllication as a SWF file. Once the SWF is loaded you can retrieve the SystemManager (class that manages an application window). _objLoadedAppSystemManager = SystemManager(_objLoader.content); trace(_objLoadedAppSystemManager.application) //null The SystemManager&#8217;s &#8216;application&#8217; property holds the reference to the application [...]]]></description>
			<content:encoded><![CDATA[<p>Communicating with a loaded flex application is not intuitive.  SWFLoader lets you load one Flex Application into another Flex Apllication as a SWF file. Once the SWF is loaded you can retrieve the SystemManager (class that manages an application window).</p>
<pre>_objLoadedAppSystemManager = SystemManager(_objLoader.content);
trace(_objLoadedAppSystemManager.application) //null</pre>
<p>The SystemManager&#8217;s &#8216;application&#8217; property holds the reference to the  application loaded. The problem is if you try to access this property once the SWF is loaded (by listening SWFLoader&#8217;s COMPLETE or INIT event) you will get null since the loaded &#8216;application&#8217; didnt get initialized properly. One of the solution is to listen to the SystemManager&#8217;s APPLICATION_COMPLETE event.</p>
<pre>_objLoadedAppSystemManager.addEventListener(FlexEvent.APPLICATION_COMPLETE, onLoadedAppInit);
...
...
private function onLoadedAppInit(objEvent:FlexEvent):void
{
	_objApplication = (_objLoadedAppSystemManager.application) as Object;
	_objApplication["functionname"](param);
}</pre>
<p>Now you would be able to call the function (e.g. &#8220;functionname&#8221; as shown above). This function should be defined the main application file/class of the loaded application.</p>
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2010/04/communicating-with-a-loaded-application-in-flex-3-0/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2010/04/communicating-with-a-loaded-application-in-flex-3-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick Tip &#8211; Font embedding in Flex 3.0 &#8211; II</title>
		<link>http://brupp.com/blog/2010/03/quick-tip-font-embedding-in-flex-3-0-ii/</link>
		<comments>http://brupp.com/blog/2010/03/quick-tip-font-embedding-in-flex-3-0-ii/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 15:14:56 +0000</pubDate>
		<dc:creator>brupp</dc:creator>
				<category><![CDATA[Quick Tip]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://brupp.com/blog/?p=201</guid>
		<description><![CDATA[There is so much to font embedding that I keep getting new problems and resolutions The problem: Embedding font on textfield which renders HTML text. ... instancetextObj.htmlText = "&#60;font size='28' face='Arial' &#62;Hello &#60;b&#62;How&#60;/b&#62; &#60;font size='28' face='SomeOtherFontFace' &#62;Are &#60;/font&#62; You&#60;/font&#62;" ... &#60;mx:Text id="instancetextObj" /&#62; I ensured that the fonts used above are embedded. My css look [...]]]></description>
			<content:encoded><![CDATA[<p>There is so much to font embedding that I keep getting new problems and resolutions <img src='http://brupp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<strong>The problem:</strong> Embedding font on textfield which renders HTML text.</p>
<pre class="as">...
instancetextObj.htmlText = "&lt;font size='28' face='Arial' &gt;Hello &lt;b&gt;How&lt;/b&gt; &lt;font
size='28' face='SomeOtherFontFace' &gt;Are &lt;/font&gt; You&lt;/font&gt;"
...
&lt;mx:Text id="instancetextObj" /&gt;</pre>
<p>I ensured that the fonts used above are embedded. My css look like:</p>
<pre>@font-face {
    src      : url("asset/font/embed_fonts.swf");
    font-family    :  "SomeOtherFontFace";
}

@font-face {
    src      : url("asset/font/embed_fonts.swf");
    font-family    :  "Arial"; 

}</pre>
<p>The swf has all the necessary fonts embedded (all required font-weight/typefaces). But somehow it didn&#8217;t worked.</p>
<p><strong>Solution:</strong><br />
The solution is that the texfield requires a default font family defined which is <strong>embedded</strong><br />
So if you make a simple change to the mxml definition of your textfield like this:</p>
<pre>&lt;mx:Text id="instancetextObj" fontFamily="Arial" /&gt;</pre>
<p>It will work. <img src='http://brupp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
The better solution is to defined the font family in a &#8220;global&#8221; style name in css</p>
<pre>global
{
     font-family   :   "Arial"
}</pre>
<p>I hope this might save your few hours!</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">&lt;span style=&#8221;font-family: Arial;&#8221;&gt;Hello &lt;strong&gt;How&lt;/strong&gt; &lt;span style=&#8221;font-family: Dadhand;&#8221;&gt;Are &lt;/span&gt; You&lt;/span&gt;</div>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<script src="http://feeds.feedburner.com/~s/cssmiles?i=http://brupp.com/blog/2010/03/quick-tip-font-embedding-in-flex-3-0-ii/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://brupp.com/blog/2010/03/quick-tip-font-embedding-in-flex-3-0-ii/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

