<?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>FlashImp &#187; Flex</title>
	<atom:link href="http://flashimp.ru/tag/flex/feed" rel="self" type="application/rss+xml" />
	<link>http://flashimp.ru</link>
	<description>Flash Implosion new generation</description>
	<lastBuildDate>Fri, 30 Dec 2011 10:55:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Flex 4.6 Released</title>
		<link>http://flashimp.ru/134</link>
		<comments>http://flashimp.ru/134#comments</comments>
		<pubDate>Wed, 30 Nov 2011 12:15:22 +0000</pubDate>
		<dc:creator>Александр Козловский</dc:creator>
				<category><![CDATA[Новости]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flashimp.ru/?p=134</guid>
		<description><![CDATA[Вчера был выпущен в паблик Flex 4.6.0 (Release).]]></description>
			<content:encoded><![CDATA[<p>Вчера был выпущен в паблик <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4.6">Flex 4.6.0 (Release)</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://flashimp.ru/134/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UINativeWindow</title>
		<link>http://flashimp.ru/101</link>
		<comments>http://flashimp.ru/101#comments</comments>
		<pubDate>Wed, 28 Apr 2010 10:26:21 +0000</pubDate>
		<dc:creator>FIZZER</dc:creator>
				<category><![CDATA[Накодил]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[native]]></category>

		<guid isPermaLink="false">http://flashimp.ru/?p=101</guid>
		<description><![CDATA[package ru.kozlovskij.air &#123; import flash.display.DisplayObject; import flash.display.DisplayObjectContainer; import flash.display.NativeWindow; import flash.display.NativeWindowInitOptions; import flash.events.Event; &#160; import mx.core.IUIComponent; import mx.events.FlexEvent; import mx.managers.WindowedSystemManager; &#160; /** * Composition of &#60;code&#62;NativeWindow&#60;/code&#62; and &#60;code&#62;IUIComponent&#60;/code&#62;. * * @author Aleksandr.Kozlovskiy */ public class UINativeWindow extends NativeWindow &#123; protected var systemManager:WindowedSystemManager; protected var childDisplayObject:IUIComponent; protected var rootDisplayObject:IUIComponent; &#160; /** * After initialization &#60;code&#62;childDisplayObject&#60;/code&#62; added [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span> ru.kozlovskij.air
<span style="color: #000000;">&#123;</span>
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">DisplayObject</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.<span style="color: #004993;">DisplayObjectContainer</span>;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.NativeWindow;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span>.NativeWindowInitOptions;
	<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span>.<span style="color: #004993;">Event</span>;
&nbsp;
	<span style="color: #0033ff; font-weight: bold;">import</span> mx.core.IUIComponent;
	<span style="color: #0033ff; font-weight: bold;">import</span> mx.events.FlexEvent;
	<span style="color: #0033ff; font-weight: bold;">import</span> mx.managers.WindowedSystemManager;
&nbsp;
	<span style="color: #3f5fbf;">/**
	 * Composition of &lt;code&gt;NativeWindow&lt;/code&gt; and &lt;code&gt;IUIComponent&lt;/code&gt;.
	 * 
	 * @author Aleksandr.Kozlovskiy
	 */</span>	
	<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> UINativeWindow extends NativeWindow
	<span style="color: #000000;">&#123;</span>
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #6699cc; font-weight: bold;">var</span> systemManager<span style="color: #000000; font-weight: bold;">:</span>WindowedSystemManager;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #6699cc; font-weight: bold;">var</span> childDisplayObject<span style="color: #000000; font-weight: bold;">:</span>IUIComponent;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #6699cc; font-weight: bold;">var</span> rootDisplayObject<span style="color: #000000; font-weight: bold;">:</span>IUIComponent;
&nbsp;
		<span style="color: #3f5fbf;">/**
		 * After initialization &lt;code&gt;childDisplayObject&lt;/code&gt; added to &lt;code&gt;systemManager&lt;/code&gt;'s displaylist.
		 * 
		 * 
		 * @param initOptions:NativeWindowInitOptions - Analogically NativeWindow initOptions.
		 * @param rootDisplayObject:IUIComponent - Root Application or other IUIComponent implementation. Mast extends DisplayObject.
		 * @param childDisplayObject:IUIComponent - Container. Child Application or other IUIComponent implementation. Mast extends DisplayObject.
		 * 
		 */</span>		
		<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> UINativeWindow<span style="color: #000000;">&#40;</span>initOptions<span style="color: #000000; font-weight: bold;">:</span>NativeWindowInitOptions,
									   rootDisplayObject<span style="color: #000000; font-weight: bold;">:</span>IUIComponent,
									   childDisplayObject<span style="color: #000000; font-weight: bold;">:</span>IUIComponent<span style="color: #000000;">&#41;</span>
		<span style="color: #000000;">&#123;</span>
			<span style="color: #0033ff; font-weight: bold;">super</span><span style="color: #000000;">&#40;</span>initOptions<span style="color: #000000;">&#41;</span>;
			<span style="color: #0033ff; font-weight: bold;">this</span>.rootDisplayObject = rootDisplayObject;
			<span style="color: #0033ff; font-weight: bold;">this</span>.childDisplayObject = childDisplayObject;
&nbsp;
			addChildren<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
			<span style="color: #004993;">stage</span>.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span>.<span style="color: #004993;">RESIZE</span>, stageResizeHandler<span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> addChildren<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			childDisplayObject.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>FlexEvent.CREATION_COMPLETE, childCreationCompleteHandler, <span style="color: #0033ff; font-weight: bold;">false</span>, <span style="color: #000000; font-weight:bold;">0</span>, <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span>;
			<span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span>.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>systemManager = <span style="color: #0033ff; font-weight: bold;">new</span> WindowedSystemManager<span style="color: #000000;">&#40;</span>rootDisplayObject<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #0033ff; font-weight: bold;">as</span> <span style="color: #004993;">DisplayObjectContainer</span><span style="color: #000000;">&#41;</span>
				.<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>childDisplayObject <span style="color: #0033ff; font-weight: bold;">as</span> <span style="color: #004993;">DisplayObject</span><span style="color: #000000;">&#41;</span>;
&nbsp;
			stageResizeHandler<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> childCreationCompleteHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000000; font-weight: bold;">:</span>FlexEvent<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			childDisplayObject.<span style="color: #004993;">removeEventListener</span><span style="color: #000000;">&#40;</span>FlexEvent.CREATION_COMPLETE, childCreationCompleteHandler<span style="color: #000000;">&#41;</span>;
			stageResizeHandler<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
		<span style="color: #000000;">&#125;</span>
&nbsp;
&nbsp;
		<span style="color: #009900;">// ------------------ resize ----------------------- //</span>
&nbsp;
		<span style="color: #0033ff; font-weight: bold;">protected</span> <span style="color: #339966; font-weight: bold;">function</span> stageResizeHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Event</span> = <span style="color: #0033ff; font-weight: bold;">null</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
		<span style="color: #000000;">&#123;</span>
			childDisplayObject.<span style="color: #004993;">width</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageWidth</span>;
			childDisplayObject.<span style="color: #004993;">height</span> = <span style="color: #004993;">stage</span>.<span style="color: #004993;">stageHeight</span>;
		<span style="color: #000000;">&#125;</span>
	<span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://flashimp.ru/101/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Book: &#8220;Hello! Flex 4&#8243;</title>
		<link>http://flashimp.ru/90</link>
		<comments>http://flashimp.ru/90#comments</comments>
		<pubDate>Thu, 24 Dec 2009 18:15:55 +0000</pubDate>
		<dc:creator>Александр Козловский</dc:creator>
				<category><![CDATA[Новости]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex4]]></category>

		<guid isPermaLink="false">http://flashimp.ru/?p=90</guid>
		<description><![CDATA[На заграничных прилавках появилась первая книжка про Flex 4: "Hello! Flex 4". Автор: Peter Armstrong. PDF ebook стоит $22.50.]]></description>
			<content:encoded><![CDATA[<p>На заграничных прилавках появилась первая книжка про Flex 4: "<a title="Book: Hello! Flex 4" href="http://www.manning.com/armstrong3/" target="_blank">Hello! Flex 4</a>". Автор: <a title="Peter Armstrong 's Blog" href="http://www.peterarmstrong.com/" target="_blank">Peter Armstrong</a>.<br />
PDF ebook стоит $22.50.</p>
]]></content:encoded>
			<wfw:commentRss>http://flashimp.ru/90/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

