<?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>The Pixel Code &#187; Flex</title>
	<atom:link href="http://www.thepixelcode.com/tag/flex/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thepixelcode.com</link>
	<description>Design / Develop / Inspiration by Mohammed Khan</description>
	<lastBuildDate>Mon, 19 Jul 2010 03:45:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Data Visualization Beyond Flex Charts</title>
		<link>http://www.thepixelcode.com/presentations/data-visualization-beyond-flex-charts</link>
		<comments>http://www.thepixelcode.com/presentations/data-visualization-beyond-flex-charts#comments</comments>
		<pubDate>Wed, 02 Dec 2009 06:39:18 +0000</pubDate>
		<dc:creator>Mohammed Khan</dc:creator>
				<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Axiis]]></category>
		<category><![CDATA[Flare]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://www.thepixelcode.com/?p=511</guid>
		<description><![CDATA[At the Adobe Dev Summit 2009, Hyderabad, I gave a presentation on Data Visualization Beyond Flex Charts, and the best part came after my presentation, was flooded with queries on how-to&#8217;s and also met some cool developers from Sierra Atlantic who shared their experiences with Oracle BI Suite and how Flex Framework has added value [...]]]></description>
			<content:encoded><![CDATA[<p>At the <strong>Adobe Dev Summit 2009, Hyderabad</strong>, I gave a presentation on Data Visualization Beyond Flex Charts, and the best part came after my presentation, was flooded with queries on how-to&#8217;s and also met some cool developers from Sierra Atlantic who shared their experiences with Oracle BI Suite and how Flex Framework has added value to their solution. Overall I believe that Adobe Dev Summit 2009, was well received, with 650+ developers, and 15 speakers, it was a scoop blockbuster. Hats-off to <a href="http://blog.flexgeek.in/"><strong>Harish S Krishnan</strong></a>, <a href="http://sujitreddyg.wordpress.com/"><strong>Sujit G</strong></a>, <strong><a href="http://twitter.com/sriragam">Ramesh S Ragahavan</a></strong>, <strong><a href="http://twitter.com/arijitc">Arijit Chatterjee</a></strong> and others from Adobe team who made this event possible and having me as part of it. Will look forward to be part of it again in 2010 (if I don&#8217;t miss the call, as I did this year).  </p>
<div class="iframe-wrapper">
  <iframe src="http://www.thepixelcode.com/wp-content/uploads/ads2009/index.htm" frameborder="0" style="height:400px;width:510px;">Please upgrade your browser</iframe>
</div>
<p><strong>UPDATE:</strong> You can find the above slide deck on Slideshare <a href="http://www.slideshare.net/mdzkhan/data-visualization-beyond-flex-charts"><strong>here</strong></a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepixelcode.com/presentations/data-visualization-beyond-flex-charts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Augmenting Flex 3 Component using FLARToolKit &amp; PaperVision3D</title>
		<link>http://www.thepixelcode.com/interfaces/augmenting-flex-3-component-using-flartoolkit-papervision3d</link>
		<comments>http://www.thepixelcode.com/interfaces/augmenting-flex-3-component-using-flartoolkit-papervision3d#comments</comments>
		<pubDate>Fri, 10 Jul 2009 17:26:32 +0000</pubDate>
		<dc:creator>Mohammed Khan</dc:creator>
				<category><![CDATA[Augmented Reality]]></category>
		<category><![CDATA[Interfaces]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[pv3d]]></category>

		<guid isPermaLink="false">http://www.thepixelcode.com/?p=233</guid>
		<description><![CDATA[In continuation to my last post, I finally got some time today to continue work on some examples for Augmented Reality using FLARToolKit and PaperVision3D. One thing that I wanted to try was augmenting flex components, and after working on it for some time, I learned that its possible to augment Flex components, but with [...]]]></description>
			<content:encoded><![CDATA[<p>In continuation to my last <a href="http://www.thepixelcode.com/interfaces/augmented-reality/augmented-reality-using-flartoolkit-and-papervision3d"><strong>post</strong></a>, I finally got some time today to continue work on some examples for Augmented Reality using FLARToolKit and PaperVision3D. One thing that I wanted to try was augmenting flex components, and after working on it for some time, I learned that its possible to augment Flex components, but with the current implementation of FLARToolKit its not possible to interact with the component.</p>
<p>PaperVision3D lets you create a <code>Material</code> instance of type <code>MovieMaterial</code>, this can latter be added as the child to the Plane on which you would want to project your Flex component. When working with PaperVision3D, the instance creation starts with <code>BasicView</code> and ends with the <code>Plane</code>, and this is how the chain looks, <code>BasicView -> Scene -> ViewPort -> Plane -> Material</code>.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/QTJJbklsyvo&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/QTJJbklsyvo&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object> </p>
<p>If you wish to try out the demo, firstly get the marker <strong><a href="http://www.thepixelcode.com/wp-content/uploads/2009/07/Papervision3DMarker.pdf">PDF</a></strong> printed and then go <strong><a href="http://www.thepixelcode.com/demos/ARDemos/SimpleARFlexComp/SimpleARFlexComp.html">here</a></strong>. Below is the source code attached to explore and play around.</p>
<p><a href='http://www.thepixelcode.com/wp-content/uploads/2009/07/SimpleARFlexComp.zip'><strong>Simple AR Flex Component Demo Source Code</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepixelcode.com/interfaces/augmenting-flex-3-component-using-flartoolkit-papervision3d/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding Fonts for Flex in SWC</title>
		<link>http://www.thepixelcode.com/development/flex/embedding-fonts-for-flex-in-swc</link>
		<comments>http://www.thepixelcode.com/development/flex/embedding-fonts-for-flex-in-swc#comments</comments>
		<pubDate>Thu, 02 Jul 2009 21:59:49 +0000</pubDate>
		<dc:creator>Mohammed Khan</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[SWC]]></category>

		<guid isPermaLink="false">http://www.thepixelcode.com/?p=105</guid>
		<description><![CDATA[Its common that when a Flex developer needs to embed certain assets like images, fonts or skin graphics, SWF is the first thing that one would assemble using Adobe Flash CS3, but I was just wondering instead of loading the assets library at runtime, why not compile it within the main flex project. As we [...]]]></description>
			<content:encoded><![CDATA[<p>Its common that when a Flex developer needs to embed certain assets like images, fonts or skin graphics, SWF is the first thing that one would assemble using Adobe Flash CS3, but I was just wondering instead of loading the assets library at runtime, why not compile it within the  main flex project. As we usually do with other library files which needs to be included, I would then need to build a SWC using the Adobe Flash CS3 which shall contain the assets.</p>
<p>To try out, lets look at embedding few fonts which I wish to use in Flex project for styling the label text. Open Flash CS3, and follow the steps to create an SWC in which fonts are embedded.</p>
<ol>
<li>Embed a font by going to the library, and in the top right corner drop down, select “New Font…”. In the dialogue box, select the font that you want to embed, and give it a library name.</li>
<li>Then, in the library, right click the font, and select “Linkage…”.</li>
<li>Select “Export for ActionScript”, and give the font a class name, I gave here as <code>com.thepixelcode.fonts.EmbedSensation.</code></li>
<li>While exporting make sure that the option Export SWC is selected, you can name at this point the SWC as FontsLibrary.swc.</li>
</ol>
<p>Fire up your Flex Builder 3 and follow this steps :</p>
<ol>
<li>Create a Flex project called SampleFontTest and click Next.</li>
<li>Let the output folder be bin-debug and click Next.</li>
<li>In the Main Application Field, I usually prefer to name it as index.mxml, this is because when hosting on servers, its easy to deploy through scripts (don&#8217;t need t change name or do a mapping).</li>
<li>Now in the Navigator you should find your flex project, and in the libs folder add the FontsLibrary.swc.</li>
<li>Look at the code below for  index.mxml where during the project initialization the fonts are registered and can be used as fontNames for labels or text.</li>
</ol>
<pre class="java">
import com.thepixelcode.fonts.*;

//Registering fonts embedded in FontsLibrary.swc during initialization

public function init():void {

Font.registerFont(com.thepixelcode.fonts.EmbedGoudyTwenty);
Font.registerFont(com.thepixelcode.fonts.EmbedKomika);
Font.registerFont(com.thepixelcode.fonts.EmbedMothproof);
Font.registerFont(com.thepixelcode.fonts.EmbedSensation);

}</pre>
<p>You can find the source code below to try and test, there are other ways to register the font, but would simply increase code or add would need to add CSS definitions for styles. </p>
<p><a href='http://www.thepixelcode.com/wp-content/uploads/2009/07/SampleTestFont.zip'>SampleTestFont Source Zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepixelcode.com/development/flex/embedding-fonts-for-flex-in-swc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thought on Learning ActionScript 3</title>
		<link>http://www.thepixelcode.com/tutorials/thought-on-learning-actionscript-3</link>
		<comments>http://www.thepixelcode.com/tutorials/thought-on-learning-actionscript-3#comments</comments>
		<pubDate>Tue, 30 Jun 2009 10:04:45 +0000</pubDate>
		<dc:creator>Mohammed Khan</dc:creator>
				<category><![CDATA[Learning AS3]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.thepixelcode.com/?p=65</guid>
		<description><![CDATA[Today during my lunch hour at office, I was as usual discussing with my colleagues on how can I make my blog posting frequency increased (at same time not diluting my commitments at work and home), well there was no automated solution suggested. Instead we discussed on content (again), apart from writing on emerging technologies, [...]]]></description>
			<content:encoded><![CDATA[<p>Today during my lunch hour at office, I was as usual discussing with my colleagues on how can I make my blog posting frequency increased (at same time not diluting my commitments at work and home), well there was no automated solution suggested. Instead we discussed on content (again), apart from writing on emerging technologies, sharing work experience, domain knowledge and events coverage (the one&#8217;s that I attend), it was suggested I start tutorials. As part of my job profile at <a href="http://www.esberi.com">Esberi</a> is to conduct training programs, it would be easier to gather my thoughts and share the same with open community. Though I don&#8217;t consider myself as a pro in development, neither do I consider myself no-voice.</p>
<p>As a usual practice, I thought it would be great to first place a tutorial structure so that a systematic and adaptive learning material can delivered through my blog and the capabilities of the users can be leveraged from one tutorial to another. What I always believed and implemented during the training session at work is a famous saying by Albert Einstein &#8220;I never teach my pupils; I only attempt to provide the conditions in which they can learn.&#8221;</p>
<p>This tutorials are targeted for individuals who wish to take step-by-step approach and learn each module every week and practice them and play around with it. I plan to start the tutorial series with the title called &#8220;Learning ActionScript 3&#8243; and this is how it will be organized. Every saturday morning I would post the blog, which would cover certain topic, and after going through the boring yet essential theory which I wrote, you can pull up the attached walkthrough codes and discover and mess with it over the week.</p>
<p>The Learning ActionScript3 would be initially structured much like the Adobe Certification Program courseware (but not the content), and the extensions module like working with Cairngorm, BlazeDS or LCDS would be based on what I use for internal training (no Esberi won&#8217;t hurt me). Here is what the content structure would look like:</p>
<ul>
<li>Introduction to Flash Player</li>
<li>Introduction to Flex SDK</li>
<li>Getting started with AS3</li>
<li>Code syntax for AS3</li>
<li>Control Structures with AS3</li>
<li>OOPs with AS3</li>
</ul>
<p>This initiative is jut not to post something on this young blog, but instead will also refine my knowledge about technologies. So happy learning !!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepixelcode.com/tutorials/thought-on-learning-actionscript-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
