<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ganeshflex's Blog</title>
	<atom:link href="http://ganeshflex.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ganeshflex.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 13 Jul 2009 09:40:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ganeshflex.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ganeshflex's Blog</title>
		<link>http://ganeshflex.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ganeshflex.wordpress.com/osd.xml" title="Ganeshflex&#039;s Blog" />
	<atom:link rel='hub' href='http://ganeshflex.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Flex for the most need to know 10 things</title>
		<link>http://ganeshflex.wordpress.com/2009/07/13/flex-for-the-most-need-to-know-10-things/</link>
		<comments>http://ganeshflex.wordpress.com/2009/07/13/flex-for-the-most-need-to-know-10-things/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 09:40:15 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=81</guid>
		<description><![CDATA[1. Flex is a web standard MXML is a Flex application&#8217;s standard language, which allows developers to customize the structure of applications, including not only the layout also includes the class structure, and very easy to tag, this characteristic is very convenient there is web design and development background developers, similar to HTML Development of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=81&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Flex is a web standard</p>
<p><a class="internal_tag" title="Posts tagged with mxml" href="http://www.codeweblog.com/tag/mxml/">MXML</a> is a Flex application&#8217;s standard language, which allows developers to customize the structure of applications, including not only the layout also includes the <a class="internal_tag" title="Posts tagged with class structure" href="http://www.codeweblog.com/tag/class-structure/">class structure</a>, and very easy to tag, this characteristic is very convenient there is web design and <a class="internal_tag" title="Posts tagged with development background" href="http://www.codeweblog.com/tag/development-background/">development background</a> developers, similar to HTML Development of <a class="internal_tag" title="Posts tagged with mxml" href="http://www.codeweblog.com/tag/mxml/">MXML</a>. Same, Flex&#8217;s <a class="internal_tag" title="Posts tagged with actionscript" href="http://www.codeweblog.com/tag/actionscript/">ActionScript</a> and JavaScript similar, Flex using web standards to control the layout of CSS. Flex Application of a convenient way to customize the <a class="internal_tag" title="Posts tagged with application structure" href="http://www.codeweblog.com/tag/application-structure/">application structure</a>, <a class="internal_tag" title="Posts tagged with tree structure" href="http://www.codeweblog.com/tag/tree-structure/">tree structure</a> similar to a prototype language and containers <a class="internal_tag" title="Posts tagged with perfect combination" href="http://www.codeweblog.com/tag/perfect-combination/">perfect combination</a> of the application <a class="internal_tag" title="Posts tagged with component model" href="http://www.codeweblog.com/tag/component-model/">component model</a>. Source code can easily publish, rather than binary IDE required documents, but very easy readability of the text file.</p>
<p>It is worth mentioning that <a class="internal_tag" title="Posts tagged with mxml" href="http://www.codeweblog.com/tag/mxml/">MXML</a> is an <a class="internal_tag" title="Posts tagged with actionscript" href="http://www.codeweblog.com/tag/actionscript/">ActionScript</a> shorthand, ECMA-compliant scripting language, <a class="internal_tag" title="Posts tagged with mxml" href="http://www.codeweblog.com/tag/mxml/">MXML</a> at compile-time converted into <a class="internal_tag" title="Posts tagged with actionscript" href="http://www.codeweblog.com/tag/actionscript/">ActionScript</a> 3.</p>
<p>2. Flex is a Flash</p>
<p>If you are familiar with Flash over the past provided by lightweight <a class="internal_tag" title="Posts tagged with vector animations" href="http://www.codeweblog.com/tag/vector-animations/">vector animations</a> and advanced user interface, so you will not be unfamiliar to the Flex. Flex set up at the top on top of Flash Player, engine possession at all <a class="internal_tag" title="Posts tagged with flash content" href="http://www.codeweblog.com/tag/flash-content/">Flash content</a>, In this regard, nothing can make are Flash and Flex should not make.</p>
<p>3. Flex Just Works</p>
<p>Flex replace a lot of companies use Java, because a similar provision and Java cross-platform capability and a modern object-oriented architecture, but only required a much smaller package and the extra load. Flex applications can be completed entirely web-based software, as well as <a class="internal_tag" title="Posts tagged with desktop software" href="http://www.codeweblog.com/tag/desktop-software/">desktop software</a> (combination of Adobe AIR).</p>
<p>4. Flex from the <a class="internal_tag" title="Posts tagged with server restrictions" href="http://www.codeweblog.com/tag/server-restrictions/">server restrictions</a></p>
<p>Flex constituted by the data, be able to accept data in different formats and the most and the most common <a class="internal_tag" title="Posts tagged with server interaction" href="http://www.codeweblog.com/tag/server-interaction/">server interaction</a>. Load XML through local or remote, JSP, PHP, ASP, ColdFusion, etc.. You through the HTTP or <a class="internal_tag" title="Posts tagged with soap web services" href="http://www.codeweblog.com/tag/soap-web-services/">SOAP web services</a> to download information and even be able to directly read and write Java clients to SQLLite database.</p>
<p>5. Flex your appearance can be customized arbitrary</p>
<p>Flex applications can be customized the appearance of very large, you can switch back and forth, &#8220;skin&#8221; and the custom UI. This is not like Java or JavaScript, is not inherited by the running operating system UI, which means that Flex runs on Mac OSX, the button will not turn into a Mac-style button, Flex built-in appearance from their own set.</p>
<p>6. Flex is a lightweight and fast</p>
<p>Set up in <a class="internal_tag" title="Posts tagged with actionscript" href="http://www.codeweblog.com/tag/actionscript/">ActionScript</a> 3 on, Flex framework is a very quick pace. Initialization time for <a class="internal_tag" title="Posts tagged with actionscript" href="http://www.codeweblog.com/tag/actionscript/">ActionScript</a> 2 has been greatly improved. Flex adoption of a new JIT (Just-in-Time) compiler, accelerated speed. Of course, some people will argue that the use of a set of user interface components must affect the speed, in fact, a typical framework for the use of AJAX applications than similar, to a large Flex applications, Flash Player only a few M-byte, and often pre-installed on the computer. It is also worth mentioning the new features, namely the framework of the cache, can save a lot of big part of an integral part of the framework of download time. This function can be stored standard Flex UI components on the user&#8217;s machine so that other Flex applications run-time without having to download the entire framework.</p>
<p>7. Flex is a barrier-free</p>
<p><a class="internal_tag" title="Posts tagged with flash content" href="http://www.codeweblog.com/tag/flash-content/">Flash content</a> a lot of people think it is very difficult to access, this is a misconception. In fact, Flex framework components have a very good interaction, such as screen readers and keyboard navigation, developers only need to open the switch (default is off).</p>
<p>8. Flex compatible with search engine optimization</p>
<p><a class="internal_tag" title="Posts tagged with flash content" href="http://www.codeweblog.com/tag/flash-content/">Flash content</a> difficult Indexed search engine, it has been for the contents of web development. Adobe recently released search engine optimization for the special version of Flash Player. Of course, this takes time to completely solve the problem.</p>
<p>9. Flex is free and open source</p>
<p>Flex is completely open source, the entire framework source code can be downloaded at Adobe website.</p>
<p>10. Flex is easy to learn</p>
<p><a class="internal_tag" title="Posts tagged with mxml" href="http://www.codeweblog.com/tag/mxml/">MXML</a> is very simple, easy to understand. If you have used HTML and CSS, you can quickly get started <a class="internal_tag" title="Posts tagged with mxml" href="http://www.codeweblog.com/tag/mxml/">MXML</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=81&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/07/13/flex-for-the-most-need-to-know-10-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Action Script Bounce the ball</title>
		<link>http://ganeshflex.wordpress.com/2009/07/03/using-action-script-bounce-the-ball/</link>
		<comments>http://ganeshflex.wordpress.com/2009/07/03/using-action-script-bounce-the-ball/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 12:36:52 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/2009/07/03/using-action-script-bounce-the-ball/</guid>
		<description><![CDATA[mxm file: &#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; creationComplete=&#8221;initApp()&#8221;&#62; &#60;mx:Script&#62; &#60;![CDATA[ import mx.core.UIComponent; private function initApp():void{ var sample:Main = new Main() var ui:UIComponent = new UIComponent(); ui.addChild(sample); this.addChild(ui); } ]]&#62; &#60;/mx:Script&#62; &#60;/mx:Application&#62; Action File: package { import flash.display.Sprite; import flash.events.Event; public class Main extends Sprite { private var ballOne:Sprite; private var ballTwo:Sprite; private var direction:int [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=78&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>mxm file:</strong></p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; creationComplete=&#8221;initApp()&#8221;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
import mx.core.UIComponent;<br />
private function initApp():void{<br />
var sample:Main = new Main()<br />
var ui:UIComponent = new UIComponent();<br />
ui.addChild(sample);<br />
this.addChild(ui);<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;/mx:Application&gt;</p>
<p><strong>Action File:</strong></p>
<p>package<br />
{<br />
import flash.display.Sprite;<br />
import flash.events.Event;<br />
public class Main extends Sprite<br />
{<br />
private var ballOne:Sprite;<br />
private var ballTwo:Sprite;</p>
<p>private var direction:int = 1;</p>
<p>public function Main()<br />
{<br />
ballOne = new Sprite();<br />
ballOne.graphics.beginFill(0xff0000, 1);<br />
ballOne.graphics.drawCircle(0, 0, 30);<br />
ballOne.graphics.endFill();<br />
ballTwo = new Sprite();<br />
ballTwo.graphics.beginFill(0x0000ff, 1);<br />
ballTwo.graphics.drawCircle(0, 0, 30);<br />
ballTwo.graphics.endFill();</p>
<p>addChild(ballOne);<br />
addChild(ballTwo);</p>
<p>ballTwo.x = 200;<br />
ballOne.x = 300;<br />
ballTwo.y = 5;<br />
ballOne.y = 5;</p>
<p>ballTwo.addEventListener(Event.ENTER_FRAME, bounce);<br />
ballOne.addEventListener(Event.ENTER_FRAME, bounce);<br />
}</p>
<p>private function bounce(event:Event):void<br />
{<br />
var target:Sprite = event.target as Sprite;<br />
try<br />
{<br />
if (target.y == 199)<br />
{<br />
direction = -1;<br />
}</p>
<p>if (target.y == 1)<br />
{<br />
direction = 1;<br />
}</p>
<p>if (target.y &lt; 200 &amp;&amp; target.y &gt; 0)<br />
{<br />
trace(target.y + &#8221; : &#8221; + direction);<br />
target.y += direction;<br />
}</p>
<p>} catch(err:Error) {<br />
trace(&#8220;ooops&#8230;.&#8221;);<br />
}<br />
}<br />
}<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=78&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/07/03/using-action-script-bounce-the-ball/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Adobe Flex interview questions with answers</title>
		<link>http://ganeshflex.wordpress.com/2009/06/26/flex-interview-questions-with-answers/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/26/flex-interview-questions-with-answers/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 11:53:53 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=75</guid>
		<description><![CDATA[1) What’s the difference between Java and AS3 getters and setters? In Java, getter and setter methods have to be explicitly called. While in AS3, they’re called automatically and externally indistinguishable from public properties. For instance trace(myClass.foo) might be referencing a public property or it might be referencing the method “public get foo():Object”. It makes [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=75&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>1) What’s the difference between Java and AS3 getters and setters? </strong></p>
<p>In Java, getter and setter methods have to be explicitly called.<br />
While in AS3, they’re called automatically and externally<br />
indistinguishable from public properties.</p>
<p>For instance trace(myClass.foo) might be referencing a public property<br />
or it might be referencing the method “public get foo():Object”.  It<br />
makes no difference to an external class.<br />
—<br />
You can expand on this a bit more to describe why this is useful.  The<br />
implications are that, unlike in Java, all variables in a class are<br />
generally public.  Java standard practices are to create only public<br />
getters and setters while keeping the variables private.  The reason<br />
for only allowing methods to be publicly accessible is so that 1) they<br />
can be overridden and 2) their implementation can change without<br />
altering class interface.</p>
<p>AS3 addresses both of these concerns because, as described above, a<br />
public property can be replaced with a getter and setter without<br />
changing the interface.  And an inherited public property can actually<br />
be overridden by a subclass.</p>
<p>For example, this is valid:<br />
public class A<br />
{<br />
public var foo:Object;<br />
}</p>
<p>public class B extends A<br />
{<br />
override public function get foo():Object{return ‘bar’};<br />
override public function set foo(value:Object):void{};<br />
}</p>
<p><strong>2) Explain how binding works in mxml components. </strong></p>
<p><strong> </strong>Data binding is the process of tying the data in one object to another object. It provides a convenient way to pass data around in an application. Adobe Flex 2 provides three ways to specify data binding: <strong>the curly braces ({}) syntax</strong> and the <strong>&lt;mx:Binding&gt; tag</strong> in MXML and the <strong>BindingUtils</strong> methods in ActionScript.</p>
<p>Data binding requires a <strong>source </strong>property, a <strong>destination </strong>property, and a <strong>triggering event</strong> that indicates when to copy the data from the source to the destination. To use a property as the source of a data binding expression, the component must be implemented to support data binding, which means that the component dispatches an event when the value of the property changes to trigger the binding.</p>
<p>At compile time, the MXML compiler generates code to create <strong>ActionScript Watcher</strong> and <strong>Binding objects</strong> that correspond to the binding tags and expressions found in an MXML document. At run time, Watcher objects are triggered by change events that come from the constituent parts of binding source expressions; the Watcher objects then trigger Binding objects to execute bindings.</p>
<p>When you specify a property as the source of a data binding, Flex monitors not only that property for changes, but also the chain of properties leading up to it. The entire chain of properties, including the destination property, is called a “<strong>bindable property chain</strong>“. In the following example,<em> firstName.text</em> is a bindable property chain that includes both a <em>firstName </em>object and its <em>text </em>property:</p>
<blockquote><p>&lt;first&gt;{firstName.text}&lt;/first&gt;</p></blockquote>
<p>Its not necessary that the binding executes automatically. In the following case the binding wont execute automatically as expected.</p>
<ol>
<li>Binding does not execute automatically when you change an entire item of a dataProvider property.</li>
<li>Binding also does not execute automatically for subproperties of properties that have [Bindable] metadata.</li>
<li>Binding also does not execute automatically when you are binding data to a property that Flash Player updates automatically, such as the mouseX property.</li>
</ol>
<p>The <em><strong>executeBindings() </strong></em>method of the <em>UIComponent </em>class executes all the bindings for which a <em>UIComponent </em>object is the destination. All containers and controls, as well as the <em>Repeater </em>component, extend the <em>UIComponent </em>class. The <em><strong>executeChildBindings</strong></em>() method of the Container and Repeater classes executes all of the bindings for which the child <em>UIComponent </em>components of a <em>Container </em>or <em>Repeater </em>class are destinations. All containers extend the <em>Container </em>class. However, you should only use the <em><strong>executeBindings() </strong></em>method when you are sure that bindings do not execute automatically.</p>
<p><strong> 3) What’s the difference between ChangeWatcher.watch, and<br />
BindingUtils.bindProperty?<br />
4) Why would you want to keep a reference to a ChangeWatcher and call<br />
unwatch()? </strong></p>
<p><strong>5) How do you add event listeners in mxml components.  Now AS3 components? </strong><strong><br />
6) What does calling preventDefault() on an event do?  How is this<br />
enforced?<br />
7) (If applicable) Explain the lifecycle of a Cairngorm action. </strong></p>
<p><strong>8 ) What are some ways to specify styles on components? </strong><strong><br />
9) What is the problem with calling setStyle()<br />
10) Explain the difference between creating an effect and setting the<br />
target as opposed to adding an effectListener<br />
11) What do repeater components do?<br />
12) How do you identify a component created in a repeater?</strong></p>
<p><strong>13)</strong><strong> Explain the component lifecycle.<br />
14) How invalidate / commitProperties work specifically<br />
15) Questions about dataServices<br />
16) A general understanding of MVC<br />
17) What frameworks familiar with </strong></p>
<p>1. Is it possible to make httpService Requests synchronous?<br />
2. I need to load an image from flickr into my application. Do I need a crossdomain.xml file on flickr?<br />
<strong>3. What is the difference between httpService and Data Service?</strong></p>
<p>Flex allows three types of RPC services: HttpService, WebServices, and RemoteObject Services. In Flex, using the “RemoteObjects specifies named or unnamed sources and connects to an Action Message Format (AMF) gateway, whereas using the HTTPService and WebService use named services or raw URLs and connect to an HTTP proxy using text-based query parameters or XML”. Specifically, HTTPServices use raw HTTP requests, WebServices use the SOAP protocol and RemoteObjects uses AMF3. “RemoteObject provides two advantages over HTTP or SOAP. <strong>First</strong>, while the AMF protocol uses HTTP to transfer packets, the data is transferred in a binary format that is natively understood by the Flash Player. As a result, data can move across the network more quickly and it can be deserialized more rapidly than text-based formats such as XML. Both of these result in performance gains, particularly where large sets of data are involved. <strong>Secondly</strong>, RemoteObject provides signficant productivity advantages. The remoting service, which runs on your server, automatically marshalls data between AMF and your server-side language (e.g., PHP, Java, C#). As a result, you can directly call methods on your PHP objects without having to write an XML REST interface or create web service interfaces”.</p>
<p>4. How do you generate random numbers within a given limit with actionscript?<br />
5. Have you built any components with actionscript? If so explain how you did it?<br />
6. How do you implement push on a flex applications?<br />
7.I am going to add images into a  tag. How will it resize itself?<br />
8. What is a resource Manager??<br />
9.What are the similarities between java and flex<br />
10. What is the dynamic keyword used for?<br />
11.How do you implement push with flex data services?<br />
12. What are the methods called when a UI component  is intialized?<br />
13. How do you implement drag and drop on components that do not support ondrag and ondrop?<br />
14.Can you write to the file system from flex?<br />
15. What is a drag manager?<br />
16 . HOw do you call javascript from Flex?</p>
<p>The ExternalInterface API makes it very simple to call methods in the enclosing wrapper. You use the static call() method, which has the following signature:</p>
<pre>flash.external.ExternalInterface.call(function_name:
    String[, arg1, ...]):Object;</pre>
<p>The <code><em>function_name</em></code> is the name of the function in the HTML page’s JavaScript. The arguments are the arguments that you pass to the JavaScript function. You can pass one or more arguments in the traditional way of separating them with commas, or you can pass an object that is deserialized by the browser. The arguments are optional.</p>
<p>The following example script block calls the JavaScript <code>f()</code> function in the enclosing wrapper by using the <code>call()</code> method:</p>
<pre>&lt;mx:Script&gt;
&lt;?xml version="1.0" encoding="iso-8859-1"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt;
    &lt;mx:Script&gt;
        import flash.external.*;

        public function callWrapper():void {
            var f:String = "changeDocumentTitle";
            var m:String = ExternalInterface.call(f,"New Title");
            trace(m);
        }
    &lt;/mx:Script&gt;
    &lt;mx:Button label="Change Document Title" click="callWrapper()"/&gt;
&lt;/mx:Application&gt;</pre>
<p>On your HTML page, you define a function as you would any other JavaScript function. You can return a value, as the following example shows:</p>
<pre>&lt;SCRIPT&gt;
    function changeDocumentTitle(a) {
        window.document.title=a;
        return "successful";
    }
&lt;/SCRIPT&gt;</pre>
<p>This feature requires that the embedded movie file have an <code>id</code> attribute. Without it, no call from your Flex application will succeed.</p>
<p>The <code>call()</code> method accepts zero or more arguments, which can be ActionScript types. Flex serializes the ActionScript types as JavaScript numbers and strings. If you pass an object, you can access the properties of that deserialized object in the JavaScript, as the following example shows:</p>
<pre>&lt;mx:Script&gt;
    public function callWrapper():void {
        var o:Object = new Object();
        o.lname = "Danger";
        o.fname = "Nick";
        var f:String = "sendComplexDataTypes";
        ExternalInterface.call(f,o);
    }
&lt;/mx:Script&gt;</pre>
<p>Flex only serializes public, nonstatic variables and read-write properties of ActionScript objects. You can pass numbers and strings as properties on objects, simple objects such as primitive types and arrays, or arrays of simple objects.</p>
<p>The JavaScript code can then access properties of the object, as the following example shows:</p>
<pre>&lt;SCRIPT&gt;
    function sendComplexDataTypes(a:Object) {
        alert("Welcome " + a.fname + " " + a.lname + "!");
    }
&lt;/SCRIPT&gt;</pre>
<p>You can also embed objects within objects, as the following example shows. Add the following code in your Flex application’s <code>&lt;mx:Script&gt;</code> block:</p>
<pre>&lt;mx:Script&gt;
    public function callWrapper():void {
        var f:String = "sendComplexDataTypes";
        var o:Object = new Object();
        o.lname = "Danger";
        o.fname = "Nick";
        o.b = new Array("DdW","E&amp;T","LotR:TS");
        var m:String = ExternalInterface.call(f,o);
    }
&lt;/mx:Script&gt;</pre>
<p>The code triggers the following JavaScript in the wrapper:</p>
<pre>&lt;SCRIPT&gt;
    function sendComplexDataTypes(a) {
        // Get value of fname and lname properties.
        var m = ("Welcome " + a.fname + " " + a.lname + "!\n");
        // Iterate over embedded object's properties.
        for (i=0; i&lt;a.b.length; i++) {
            m = m + a.b[i] + "\n";
        }
        alert(m);
    }
&lt;/SCRIPT&gt;</pre>
<p>Flex and Flash Player have strict security in place to prevent cross-site scripting. By default, you cannot call script on an HTML page if the HTML page is not in the same domain as the Flex application. However, you can expand the sources from which scripts can be called.</p>
<p>You cannot pass objects or arrays that contain circular references. For example, you cannot pass the following object:</p>
<pre>var obj = new Object();
obj.prop = obj; // Circular reference.</pre>
<p>Circular references cause infinite loops in both ActionScript and JavaScript.<br />
17. How do you use a repeater?<br />
18. what are three ways to skin a component in flex?<br />
19. How do you use css styles in flex?<br />
20. What is the difference between sealed class and dynamic classes?<br />
21.what is MVC and how do you relate it to flex apps?<br />
22.what is state? what is the difference between states and ViewStack?<br />
23.how does item renderer work? How do I add item renderer at runtime?<br />
24.what keyword allows you to refer to private variables of a class?<br />
25.how polymorphism works on actionscript?<br />
26.how do you overload functions in actionscript?<br />
27.what is dynamic keyword used for?</p>
<p>Dynamic Keyword is used to make a class dynamic. A <em>dynamic</em> class defines an object that can be altered at run time by adding or changing properties and methods. You create dynamic classes by using the <code>dynamic</code> attribute when you declare a class. For example, the following code creates a dynamic class named <code>Protean</code>:</p>
<blockquote>
<pre>dynamic class Protean {
  private var privateGreeting:String = "hi";
  public var publicGreeting:String = "hello";
  function Protean () {
    trace("Protean instance created");
  }
}</pre>
</blockquote>
<p>If you subsequently instantiate an instance of the <code>Protean</code> class, you can add properties or methods to it outside the class definition. For example, the following code creates an instance of the <code>Protean</code> class and adds a property named <code>aString</code> and a property named <code>aNumber</code> to the instance:</p>
<blockquote>
<pre>var myProtean:Protean = new Protean();
myProtean.aString = "testing";
myProtean.aNumber = 3;
trace (myProtean.aString, myProtean.aNumber); // output: testing 3</pre>
</blockquote>
<p>Properties that you add to an instance of a dynamic class are run-time entities, so any type checking is done at run time. You cannot add a type annotation to a property that you add in this manner.</p>
<p>You can also add a method to the <code>myProtean</code> instance by defining a function and attaching the function to a property of the <code>myProtean</code> instance. The following code moves the trace statement into a method named <code>traceProtean()</code>:</p>
<blockquote>
<pre>var myProtean:Protean = new Protean();
myProtean.aString = "testing";
myProtean.aNumber = 3;
myProtean.traceProtean = function () {
    trace (this.aString, this.aNumber);
}
myProtean.traceProtean(); // output: testing 3</pre>
</blockquote>
<p>Methods created in this way, however, do not have access to any private properties or methods of the Protean class. Moreover, even references to public properties or methods of the <code>Protean</code> class must be qualified with either the <code>this</code> keyword or the class name. The following example shows the <code>traceProtean()</code> method attempting to access the private and public variables of the <code>Protean</code> class.</p>
<blockquote>
<pre>myProtean.traceProtean = function () {
    trace(myProtean.privateGreeting); // output: undefined
    trace(myProtean.publicGreeting); // output: hello
}
myProtean.traceProtean();</pre>
</blockquote>
<p>28.what are sealed classes ?</p>
<p>A class that is not dynamic, such as the String class, is a <em>sealed</em> class. You cannot add properties or methods to a sealed class at run time.</p>
<p>29 what are runtime shared libraries?<br />
30.What is caringhorm ? how do you use it?Have you worked with Cairnghorn?</p>
<p><strong>Overview of Cairngorm</strong></p>
<p><strong>What is Cairngorm?</strong> Cairngorm is fundamentally a methodology for breaking up your application code by logical functions; by data, by user views, and by the code that controls everything. This is routinely referred to as MVC, or Model, View, and Control.</p>
<p>The Pieces of Cairngorm</p>
<ul>
<li>· <strong>Model Locator: </strong>Stores all of your application’s Value Objects (data) and shared variables, in one place. Similar to an HTTP Session object, except thatits stored client side in the Flex interface instead of server side within a middle tier application server.</li>
<li>· <strong>View: </strong>One or more Flex components (button, panel, combo box, Tile, etc) bundled together as a named unit, bound to data in the Model Locator, andgenerating custom Cairngorm Events based on user interaction (clicks,rollovers, dragndrop.)</li>
<li>· <strong>Front Controller: </strong>Receives Cairngorm Events and maps them to CairngormCommands.</li>
<li>· <strong>Command: </strong>Handles business logic, calls Cairngorm Delegates and/or other Commands, and updates the Value Objects and variables stored in the ModelLocator</li>
<li>· <strong>Delegate: </strong>Created by a Command, they instantiate remote procedure calls(HTTP, Web Services, etc) and hand the results back to that Command.</li>
<li>· <strong>Service: </strong>Defines the remote procedure calls (HTTP, Web Services, etc) to connect to remote data stores.</li>
</ul>
<p><strong>How the Pieces Fit Together</strong></p>
<p>Cairngorm basically works like this: Your client interface is comprised of Views. The Views use Flex binding to display data contained in the Model Locator. The Viewsgenerate Events based on user gestures such as mouse click, button press, and drag &amp; drop. Those Events are “broadcast” and “heard” by the Front Controller, which is a map of Events to Commands. Commands contain business logic, create Delegates toperform work, handle responses from Delegates, and update the data stored in theModel Locator. Since Views are bound to the data in the Model Locator the Viewsautomatically update when the Model Locator data is changed. Delegates callServices and hand results back to Commands, and are optional but recommended.Services make remote data calls and hand the results back to Delegates.</p>
<p>31.What keyword allows you to implement abstraction better?<br />
32.What design patterns have you used? in Actionscript and java?</p>
<p><strong>What is AMF?</strong></p>
<p>AMF is a binary format based loosely on the Simple Object Access Protocol (SOAP). It is used primarily to exchange data between an Adobe Flash application and a database, using a Remote Procedure Call. Each AMF message contains a body which holds the error or response, which will be expressed as an ActionScript Object. AMF was introduced with Flash Player 6, and this version is referred to as AMF 0. It was unchanged until the release of Flash Player 9 and ActionScript 3.0, when new data types and language features prompted an update, called AMF 3.</p>
<p><strong>Advantages / Disadvantages of flex</strong></p>
<p>Flex advantages: very capable IDE, Images are part of a flash movie and can’t be downloaded directly, supported by Adobe, XML based language, ability to leverage flash components into the application, great speed increase over previous versions of flash (if that was even possible).</p>
<p>Flex disadvantages: Needs the flash player, Need to learn and XML based language and possibly actionscript to build real applications</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=75&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/26/flex-interview-questions-with-answers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex Interview Questions</title>
		<link>http://ganeshflex.wordpress.com/2009/06/26/flex-interview-questions/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/26/flex-interview-questions/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 11:46:27 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=73</guid>
		<description><![CDATA[Is it possible to make httpService Requests synchronous? I need to load an image from flickr into my application. Do I need a crossdomain.xml file on flickr? What is the difference between httpService and Data Service? How do you generate random numbers within a given limit with actionscript? Have you built any components with actionscript? [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=73&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Is it possible to make httpService Requests synchronous?</p>
<p>I need to load an image from flickr into my application. Do I need a crossdomain.xml file on flickr?</p>
<p>What is the difference between httpService and Data Service?</p>
<p>How do you generate random numbers within a given limit with actionscript?</p>
<p>Have you built any components with actionscript? If so explain how you did it?</p>
<p>How do you implement push on a flex applications?</p>
<p>I am going to add images into a tag. How will it resize itself?</p>
<p>What is a resource Manager??</p>
<p>What are the similarities between java and flex</p>
<p>What is the dynamic keyword used for?</p>
<p>How do you implement push with flex data services?</p>
<p>What are the methods called when a UI component is intialized?</p>
<p>How do you implement drag and drop on components that do not support ondrag and ondrop?</p>
<p>Can you write to the file system from flex?</p>
<p>What is a drag manager?</p>
<p>How do you call javascript from Flex?</p>
<p>How do you use a repeater?</p>
<p>What are three ways to skin a component in flex?</p>
<p>How do you use css styles in flex?</p>
<p>What is the difference between sealed class and dynamic classes?</p>
<p>What is MVC and how do you relate it to flex apps?</p>
<p>What is state? what is the difference between states and ViewStack?</p>
<p>How does item renderer work? How do I add item renderer at runtime?</p>
<p>What keyword allows you to refer to private variables of a class?</p>
<p>How polymorphism works on actionscript?</p>
<p>How do you overload functions in action script?</p>
<p>What is dynamic keyword used for?</p>
<p>What are sealed classes ?</p>
<p>What are runtime shared libraries?</p>
<p>What is caringhorm ? how do you use it? Have you worked with Cairnghorn?</p>
<p>What keyword allows you to implement abstraction better?</p>
<p>What design patterns have you used? in Actionscript and java?</p>
<p>What&#8217;s the difference between Java and AS3 getters and setters?</p>
<p>Explain how binding works in mxml components.</p>
<p>What&#8217;s the difference between ChangeWatcher.watch, and BindingUtils.bindProperty?</p>
<p>Why would you want to keep a reference to a ChangeWatcher and call unwatch()?</p>
<p>How do you add event listeners in mxml components. Now AS3 components?</p>
<p>What does calling preventDefault() on an event do? How is this enforced?</p>
<p>Explain the lifecycle of a Cairngorm action.</p>
<p>What is the problem with calling setStyle()</p>
<p>Explain the difference between creating an effect and setting the target as opposed to adding an effectListener</p>
<p>How do you identify a component created in a repeater?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=73&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/26/flex-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting image form Xml using repeater</title>
		<link>http://ganeshflex.wordpress.com/2009/06/19/getting-image-form-xml-using-repeater/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/19/getting-image-form-xml-using-repeater/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 11:12:46 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=70</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;vertical&#8221; verticalAlign=&#8221;middle&#8221; backgroundColor=&#8221;white&#8221;&#62; &#60;mx:XML id=&#8221;imagesXML&#8221; source=&#8221;images.xml&#8221; /&#62; &#60;mx:Zoom id=&#8221;zoom&#8221; /&#62; &#60;mx:HBox id=&#8221;hBox&#8221;&#62; &#60;mx:Repeater id=&#8221;rep&#8221; dataProvider=&#8221;{imagesXML.image}&#8221;&#62; &#60;mx:Image source=&#8221;{rep.currentItem.@src}&#8221; toolTip=&#8221;{rep.currentIndex}:{rep.currentItem.@alt}&#8221; completeEffect=&#8221;{zoom}&#8221; /&#62; &#60;/mx:Repeater&#62; &#60;/mx:HBox&#62; &#60;/mx:Application&#62; images.xml &#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;!&#8211; http://blog.flexexamples.com/2007/10/03/displaying-images-from-an-xml-file-using-the-repeater-component/ &#8211;&#62; &#60;images&#62; &#60;image src=&#8221;images/Bilimbi.jpg&#8221; alt=&#8221;Button&#8221; /&#62; &#60;image src=&#8221;images/bunch of flower.jpg&#8221; alt=&#8221;ButtonBar&#8221; /&#62; &#60;image src=&#8221;images/Cherimoya.jpg&#8221; alt=&#8221;CheckBox&#8221; /&#62; &#60;image src=&#8221;images/feg_hibiscus.jpg&#8221; alt=&#8221;ColorPicker&#8221; /&#62; &#60;image [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=70&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;<br />
layout=&#8221;vertical&#8221;<br />
verticalAlign=&#8221;middle&#8221;<br />
backgroundColor=&#8221;white&#8221;&gt;</p>
<p>&lt;mx:XML id=&#8221;imagesXML&#8221; source=&#8221;images.xml&#8221; /&gt;</p>
<p>&lt;mx:Zoom id=&#8221;zoom&#8221; /&gt;</p>
<p>&lt;mx:HBox id=&#8221;hBox&#8221;&gt;<br />
&lt;mx:Repeater id=&#8221;rep&#8221;<br />
dataProvider=&#8221;{imagesXML.image}&#8221;&gt;<br />
&lt;mx:Image source=&#8221;{rep.currentItem.@src}&#8221;<br />
toolTip=&#8221;{rep.currentIndex}:{rep.currentItem.@alt}&#8221;<br />
completeEffect=&#8221;{zoom}&#8221; /&gt;<br />
&lt;/mx:Repeater&gt;<br />
&lt;/mx:HBox&gt;</p>
<p>&lt;/mx:Application&gt;</p>
<p>images.xml</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;!&#8211; http://blog.flexexamples.com/2007/10/03/displaying-images-from-an-xml-file-using-the-repeater-component/ &#8211;&gt;<br />
&lt;images&gt;<br />
&lt;image src=&#8221;images/Bilimbi.jpg&#8221; alt=&#8221;Button&#8221; /&gt;<br />
&lt;image src=&#8221;images/bunch of flower.jpg&#8221; alt=&#8221;ButtonBar&#8221; /&gt;<br />
&lt;image src=&#8221;images/Cherimoya.jpg&#8221; alt=&#8221;CheckBox&#8221; /&gt;<br />
&lt;image src=&#8221;images/feg_hibiscus.jpg&#8221; alt=&#8221;ColorPicker&#8221; /&gt;<br />
&lt;image src=&#8221;images/ComboBox.png&#8221; alt=&#8221;ComboBox&#8221; /&gt;<br />
&lt;image src=&#8221;images/DataGrid.png&#8221; alt=&#8221;DataGrid&#8221; /&gt;<br />
&lt;image src=&#8221;images/DateChooser.png&#8221; alt=&#8221;DateChooser&#8221; /&gt;<br />
&lt;image src=&#8221;images/DateField.png&#8221; alt=&#8221;DateField&#8221; /&gt;<br />
&lt;/images&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=70&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/19/getting-image-form-xml-using-repeater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Tittle window using with an effect</title>
		<link>http://ganeshflex.wordpress.com/2009/06/15/tittle-window-using-with-an-effect/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/15/tittle-window-using-with-an-effect/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:30:38 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=63</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;vertical&#8221; backgroundColor=&#8221;#FFFFFF&#8221; creationComplete=&#8221;init()&#8221; backgroundGradientColors=&#8221;[#FFFFFF,#FFFF88]&#8220; horizontalAlign=&#8221;center&#8221; verticalAlign=&#8221;middle&#8221;&#62; &#60;mx:Script&#62; &#60;![CDATA[ import mx.managers.PopUpManager; [Bindable] private var win:MyTilewindow; private function init():void{} private function createPopup():void{ win=MyTilewindow(PopUpManager.createPopUp(this,MyTilewindow,true)); win.title = &#8216;This is my title window&#8217;; win.x = -500; win.y = 0; customMove.end(); customMove.play(); } ]]&#62; &#60;/mx:Script&#62; &#60;mx:Style&#62; TitleWindow { borderStyle:solid; borderThickness:2; } &#60;/mx:Style&#62; &#60;mx:Parallel id=&#8221;customMove&#8221; target=&#8221;{win}&#8221;&#62; &#60;mx:Move [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=63&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;vertical&#8221;<br />
backgroundColor=&#8221;#FFFFFF&#8221; creationComplete=&#8221;init()&#8221; backgroundGradientColors=&#8221;[#FFFFFF,#FFFF88]&#8220;<br />
horizontalAlign=&#8221;center&#8221; verticalAlign=&#8221;middle&#8221;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
import mx.managers.PopUpManager;</p>
<p>[Bindable]<br />
private var win:MyTilewindow;</p>
<p>private function init():void{}</p>
<p>private function createPopup():void{<br />
win=MyTilewindow(PopUpManager.createPopUp(this,MyTilewindow,true));<br />
win.title = &#8216;This is my title window&#8217;;<br />
win.x = -500;<br />
win.y = 0;<br />
customMove.end();<br />
customMove.play();<br />
}</p>
<p>]]&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;mx:Style&gt;<br />
TitleWindow {<br />
borderStyle:solid;<br />
borderThickness:2;</p>
<p>}<br />
&lt;/mx:Style&gt;</p>
<p>&lt;mx:Parallel id=&#8221;customMove&#8221; target=&#8221;{win}&#8221;&gt;<br />
&lt;mx:Move duration=&#8221;2000&#8243; xTo=&#8221;{(stage.width  &#8211; win.width) / 2}&#8221; yTo=&#8221;{(stage.height &#8211; win.height) / 2}&#8221; /&gt;<br />
&lt;mx:WipeRight duration=&#8221;2000&#8243; /&gt;<br />
&lt;/mx:Parallel&gt;</p>
<p>&lt;mx:Button label=&#8221;Click here for popup&#8221; click=&#8221;createPopup()&#8221; /&gt;<br />
&lt;/mx:Application&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=63&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/15/tittle-window-using-with-an-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Mask image album</title>
		<link>http://ganeshflex.wordpress.com/2009/06/15/mask-image-album/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/15/mask-image-album/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:17:48 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=60</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;horizontal&#8221; backgroundColor=&#8221;#FFFFFF&#8221; paddingTop=&#8221;0&#8243; paddingRight=&#8221;0&#8243; paddingLeft=&#8221;0&#8243; paddingBottom=&#8221;0&#8243;&#62; &#60;mx:Script&#62; &#60;![CDATA[ import mx.core.UIComponent; import mx.events.FlexEvent; import mx.controls.Image; import mx.controls.listClasses.IListItemRenderer; private function initMask():void { var bitmapData:BitmapData = new BitmapData(picture.width,picture.height); bitmapData.floodFill(bitmapData.width/2,bitmapData.height/2,0xFF000000); maskImage.source = new Bitmap(bitmapData); } private function getMaskImage(data:Object):Bitmap { var itemRenderer:IListItemRenderer = maskList.itemToItemRenderer(data); var bitmap:Bitmap; var bitmapData:BitmapData; bitmapData = Bitmap(Image(itemRenderer).content).bitmapData.clone(); var pixel:uint = bitmapData.getPixel32(int(bitmapData.width/2),int(bitmapData.height/2)); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=60&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application<br />
xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;<br />
layout=&#8221;horizontal&#8221;<br />
backgroundColor=&#8221;#FFFFFF&#8221;<br />
paddingTop=&#8221;0&#8243;<br />
paddingRight=&#8221;0&#8243;<br />
paddingLeft=&#8221;0&#8243;<br />
paddingBottom=&#8221;0&#8243;&gt;</p>
<p>&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
import mx.core.UIComponent;<br />
import mx.events.FlexEvent;<br />
import mx.controls.Image;<br />
import mx.controls.listClasses.IListItemRenderer;</p>
<p>private function initMask():void<br />
{<br />
var bitmapData:BitmapData = new BitmapData(picture.width,picture.height);<br />
bitmapData.floodFill(bitmapData.width/2,bitmapData.height/2,0xFF000000);<br />
maskImage.source = new Bitmap(bitmapData);<br />
}</p>
<p>private function getMaskImage(data:Object):Bitmap<br />
{<br />
var itemRenderer:IListItemRenderer = maskList.itemToItemRenderer(data);<br />
var bitmap:Bitmap;<br />
var bitmapData:BitmapData;</p>
<p>bitmapData = Bitmap(Image(itemRenderer).content).bitmapData.clone();</p>
<p>var pixel:uint = bitmapData.getPixel32(int(bitmapData.width/2),int(bitmapData.height/2));<br />
// extract the alpha value from the given ARGB value.<br />
var alpha:uint = pixel &gt;&gt; 24;</p>
<p>// if the center pixel is transparent, suppose the mask is a png<br />
// image consist of a closed shape, this will fill the inner of<br />
// the closed shape with the RGB color 0x000000 inorder to make<br />
// the image area below the inner visible.<br />
if(alpha == 0x00)<br />
bitmapData.floodFill(bitmapData.width/2,bitmapData.height/2,0xFF000000);</p>
<p>bitmap = new Bitmap(bitmapData);<br />
return bitmap;<br />
}</p>
<p>private function startDragging():void<br />
{<br />
oldMouseX = maskImage.mouseX;<br />
oldMouseY = maskImage.mouseY;<br />
maskImage.addEventListener(Event.ENTER_FRAME,doDrag);<br />
}</p>
<p>private function endDragging():void<br />
{<br />
maskImage.removeEventListener(Event.ENTER_FRAME,doDrag);<br />
}</p>
<p>private var oldMouseX:Number = 0;<br />
private var oldMouseY:Number = 0;</p>
<p>private function doDrag(event:Event):void<br />
{<br />
var offsetX:Number = maskImage.mouseX - oldMouseX;<br />
var offsetY:Number = maskImage.mouseY - oldMouseY;<br />
maskImage.x += offsetX;<br />
maskImage.y += offsetY;<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;mx:XML id=&#8221;masksDataSource&#8221;<br />
source=&#8221;assets/masks.xml&#8221;/&gt;</p>
<p>&lt;mx:List id=&#8221;maskList&#8221;<br />
dataProvider=&#8221;{masksDataSource.mask}&#8221;<br />
height=&#8221;100%&#8221;&gt;<br />
&lt;mx:itemRenderer&gt;<br />
&lt;mx:Component&gt;<br />
&lt;mx:Image<br />
source=&#8221;{data.@path}&#8221;<br />
height=&#8221;80&#8243;/&gt;<br />
&lt;/mx:Component&gt;<br />
&lt;/mx:itemRenderer&gt;<br />
&lt;/mx:List&gt;</p>
<p>&lt;mx:Canvas<br />
width=&#8221;100%&#8221;<br />
height=&#8221;100%&#8221;&gt;<br />
&lt;mx:Image id=&#8221;picture&#8221;<br />
source=&#8221;assets/IMG_0268.JPG&#8221; width=&#8221;80%&#8221; height=&#8221;80%&#8221; maintainAspectRatio=&#8221;false&#8221;<br />
mask=&#8221;{maskImage}&#8221;<br />
cacheAsBitmap=&#8221;true&#8221;<br />
creationComplete=&#8221;initMask()&#8221;<br />
/&gt;</p>
<p>&lt;mx:Image id=&#8221;maskImage&#8221;<br />
source=&#8221;{getMaskImage(maskList.selectedItem)}&#8221;<br />
cacheAsBitmap=&#8221;true&#8221;<br />
buttonMode=&#8221;true&#8221;<br />
mouseChildren=&#8221;false&#8221;<br />
mouseDown=&#8221;startDragging();&#8221;<br />
mouseUp=&#8221;endDragging();&#8221;/&gt;<br />
&lt;/mx:Canvas&gt;<br />
&lt;/mx:Application&gt;</p>
<p>mask.xml</p>
<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;masks&gt;<br />
&lt;mask path=&#8221;assets/masks/mask1.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask2.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask3.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask4.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask5.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask6.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask7.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask8.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask9.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask10.png&#8221;/&gt;<br />
&lt;mask path=&#8221;assets/masks/mask11.png&#8221;/&gt;<br />
&lt;/masks&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=60&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/15/mask-image-album/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting style for VScrollBar</title>
		<link>http://ganeshflex.wordpress.com/2009/06/15/setting-style-for-vscrollbar/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/15/setting-style-for-vscrollbar/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:04:28 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=56</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; fontFamily=&#8221;Arial&#8221;&#62; &#60;mx:Style&#62; TextInput { background-color: #00cc99; background-alpha:49; border-color:#990099; border-cap-color:#3300cc; highlight-color:#330000; theme-color:#cc0000; color:#000000; } ComboBox { corner-radius:8; fill-colors: #cc9900, #ccffff; background-color:#ff99ff; selection-color:#ff0099; roll-over-color:#ffccff; border-color:#000000; text-selected-color:#6600cc; } CheckBox { border-color: #660000; theme-color: #0000cc; fill-colors: #ffcc99, #ff99ff; } HSlider { tick-length: 13; tick-thickness: 5; tick-color: #660066; track-colors: #ff00cc, #ff99ff; border-color: #660000; fill-colors: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=56&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; fontFamily=&#8221;Arial&#8221;&gt;<br />
&lt;mx:Style&gt;<br />
TextInput {<br />
background-color: #00cc99;<br />
background-alpha:49;<br />
border-color:#990099;<br />
border-cap-color:#3300cc;<br />
highlight-color:#330000;<br />
theme-color:#cc0000;<br />
color:#000000;<br />
}</p>
<p>ComboBox {<br />
corner-radius:8;<br />
fill-colors: #cc9900, #ccffff;<br />
background-color:#ff99ff;<br />
selection-color:#ff0099;<br />
roll-over-color:#ffccff;<br />
border-color:#000000;<br />
text-selected-color:#6600cc;<br />
}</p>
<p>CheckBox {<br />
border-color: #660000;<br />
theme-color: #0000cc;<br />
fill-colors: #ffcc99, #ff99ff;<br />
}</p>
<p>HSlider {<br />
tick-length: 13;<br />
tick-thickness: 5;<br />
tick-color: #660066;<br />
track-colors: #ff00cc, #ff99ff;<br />
border-color: #660000;<br />
fill-colors: #3333ff, #33ccff;<br />
theme-color: #ff33ff;<br />
}</p>
<p>ScrollBar {<br />
track-colors: #0000ff, #ff0000;<br />
fill-colors: #cc00ff, #33ccff;<br />
border-color: #00cc33;<br />
theme-color: #cc0099;<br />
corner-radius: 3;<br />
}<br />
Application {<br />
background-color:#990066;<br />
color: #000000;<br />
theme-color: #b7f39b;<br />
}<br />
&lt;/mx:Style&gt;<br />
&lt;mx:VScrollBar x=&#8221;129&#8243; y=&#8221;65&#8243;<br />
height=&#8221;187&#8243;<br />
minScrollPosition=&#8221;0&#8243;<br />
maxScrollPosition=&#8221;{this.width &#8211; 20}&#8221;<br />
lineScrollSize=&#8221;10&#8243;<br />
pageScrollSize=&#8221;100&#8243;<br />
repeatDelay=&#8221;100&#8243;<br />
repeatInterval=&#8221;100&#8243; /&gt;<br />
&lt;/mx:Application&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=56&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/15/setting-style-for-vscrollbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>HorizontalList image gallery</title>
		<link>http://ganeshflex.wordpress.com/2009/06/15/horizontallist-image-gallery/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/15/horizontallist-image-gallery/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:02:46 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=54</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; creationComplete=&#8221;slide()&#8221;  horizontalScrollPolicy=&#8221;off&#8221; verticalScrollPolicy=&#8221;off&#8221;&#62; &#60;mx:Grid width=&#8221;100%&#8221; height=&#8221;100%&#8221; verticalGap=&#8221;0&#8243; horizontalGap=&#8221;0&#8243;&#62; &#60;mx:GridRow width=&#8221;100%&#8221; height=&#8221;50&#8243;&#62; &#60;mx:GridItem width=&#8221;100%&#8221; height=&#8221;100%&#8221; colSpan=&#8221;3&#8243; verticalAlign=&#8221;middle&#8221;&#62; &#60;mx:Label  id=&#8221;lblheader&#8221; width=&#8221;100%&#8221; textAlign=&#8221;center&#8221; fontWeight=&#8221;bold&#8221; fontSize=&#8221;15&#8243;/&#62; &#60;/mx:GridItem&#62; &#60;/mx:GridRow&#62; &#60;mx:GridRow width=&#8221;100%&#8221; height=&#8221;70%&#8221;&#62; &#60;mx:GridItem width=&#8221;100%&#8221; height=&#8221;100%&#8221; colSpan=&#8221;3&#8243; horizontalAlign=&#8221;center&#8221; verticalAlign=&#8221;middle&#8221;&#62; &#60;!&#8211;&#60;mx:Canvas width=&#8221;100%&#8221; height=&#8221;100%&#8221;&#62;&#8211;&#62; &#60;mx:Image  width=&#8221;100%&#8221; height=&#8221;50%&#8221; useHandCursor=&#8221;true&#8221; buttonMode=&#8221;true&#8221; horizontalAlign=&#8221;center&#8221; hideEffect=&#8221;Fade&#8221; showEffect=&#8221;Fade&#8221; verticalAlign=&#8221;middle&#8221; id=&#8221;bigimage&#8221; click=&#8221;imageclick()&#8221; y=&#8221;10&#8243;/&#62; &#60;!&#8211;&#60;/mx:Canvas&#62;&#8211;&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=54&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;absolute&#8221; creationComplete=&#8221;slide()&#8221;  horizontalScrollPolicy=&#8221;off&#8221; verticalScrollPolicy=&#8221;off&#8221;&gt;<br />
&lt;mx:Grid width=&#8221;100%&#8221; height=&#8221;100%&#8221; verticalGap=&#8221;0&#8243; horizontalGap=&#8221;0&#8243;&gt;<br />
&lt;mx:GridRow width=&#8221;100%&#8221; height=&#8221;50&#8243;&gt;<br />
&lt;mx:GridItem width=&#8221;100%&#8221; height=&#8221;100%&#8221; colSpan=&#8221;3&#8243; verticalAlign=&#8221;middle&#8221;&gt;<br />
&lt;mx:Label  id=&#8221;lblheader&#8221; width=&#8221;100%&#8221; textAlign=&#8221;center&#8221; fontWeight=&#8221;bold&#8221; fontSize=&#8221;15&#8243;/&gt;<br />
&lt;/mx:GridItem&gt;<br />
&lt;/mx:GridRow&gt;<br />
&lt;mx:GridRow width=&#8221;100%&#8221; height=&#8221;70%&#8221;&gt;<br />
&lt;mx:GridItem width=&#8221;100%&#8221; height=&#8221;100%&#8221; colSpan=&#8221;3&#8243; horizontalAlign=&#8221;center&#8221; verticalAlign=&#8221;middle&#8221;&gt;<br />
&lt;!&#8211;&lt;mx:Canvas width=&#8221;100%&#8221; height=&#8221;100%&#8221;&gt;&#8211;&gt;<br />
&lt;mx:Image  width=&#8221;100%&#8221; height=&#8221;50%&#8221; useHandCursor=&#8221;true&#8221; buttonMode=&#8221;true&#8221; horizontalAlign=&#8221;center&#8221; hideEffect=&#8221;Fade&#8221; showEffect=&#8221;Fade&#8221; verticalAlign=&#8221;middle&#8221; id=&#8221;bigimage&#8221; click=&#8221;imageclick()&#8221; y=&#8221;10&#8243;/&gt;<br />
&lt;!&#8211;&lt;/mx:Canvas&gt;&#8211;&gt;<br />
&lt;/mx:GridItem&gt;<br />
&lt;/mx:GridRow&gt;<br />
&lt;mx:GridRow width=&#8221;100%&#8221; height=&#8221;100&#8243;&gt;<br />
&lt;mx:GridItem width=&#8221;100%&#8221;  height=&#8221;100%&#8221;   horizontalAlign=&#8221;right&#8221; verticalAlign=&#8221;middle&#8221; horizontalScrollPolicy=&#8221;off&#8221; verticalScrollPolicy=&#8221;off&#8221;&gt;<br />
&lt;mx:Image id=&#8221;previmage&#8221; width=&#8221;100%&#8221; horizontalAlign=&#8221;center&#8221;  source=&#8221;../assets/Arrow-Right.png&#8221; buttonMode=&#8221;true&#8221; click=&#8221;prevclick()&#8221;/&gt;<br />
&lt;/mx:GridItem&gt;</p>
<p>&lt;mx:GridItem width=&#8221;100%&#8221; height=&#8221;100%&#8221; verticalAlign=&#8221;middle&#8221;&gt;<br />
&lt;mx:HorizontalList id=&#8221;horlist&#8221; width=&#8221;800&#8243; height=&#8221;100&#8243; columnWidth=&#8221;100&#8243; rowHeight=&#8221;100&#8243;<br />
dataProvider=&#8221;{arr}&#8221; itemRenderer=&#8221;list&#8221;  useHandCursor=&#8221;true&#8221;  buttonMode=&#8221;true&#8221; horizontalScrollPolicy=&#8221;off&#8221; itemClick=&#8221;itemclick(event)&#8221;/&gt;<br />
&lt;/mx:GridItem&gt;<br />
&lt;mx:GridItem width=&#8221;100%&#8221; height=&#8221;100%&#8221; horizontalAlign=&#8221;right&#8221; verticalAlign=&#8221;middle&#8221; verticalScrollPolicy=&#8221;off&#8221; horizontalScrollPolicy=&#8221;off&#8221;&gt;<br />
&lt;mx:Image id=&#8221;nextimage&#8221; width=&#8221;100%&#8221; horizontalAlign=&#8221;center&#8221;  source=&#8221;../assets/Arrow-Left.png&#8221; buttonMode=&#8221;true&#8221; click=&#8221;nextclick()&#8221;/&gt;<br />
&lt;/mx:GridItem&gt;<br />
&lt;/mx:GridRow&gt;<br />
&lt;mx:GridRow width=&#8221;100%&#8221; height=&#8221;20&#8243;&gt;<br />
&lt;mx:GridItem width=&#8221;100%&#8221; colSpan=&#8221;3&#8243; verticalAlign=&#8221;middle&#8221; &gt;<br />
&lt;mx:Label id=&#8221;lblfooter&#8221; width=&#8221;100%&#8221; textAlign=&#8221;center&#8221; fontWeight=&#8221;bold&#8221;/&gt;<br />
&lt;/mx:GridItem&gt;<br />
&lt;/mx:GridRow&gt;<br />
&lt;/mx:Grid&gt;<br />
&lt;mx:Array id=&#8221;arr&#8221;&gt;<br />
&lt;mx:Object  lbl=&#8221;lilly&#8221; src=&#8221;../assets/imag1.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;rose1&#8243; src=&#8221;../assets/imag2.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;rose2&#8243; src=&#8221;../assets/imag3.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;rose3&#8243; src=&#8221;../assets/imag4.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;rose4&#8243; src=&#8221;../assets/imag5.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;rose5&#8243; src=&#8221;../assets/imag6.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;rose6&#8243; src=&#8221;../assets/imag7.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;rose7&#8243; src=&#8221;../assets/imag8.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;nature1&#8243; src=&#8221;../assets/0411062007431leaf___bubbles_pb060311.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;baby&#8221; src=&#8221;../assets/0411060533591mackenziefall1.jpg&#8221;/&gt;<br />
&lt;mx:Object  lbl=&#8221;nature2&#8243; src=&#8221;../assets/0411051920421blue_ridge_beauty.jpg&#8221;/&gt;<br />
&lt;/mx:Array&gt;<br />
&lt;mx:Dissolve id=&#8221;show&#8221; duration=&#8221;3000&#8243;/&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[<br />
import mx.events.ListEvent;<br />
public function slide():void<br />
{<br />
if(arr.length &gt; 0)<br />
{<br />
lblheader.text = "WELCOME";<br />
lblfooter.text = "By faisal";<br />
//loadimage(0);<br />
//horlist.selectedIndex=0;<br />
}<br />
checkScroll();<br />
}<br />
public function nextclick():void<br />
{<br />
var pos:int=horlist.horizontalScrollPosition + 1;<br />
if(pos &lt;= horlist.maxHorizontalScrollPosition)<br />
horlist.horizontalScrollPosition = pos;<br />
checkScroll();<br />
}<br />
public function prevclick():void<br />
{<br />
var pos:int=horlist.horizontalScrollPosition - 1;<br />
if(pos &gt;= 0)<br />
horlist.horizontalScrollPosition = pos;<br />
checkScroll();<br />
}<br />
private function checkScroll():void<br />
{<br />
if (horlist.horizontalScrollPosition == 0)<br />
{<br />
previmage.visible = false;<br />
}<br />
else<br />
{<br />
previmage.visible = true;<br />
}</p>
<p>if (horlist.horizontalScrollPosition == horlist.maxHorizontalScrollPosition)<br />
{<br />
nextimage.visible = false;<br />
}<br />
else<br />
{<br />
nextimage.visible = true;<br />
}<br />
}<br />
public function itemclick(event:ListEvent):void<br />
{<br />
bigimage.source = event.itemRenderer.data.src;<br />
lblheader.text = event.itemRenderer.data.lbl;</p>
<p>}<br />
/* public function loadimage(imgno:int):void<br />
{<br />
bigimage.source=arr[imgno].src;<br />
lblheader.text=arr[imgno].lbl;<br />
} */<br />
public function imageclick():void<br />
{</p>
<p>if(horlist.selectedIndex &lt; arr.length)<br />
{<br />
horlist.selectedIndex +=1;<br />
horlist.scrollToIndex(horlist.selectedIndex);<br />
//loadimage(horlist.selectedIndex);<br />
checkScroll();</p>
<p>}<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;<br />
&lt;/mx:Application&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=54&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/15/horizontallist-image-gallery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
		<item>
		<title>Add many videos in datagrid</title>
		<link>http://ganeshflex.wordpress.com/2009/06/15/add-many-videos-in-datagrid/</link>
		<comments>http://ganeshflex.wordpress.com/2009/06/15/add-many-videos-in-datagrid/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 10:19:45 +0000</pubDate>
		<dc:creator>ganeshflex</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshflex.wordpress.com/?p=51</guid>
		<description><![CDATA[&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62; &#60;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221; layout=&#8221;vertical&#8221; creationComplete=&#8221;init()&#8221;&#62; &#60;mx:Script&#62; &#60;![CDATA[ private var dataList:XMLList = &#60;&#62; &#60;Item id="1"&#62; &#60;File&#62;phone.flv&#60;/File&#62; &#60;Detail&#62;Lorem Ipsum text1&#60;/ Detail&#62; &#60;/Item&#62; &#60;Item id="2"&#62; &#60;File&#62;Sample2.FLV&#60;/File&#62; &#60;Detail&#62;Lorem Ipsum text2&#60;/ Detail&#62; &#60;/Item&#62; &#60;Item id="3"&#62; &#60;File&#62;Sample3.FLV&#60;/File&#62; &#60;Detail&#62;Lorem Ipsum text3&#60;/ Detail&#62; &#60;/Item&#62; &#60;/&#62;; private function init():void { dgSample.dataProvider = dataList; } ]]&#62; &#60;/mx:Script&#62; &#60;mx:Fade id=&#8221;fadeIn&#8221; alphaFrom=&#8221;0.0&#8243; alphaTo=&#8221;1.0&#8243; /&#62; &#60;mx:Fade [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=51&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
&lt;mx:Application xmlns:mx=&#8221;http://www.adobe.com/2006/mxml&#8221;<br />
layout=&#8221;vertical&#8221; creationComplete=&#8221;init()&#8221;&gt;</p>
<p>&lt;mx:Script&gt;<br />
&lt;![CDATA[</p>
<p>private var dataList:XMLList =<br />
&lt;&gt;<br />
&lt;Item id="1"&gt;<br />
&lt;File&gt;phone.flv&lt;/File&gt;<br />
&lt;Detail&gt;Lorem Ipsum text1&lt;/<br />
Detail&gt;<br />
&lt;/Item&gt;<br />
&lt;Item id="2"&gt;<br />
&lt;File&gt;Sample2.FLV&lt;/File&gt;<br />
&lt;Detail&gt;Lorem Ipsum text2&lt;/<br />
Detail&gt;<br />
&lt;/Item&gt;</p>
<p>&lt;Item id="3"&gt;<br />
&lt;File&gt;Sample3.FLV&lt;/File&gt;<br />
&lt;Detail&gt;Lorem Ipsum text3&lt;/<br />
Detail&gt;<br />
&lt;/Item&gt;<br />
&lt;/&gt;;</p>
<p>private function init():void<br />
{<br />
dgSample.dataProvider = dataList;<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;mx:Fade id=&#8221;fadeIn&#8221; alphaFrom=&#8221;0.0&#8243; alphaTo=&#8221;1.0&#8243; /&gt;<br />
&lt;mx:Fade id=&#8221;fadeOut&#8221; alphaFrom=&#8221;1.0&#8243; alphaTo=&#8221;0.0&#8243; /&gt;</p>
<p>&lt;mx:DataGrid id=&#8221;dgSample&#8221; rowHeight=&#8221;200&#8243;&gt;<br />
&lt;mx:columns&gt;<br />
&lt;mx:DataGridColumn id=&#8221;dgColumnArchiveSession&#8221; headerText=&#8221;Videos&#8221;<br />
width=&#8221;250&#8243;&gt;<br />
&lt;mx:itemRenderer&gt;<br />
&lt;mx:Component&gt;<br />
&lt;mx:Canvas width=&#8221;100%&#8221; height=&#8221;100%&#8221;  rollOver=&#8221;showControls()&#8221;<br />
rollOut=&#8221;hideControls()&#8221;&gt;<br />
&lt;mx:Script&gt;<br />
&lt;![CDATA[</p>
<p>private function showControls():void<br />
{<br />
outerDocument.fadeIn.play([controls]);<br />
}</p>
<p>private function hideControls():void<br />
{<br />
outerDocument.fadeOut.play([controls]);<br />
}</p>
<p>private function playPauseButton_click(evt:MouseEvent):void<br />
{<br />
if (vdoDisplay.playing)<br />
{<br />
vdoDisplay.pause();<br />
}<br />
else<br />
{<br />
vdoDisplay.play();<br />
}<br />
}</p>
<p>private function stopButton_click<br />
(evt:MouseEvent):void<br />
{<br />
vdoDisplay.stop();<br />
}<br />
]]&gt;<br />
&lt;/mx:Script&gt;</p>
<p>&lt;mx:VideoDisplay id=&#8221;vdoDisplay&#8221; left=&#8221;0&#8243; right=&#8221;0&#8243; bottom=&#8221;0&#8243;<br />
top=&#8221;0&#8243; source=&#8221;{data.File}&#8221;  /&gt;</p>
<p>&lt;mx:HBox id=&#8221;controls&#8221; styleName=&#8221;controllerStyle&#8221; alpha=&#8221;0.0&#8243;<br />
bottom=&#8221;0&#8243; left=&#8221;0&#8243; right=&#8221;0&#8243;&gt;<br />
&lt;mx:Button id=&#8221;playPauseButton&#8221;<br />
styleName=&#8221;playPauseStyle&#8221; toggle=&#8221;true&#8221;<br />
selected=&#8221;{vdoDisplay.playing}&#8221; click=&#8221;playPauseButton_click(event)&#8221; /&gt;<br />
&lt;mx:Button id=&#8221;stopButton&#8221; styleName=&#8221;stopStyle&#8221;<br />
click=&#8221;stopButton_click(event)&#8221; /&gt;</p>
<p>&lt;mx:HBox width=&#8221;100%&#8221; paddingTop=&#8221;3&#8243;&gt;<br />
&lt;mx:ProgressBar width=&#8221;100%&#8221; id=&#8221;progressBar&#8221;<br />
label=&#8221;" height=&#8221;10&#8243; labelPlacement=&#8221;center&#8221; mode=&#8221;manual&#8221; /&gt;<br />
&lt;/mx:HBox&gt;<br />
&lt;/mx:HBox&gt;<br />
&lt;/mx:Canvas&gt;<br />
&lt;/mx:Component&gt;<br />
&lt;/mx:itemRenderer&gt;<br />
&lt;/mx:DataGridColumn&gt;</p>
<p>&lt;mx:DataGridColumn headerText=&#8221;Details&#8221; width=&#8221;300&#8243;<br />
dataField=&#8221;Detail&#8221;  /&gt;<br />
&lt;/mx:columns&gt;<br />
&lt;/mx:DataGrid&gt;</p>
<p>&lt;/mx:Application&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ganeshflex.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ganeshflex.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ganeshflex.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ganeshflex.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ganeshflex.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ganeshflex.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ganeshflex.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ganeshflex.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ganeshflex.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ganeshflex.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ganeshflex.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ganeshflex.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ganeshflex.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ganeshflex.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ganeshflex.wordpress.com&amp;blog=7812191&amp;post=51&amp;subd=ganeshflex&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ganeshflex.wordpress.com/2009/06/15/add-many-videos-in-datagrid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/271489ab5178acd3a76a92f44e2fe831?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ganeshflex</media:title>
		</media:content>
	</item>
	</channel>
</rss>
