<?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>Chris Giametta &#187; Flex</title>
	<atom:link href="http://www.appfoundation.com/blogs/giametta/tag/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.appfoundation.com/blogs/giametta</link>
	<description>Rich Internet Apps</description>
	<lastBuildDate>Wed, 19 Oct 2011 22:22:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Need Help With a Project Using Adobe Flex?</title>
		<link>http://www.appfoundation.com/blogs/giametta/2010/10/27/need-help-with-a-project-using-adobe-flex/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2010/10/27/need-help-with-a-project-using-adobe-flex/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 17:29:50 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Adobe Flex Staffing]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Enterprise RIA Development]]></category>
		<category><![CDATA[FxConnect]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Rich Internet Applications]]></category>
		<category><![CDATA[Dallas Texas]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=212</guid>
		<description><![CDATA[AppFoundation&#8217;s Adobe Flex consulting
 
To find out more about AppFoundation and our Adobe Flex consulting go here.
If your business has invested in Adobe Flex or Adobe AIR, a powerful software development kit for web, mobile, and desktop, chances are you&#8217;ve also invested in the training and you have IT professionals that ...]]></description>
			<content:encoded><![CDATA[<p><strong>AppFoundation&#8217;s Adobe Flex consulting<br />
</strong> <br />
To find out more about AppFoundation and our Adobe Flex consulting go <a title="AppFoundation Company Site" href="http://www.appfoundation.com/">here</a>.</p>
<p>If your business has invested in Adobe Flex or Adobe AIR, a powerful software development kit for web, mobile, and desktop, chances are you&#8217;ve also invested in the training and you have IT professionals that are familiar with the basics.</p>
<p><strong>Here is the challenge:</strong> Every business is unique and requires unique solutions for the web and internally. Sometimes, it may be necessary to call in specialists to partner with your IT staff to help determine just how to apply the proper toolset to a specific project or situation. This is a situation that AppFoundation&#8217;s Adobe Flex mentoring can be of real value.</p>
<p><strong>How Does It Work?</strong></p>
<p>Adobe Flex staff augmentation or project consulting can be done on a temporary contract basis, which will deliver high yield results while showing a cost savings for your business. In addition, such a consultant can either come to your place of business or work offsite. In either case however, it is important to engage early in the development stage of whatever project your business in undertaking so the mentoring process can happen right away. By involving the consultant during the initial phase, your business will save even more and improve time-to-market. During this period, the consultant will have the opportunity to evaluate your present development framework, including:</p>
<ul>
<li> Code Base</li>
<li> Development framework and processes</li>
<li> Architecture configuration (hardware and software)</li>
<li> Security configuration</li>
<li> Ux usability</li>
</ul>
<p>Keep in mind that the primary purpose of Adobe Flex and Adobe AIR is the creation of web, mobile, and desktop applications for the use of your customers and clients. As such, having AppFoundation working on your behalf will help your IT staff to get the most out of the Adobe toolset and ensure that your rich Internet applications are user-friendly and intuitive.</p>
<p><strong>How Long Does It Take?</strong></p>
<p>The length of time your IT department may require Adobe Flex consulting can vary based on project needs. AppFoundation is prepared to partner with your business to address short, medium, and long term needs for project work. AppFoundation has extensive experience in developing extremely large scale Adobe Flex and Adobe AIR applications integrated with the following technologies:</p>
<ul>
<li>JAX-WS2.0 based web services hosted on Weblogic</li>
<li> EJBs hosted on Weblogic</li>
<li> Oracle, SQL Server, Teradata, Netezza. MySQL</li>
<li>Acupia based file storage</li>
<li>JSPs, Spring, JAVA EE, .NET, PHP</li>
<li>SAP SRM and SAP MDM</li>
<li>SAP BSPs</li>
<li>Much much more</li>
</ul>
<p>AppFoudation also brings its own series of Adobe Flex and Adobe AIR tools to the table in the form of <a href="http://www.appfoundation.com/media/AppFoundation_FxConnect_Fact_Sheet.pdf">FxConnect</a>.</p>
<p><a href="http://www.appfoundation.com/media/AppFoundation_FxConnect_Fact_Sheet.pdf">FxConnect </a>is an Enterprise development framework for Adobe Flex and Adobe AIR.</p>
<p>With many years of experience using Adobe Flex, we have seen many issues with current options for development frameworks. From organizations who don&#8217;t allow open-source solutions to mostly issues with application consistency and size; AppFoundation has created its own development framework built for developers.</p>
<p>FxConnect cuts down on as much as 25% of development required to deliver Flex and AIR applications. The goal of FxConnect is to simplify development of large scale rich Internet applications (RIAs). The result is a framework that allows your company to start developing features out-of-the-box instead of worrying about core architecture issues that FxConnect addresses.</p>
<ul>
<li>Application Context</li>
<li>Module Management</li>
<li>Application Navigation</li>
<li>Style Management</li>
<li>Resource Management</li>
<li>Data Transport</li>
<li>Error Management</li>
<li>State Management</li>
</ul>
<p>As you might have experienced, you can see that Flex can be built out-of-the-box to obtain data from external data sources. This works fine with small Flex applications that only have one or few view states. However, when it comes to building enterprise scale applications in Flex the basics just won’t cut it. To avoid a ‘big ball of yarn’ (many point-to-point connections between Flex components) infrastructure for your application we need to define a standard and consistent architecture for building our Flex applications.</p>
<p>When determining what architecture to implement your Flex user interface with you need to consider what fits your organization and developers skills best as each solution is different and generally based on different design patterns, or slight modifications of those patterns. There are a few Flex application development frameworks that present solutions to Flex development through design patterns that can be applied to Flex such as Cairngorm, PureMVC, MVCS, and Mate. However, from our experience, each of these frameworks creates various problems when developing enterprise applications such as:</p>
<ul>
<li>Applications that are difficult to maintain due to the over-use of events.</li>
<li>Difficulty to track application flows when data is not persisted on data models and passed through events exclusively.</li>
<li>Application SWF sizes becoming larger than 1mb in size. This is not good for browser based RIAs.</li>
</ul>
<p><strong>An Investment That Pays</strong></p>
<p>Costs for Adobe Flex mentoring and consultation will depend upon the scope and size of your project. However, regardless of cost, temporary Adobe Flex staffing augmentation provided by AppFoundation&#8217;s veteran consultants is an investment that will give you security in knowing that your web, mobile, and desktop applications have been configured and developed by experts.</p>
<p>If you want to get a quote for AppFoundation&#8217;s consulting services, please visit <a href="http://www.appfoundation.com/">www.appfoundation.com</a> and fill out the contact form or email us directly at <a href="mailto:info@appfoundation.com">info@appfoundation.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2010/10/27/need-help-with-a-project-using-adobe-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FxConnect Framework Diagram</title>
		<link>http://www.appfoundation.com/blogs/giametta/2010/07/06/fxconnect-framework-diagram/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2010/07/06/fxconnect-framework-diagram/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 16:17:16 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Enterprise RIA Development]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[FxConnect]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Rich Internet]]></category>
		<category><![CDATA[Rich Internet Applications]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Enterprise Application Development]]></category>
		<category><![CDATA[Enterprise Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=183</guid>
		<description><![CDATA[I wanted to release the core diagram for FxConnect. We have successfully used our framework on many large scale Adobe Flex and Adobe AIR application. The diagram below represents the core objects in FxConnect and their interrelations: 


FxConnect Framework

The FxConnect programming model is made up of:
• Application Framework: The Application Framework ...]]></description>
			<content:encoded><![CDATA[<p>I wanted to release the core diagram for FxConnect. We have successfully used our framework on many large scale Adobe Flex and Adobe AIR application. The diagram below represents the core objects in FxConnect and their interrelations: </p>
<dl id="attachment_184" class="wp-caption aligncenter" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://www.appfoundation.com/blogs/giametta/wp-content/uploads/2010/07/FxConnect_Diagram.png"><img class="size-medium wp-image-184" title="FxConnect_Diagram" src="http://www.appfoundation.com/blogs/giametta/wp-content/uploads/2010/07/FxConnect_Diagram-300x295.png" alt="FxConnect Framework" width="300" height="295" /></a></dt>
<dd class="wp-caption-dd">FxConnect Framework</dd>
</dl>
<p>The FxConnect programming model is made up of:<br />
<strong>•</strong> <strong>Application Framework:</strong> The Application Framework is the main wrapping component for the Application that contains application context and is responsible for the setup/initialization of the application.<br />
<strong>• View Components/Modules:</strong> Modules are used to chunk the application into smaller SWFs that are loaded through the Module Manager. These modules are the features and components of the application where you start to code the different views and flows.<br />
<strong>• Application State:</strong> The Application State is responsible for holding important application attributes in a memory cache that is accessible from any part of the application that gets an instance of this model.<br />
<strong>• Data Model/Sub-models:</strong> The model provides a layer to access and change application data through creating proxies.<br />
<strong>• Proxy:</strong> Proxies represent a layer of abstraction that exposes business functions to the application. They are a means to engage with remote services such as Spring beans to retrieve data. They contain the data result and fault handlers that are implemented through the IResponder class.<br />
<strong>• Module Manager:</strong> The module manager allows you to logically partition the application into manageable view modules. Effectively breaking download of the application into small chunks that allow the views to be displayed on demand.<br />
<strong>• Navigation:</strong> This is a business object that manages view state for components and modules. In this class, you set up constants that are maintained here.<br />
<strong>• Style Manager:</strong> The Style Manager allows you to dynamically load styles into the application and is initialized at run-time.<br />
<strong>• State Engine:</strong> This utility allows the definition of application states and the valid transition to which other states are available.<br />
<strong>• Resource Manager:</strong> This utility is used to handle internationalization (i18n) and localization (l10n) details. You specify a default resource bundle by component or by application that allows you to define string names for button labels, text areas, etc.<br />
<strong>• Error Manager:</strong> Error management allows you to capture and store errors from anywhere in the application as well as use its internal pop-ups to display error messages.</p>
<p>For more information please visit AppFoundation and contact us now.</p>
<p><a href="http://www.appfoundation.com">http://www.appfoundation.com</a></p>
<p><a href="http://adobe.flex.appfoundation.com">http://adobe.flex.appfoundation.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2010/07/06/fxconnect-framework-diagram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WASABI-SIG Dallas User Group Speaker</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/10/06/wasabi-sig-dallas-user-group-speaker/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2009/10/06/wasabi-sig-dallas-user-group-speaker/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 20:25:59 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Rich Internet]]></category>
		<category><![CDATA[Rich Internet Applications]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[BI]]></category>
		<category><![CDATA[Dallas Texas]]></category>
		<category><![CDATA[Data Warehouse]]></category>
		<category><![CDATA[Enterprise Application Development]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=127</guid>
		<description><![CDATA[I will be the guest speaker on October 14th. You can find out more here. I hope to see you at the event. Here is the information regarding the location and topic.
October 14th, 2009 &#8211; 10:00 a.m. to 12:00 p.m.
Christopher A. Parr Library, Program Conference Room
6200 Windhaven Parkway, Plano, TX ...]]></description>
			<content:encoded><![CDATA[<p>I will be the guest speaker on October 14th. You can find out more <a href="http://www.wasabi-sig.org/meetings.php">here</a>. I hope to see you at the event. Here is the information regarding the location and topic.</p>
<p><strong>October 14th, 2009 &#8211; 10:00 a.m. to 12:00 p.m.</strong><br />
Christopher A. Parr Library, Program Conference Room<br />
6200 Windhaven Parkway, Plano, TX 75093</p>
<p><strong>Data Visualization with Adobe Flex</strong></p>
<p>ABSTRACT:</p>
<p>In this discussion, Chris Giametta will present an overview discussing the challenges of large data sets, complex data arrangements, and effective UI implementations using Adobe Flex.</p>
<p>This presentation is about building rich Internet applications that combine the interactive user experiences of Adobe Flex with the delivery of complex data from large data warehouses and databases. The goal for this discussion is to give you a better understanding of how RIAs can solve client needs in the business intelligence space.</p>
<p>BIO:</p>
<p>Chris Giametta is founder and President of AppFoundation Technology Group, a leading RIA company in Dallas/Fort Worth focused on data visualization and web based application development. AppFoundation employs advanced methodologies and tools to help decision makers build the situational awareness of their competitive terrain.</p>
<p>Chris is an Adobe Certified Expert in Adobe Flex. He was been working with Flex since 2004. Before learning Flex and Spring (Java based framework), he cut his teeth with EDS developing customer relationship management (CRM) systems built with Java on the front end, and a C++ implementation on the server side. He has extensive experience in delivering Business Intelligence systems, e-commerce, and ERP applications in a rich format.</p>
<p>As the author of Pro Flex on Spring, Chris focused on how to develop large scale applications using patterned based development to implement RIA technology.</p>
<p>You can contact Chris by visiting:</p>
<p><a href="http://www.appfoundation.com">www.appfoundation.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2009/10/06/wasabi-sig-dallas-user-group-speaker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Agile Development with Flex and Java</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/09/28/agile-development-with-flex-and-java/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2009/09/28/agile-development-with-flex-and-java/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 19:03:55 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Enterprise RIA Development]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Rich Internet Applications]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Agile]]></category>
		<category><![CDATA[Dallas Texas]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=122</guid>
		<description><![CDATA[Over the past several projects I have had the opportunity to develop large scale Flex applications using Agile software development. SCRUM is the major component for this development, it allows my teams of Java and Flex developers to pair together during Sprints.
Each Sprint is 2-3 weeks in length. We plan ...]]></description>
			<content:encoded><![CDATA[<p>Over the past several projects I have had the opportunity to develop large scale Flex applications using Agile software development. SCRUM is the major component for this development, it allows my teams of Java and Flex developers to pair together during Sprints.</p>
<p>Each Sprint is 2-3 weeks in length. We plan out stories that compose what functionality will be delivered in the demo at the end of the Sprint.</p>
<p>Learn more about how <a href="http://www.appfoundation.com">AppFoundation </a>uses Agile Software Development here:</p>
<p><a href="http://www.blog.appfoundation.com/2009/09/22/appfoundation-goes-agile/">AppFoundation goes Agile</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2009/09/28/agile-development-with-flex-and-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Geographic Information Dashboard</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/09/28/flex-geographic-information-dashboard/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2009/09/28/flex-geographic-information-dashboard/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 19:00:13 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Map]]></category>
		<category><![CDATA[Rich Internet Applications]]></category>
		<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Custom Application Development]]></category>
		<category><![CDATA[Dallas Texas]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=115</guid>
		<description><![CDATA[Last week AppFoundation released a demo application built in Flex. You can read more about it here:
AppFoundation Company Blog: GIS
The application was built on top of Modest Maps. Modest Maps displays tile-based maps from sources like Microsoft, Yahoo!, OpenStreetMap and others. Here is an image of the app.

Launch the application
If ...]]></description>
			<content:encoded><![CDATA[<p>Last week AppFoundation released a demo application built in Flex. You can read more about it here:</p>
<p><a href="http://www.blog.appfoundation.com/2009/09/22/appfoundation-geographic-information-system-gis-demo/">AppFoundation Company Blog: GIS</a></p>
<p>The application was built on top of Modest Maps. <a href="http://modestmaps.com/">Modest Maps</a> displays tile-based maps from sources like Microsoft, Yahoo!, OpenStreetMap and others. Here is an image of the app.</p>
<p><a href="http://www.appfoundation.com/blogs/giametta/wp-content/uploads/2009/09/gisLarge.png"><img src="http://www.appfoundation.com/blogs/giametta/wp-content/uploads/2009/09/gisLarge-300x193.png" alt="gisLarge" title="gisLarge" width="300" height="193" class="alignnone size-medium wp-image-117" /></a></p>
<p><a href="http://demos.appfoundation.com/gis">Launch the application</a></p>
<p>If you want to learn more about how AppFoundation provides solutions based on Rich Internet Applications, please drop me a line at <a href="http://www.appfoundation.com">www.appfoudation.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2009/09/28/flex-geographic-information-dashboard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Render PDF in Adobe AIR with PDF Scaling</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 19:34:21 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Rich Internet]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/?p=45</guid>
		<description><![CDATA[AIR can render PDFs using the HTMLControl as long as the host computer
has Acrobat 8 or later installed.
I have seen many examples of doing this, just without the ability to scale the PDF larger and smaller when a resize of the AIR application occurs. So I worked that issue out ...]]></description>
			<content:encoded><![CDATA[<p>AIR can render PDFs using the HTMLControl as long as the host computer<br />
has Acrobat 8 or later installed.</p>
<p>I have seen many examples of doing this, just without the ability to scale the PDF larger and smaller when a resize of the AIR application occurs. So I worked that issue out and wanted to share it with the Flex community.</p>
<p>To load a PDF into an AIR application, use the HTMLLoader class to load the PDF into your AIR window. Since you cannot add the HTMLLoader as a child, you will need to create a <em>UIComponent()</em> to add the PDF to a container.</p>
<p>If you look at the <em>addFile() </em>function, you will see that I first checked the PDF capability had a STATUS_OK before proceeding to the PDF loading steps with the following line of code:</p>
<p><code>if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK) {}</code></p>
<p>Once successful, I created an URLRequest to locate the PDF on my Tomcat server. You could easily add a parameter to set the PDF based on your content management as needed.</p>
<p>I then set the PDF&#8217;s initial height and width to that of the <em><mx:VBox></em> with the id of <strong>container</strong>. After that is done, I loaded the PDF to the HTMLLoader from the URLRequest.</p>
<p>Now that you have a handle on the PDF and it is loaded to the AIR application, you can use the <em>UIComponent.addChild </em>function to add the PDF to the UIComponent. After that, you need to add the child to the <em><mx:VBox></em> which is done by calling the <em>addChild() </em>function on <strong>container</strong>.</p>
<p>If you look at the example from the Adobe Livedocs you will notice they give the PDF&#8217;s height and width static numbers. What we want to do is allow the PDF to scale on window resize. To accomplish this, create a new function that is executed everytime the application is resized. In this example, I created the <em>scalePDF() </em>function that is called by the <strong>resize </strong>function on the <em><mx:VBox></em> as follows:</p>
<p><code><mx:VBox id="container" width="100%" height="100%" resize="scalePDF()"/></code></p>
<p>Since the width and height are set to 100% on the <em><mx:VBox></em> and I set the PDF&#8217;s height and width to the <em><mx:VBox> </em>height and width, the PDF will resize to fit the width and height of the <em><mx:VBox></em> every time it is resized. This will always give you the maximum reading space available for the PDF.</p>
<p>Here is the full source for this example. You can take this code and create a component that can be reused throughout your AIR applications. Enjoy.</p>
<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:WindowedApplication
   xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt;

   &lt;mx:Script&gt;
      &lt;![CDATA[
      import mx.core.UIComponent;

      private var pdf:HTMLLoader = new HTMLLoader();

      private function addFile():void
      {
         if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
         {
            var request:URLRequest =
               new URLRequest("http://localhost:8080/af_Central/a.pdf");

            pdf.height = container.width;
            pdf.width = container.width;

            pdf.load(request);

            var ui:UIComponent = new UIComponent();
            ui.addChild(pdf)

            container.addChild(ui);
         }
         else
         {
            trace("PDF cannot be displayed. Error code:",
               HTMLLoader.pdfCapability);
         }
      }
      private function scalePDF():void
      {
         pdf.height = container.width;
         pdf.width = container.width;
      }
      ]]&gt;
   &lt;/mx:Script&gt;

   &lt;mx:Button label="Do It" click="addFile()" /&gt;
   &lt;mx:VBox id="container" width="100%" height="100%"
      resize="scalePDF()"/&gt;

&lt;/mx:WindowedApplication&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2009/04/14/render-pdf-in-adobe-air-with-pdf-scaling/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Pro Flex on Spring</title>
		<link>http://www.appfoundation.com/blogs/giametta/2009/03/24/pro-flex-on-spring/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2009/03/24/pro-flex-on-spring/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 15:53:38 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Rich Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/2009/03/24/pro-flex-on-spring/</guid>
		<description><![CDATA[Over the past 5+ years I have done quite a bit of work with Flex and Spring. I am happy to announce the release of my first book; Pro Flex on Spring. You can find the book on www.amazon.com or pick it up at your local Barnes and Nobles.
 
Pro Flex on ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.appfoundation.com/blogs/giametta/wp-content/uploads/2009/03/proflexonspringbook.png" title="ProFlexonSpring Book"></a>Over the past 5+ years I have done quite a bit of work with Flex and Spring. I am happy to announce the release of my first book; Pro Flex on Spring. You can find the book on <a href="http://www.amazon.com/">www.amazon.com</a> or pick it up at your local Barnes and Nobles.</p>
<p> <a href="http://www.appfoundation.com/blogs/giametta/wp-content/uploads/2009/03/proflexonspringbook.png" title="ProFlexonSpring Book"><img src="http://www.appfoundation.com/blogs/giametta/wp-content/uploads/2009/03/proflexonspringbook.thumbnail.png" alt="ProFlexonSpring Book" /></a></p>
<p>Pro Flex on Spring is the first book covering the use of the Spring Framework as an integration point for the Flex Framework so that enterprise Java developers can now add a Rich Internet Application front end to their “back-end”. Flex on Spring completes the Spring Framework, and makes it arguably the most complete, top-down, application development stack available to Java developers.</p>
<p>What you’ll learn:<br />
• Explore best practices on architecting enterprise Rich Internet Applications<br />
with Flex and Spring.<br />
• Discover how Flex applications interface with Spring services.<br />
• Understand how to persist data, end–to–end, using Flex data communication protocols<br />
with Spring and its interactions with iBATIS, Hibernate, and JDBC.<br />
• Work with solid frameworks, Cairngorm and Pure MVC, to build Flex applications.<br />
• Build a practical application that demonstrates real experience in delivering enterprise RIAs.<br />
• See how Spring Factories play a key role in routing calls to Spring classes from Flex clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2009/03/24/pro-flex-on-spring/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Internet Explorer:  Setting Focus on Flex Apps / Flash Player</title>
		<link>http://www.appfoundation.com/blogs/giametta/2007/07/09/internet-explorer-setting-focus-on-flex-apps-flash-player/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2007/07/09/internet-explorer-setting-focus-on-flex-apps-flash-player/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 15:24:50 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Rich Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/2007/07/09/internet-explorer-setting-focus-on-flex-apps-flash-player/</guid>
		<description><![CDATA[One of the biggest issues I have come across when deploying a Flex application has been the difficulty in gaining initial focus on the Flash player and the components within it.
I finally came up with a simple approach that is working for me with IE 6 and IE 5. I ...]]></description>
			<content:encoded><![CDATA[<p>One of the biggest issues I have come across when deploying a Flex application has been the difficulty in gaining initial focus on the Flash player and the components within it.</p>
<p>I finally came up with a simple approach that is working for me with IE 6 and IE 5. I would like to hear any feedback for this solution working in different versions of IE and other browsers.</p>
<p>What I did is modify the Flex project html-template. I added the following to the &lt;body&gt; tag.</p>
<p><font size="2">&lt;body scroll=&#8221;no&#8221; <strong>onload=&#8221;document.getElementById(&#8216;${application}&#8217;).focus()&#8221;</strong>&gt;</font></p>
<p>This points the onload() function in the html wrapper to force focus on the Flash object by object id.</p>
<p>Once you have modified the html wrapper file you can create a simple Flex application to test with. Create a new Flex Project and simply copy the following mxml code into your application. When you run this application you should see a blinking cursor in the text box.</p>
<pre><code&lt;?xml version="1.0" encoding="utf-8"></code&lt;?xml>&lt;mx:Application xmlns:mx="<a href="http://www.adobe.com/2006/mxml">http://www.adobe.com/2006/mxml" </a>
  creationComplete="initApp()"&gt;
&lt;mx:Script&gt;
 &lt;![CDATA[
  import mx.controls.Alert;
  import mx.events.FlexEvent;       

  private function initApp():void {
   // set the focus to the first text input
   input1.setFocus();
  }
 ]]&gt;
 &lt;/mx:Script&gt;      

 &lt;mx:Canvas width="420" height="244"&gt;
  &lt;mx:TextInput id="input1" x="130" y="50"/&gt;
 &lt;/mx:Canvas&gt; 
&lt;/mx:Application&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2007/07/09/internet-explorer-setting-focus-on-flex-apps-flash-player/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Tomcat 5 Tip:  Multiple Flex 2 Projects</title>
		<link>http://www.appfoundation.com/blogs/giametta/2007/06/12/tomcat-5-tip-multiple-flex-2-projects/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2007/06/12/tomcat-5-tip-multiple-flex-2-projects/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 15:28:47 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/2007/06/12/tomcat-5-tip-multiple-flex-2-projects/</guid>
		<description><![CDATA[I usually have many Flex projects deployed on my Tomcat server at any given time. Usually 5-10 will be running. When I execute 3 of these larger Flex applications I use to get memory errors. I have found a couple Java Options that have helped with the server not running ...]]></description>
			<content:encoded><![CDATA[<p>I usually have many Flex projects deployed on my Tomcat server at any given time. Usually 5-10 will be running. When I execute 3 of these larger Flex applications I use to get memory errors. I have found a couple Java Options that have helped with the server not running out of memory.</p>
<p>The first Java Option parameters to set are -Xms (minimum heap size) and -Xmx (maximum heap size). I usually start with a lower -Xms number so the heap can build up to the max -Xmx size if needed. This way I do not partition a portion of memory that may not be used. The setting I use on development and production servers is:</p>
<p><strong> -Xms 256m -Xmx 1024m</strong></p>
<p>The second Java Option to look at is the MaxPermSize. The permanent generation is used to hold reflective data of the VM itself such as class objects and method objects. PermSize is an addition to the -Xmx value. I have set the following MaxPermSize in development and production:</p>
<p><strong>-XX:MaxPermSize=128m</strong></p>
<p>You can set these parameters in Tomcat using the Configure Tomcat application on the Java VM tab.</p>
<p>Be sure you have enough memory on the web server you are allocating memory for. The Windows servers I am referring to have 4 gigs of RAM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2007/06/12/tomcat-5-tip-multiple-flex-2-projects/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Eclipse Tip:  Flex and Java Project Performance</title>
		<link>http://www.appfoundation.com/blogs/giametta/2007/05/11/eclipse-tip-flex-and-java-projects/</link>
		<comments>http://www.appfoundation.com/blogs/giametta/2007/05/11/eclipse-tip-flex-and-java-projects/#comments</comments>
		<pubDate>Fri, 11 May 2007 20:17:57 +0000</pubDate>
		<dc:creator>Chris Giametta</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.appfoundation.com/blogs/giametta/2007/05/11/eclipse-tip-flex-and-java-projects/</guid>
		<description><![CDATA[I recently ran into an issue due to the amount of Flex and Java projects in Eclipse. I usually have one or two projects open in Eclipse.
I was getting very poor performance after opening several files in the project space. Eventually I ran out of memory for Eclipse to operate in. ...]]></description>
			<content:encoded><![CDATA[<p>I recently ran into an issue due to the amount of Flex and Java projects in Eclipse. I usually have one or two projects open in Eclipse.</p>
<p>I was getting very poor performance after opening several files in the project space. Eventually I ran out of memory for Eclipse to operate in. I have 2 gigs of ram and plenty of CPU horsepower on my workstation, so that wasn&#8217;t the issue.</p>
<p>What I found was to allocate more memory to the Java heap memory. Eclipse allocates up to 256m by default.</p>
<p>Open the following file:</p>
<p><strong>{eclipse-install-dir}eclipse/eclipse.ini</strong></p>
<p>Update or add:</p>
<p><strong>-vmargs -Xms40m -Xmx512m</strong></p>
<p>You may need to also up the permanent generation memory space using this parameter(default is 64m):</p>
<p><strong>-vmargs -XX:MaxPermSize=&lt;memory size&gt;</strong></p>
<p>I haven&#8217;t had an Eclipse crash in a week now. I guess the other option would to not have so many projects in my workspace or have multiple workspaces.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appfoundation.com/blogs/giametta/2007/05/11/eclipse-tip-flex-and-java-projects/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

