<?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>My Pool &#187; Flash window</title>
	<atom:link href="http://www.hlouis.com/category/develop/flash-window/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hlouis.com</link>
	<description>Help, I can&#039;t swimming......</description>
	<lastBuildDate>Tue, 04 May 2010 15:27:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex SecurityError 2148</title>
		<link>http://www.hlouis.com/develop/flash-window/flex-securityerror-2148/</link>
		<comments>http://www.hlouis.com/develop/flash-window/flex-securityerror-2148/#comments</comments>
		<pubDate>Sat, 08 Dec 2007 12:12:42 +0000</pubDate>
		<dc:creator>Louis</dc:creator>
				<category><![CDATA[Flash window]]></category>

		<guid isPermaLink="false">http://www.hlouis.com/develop/flash-window/flex-securityerror-2148/</guid>
		<description><![CDATA[Flex SecurityError: Error #2148 While Accessing local XML
So you’ve published your Flex application that accesses local XML, but when you try to run it outside of your Flex Builder folder, you might get a Flash Player Debugger error #2148. I ran into this problem while on a tight deadline, and am reposting here to get [...]]]></description>
			<content:encoded><![CDATA[<h2><a href="http://blog.mandalatv.net/?p=334" rel="bookmark" title="Permanent Link: Flex SecurityError: Error #2148 While Accessing local XML">Flex SecurityError: Error #2148 While Accessing local XML</a></h2>
<p>So you’ve published your Flex application that accesses local XML, but when you try to run it outside of your Flex Builder folder, you might get a Flash Player Debugger error #2148. I ran into this problem while on a tight deadline, and am reposting here to get the word out.</p>
<p>To fix this, you need:</p>
<ol>
<li>to right/control click your Flex Project folder in the Navigator</li>
<li>Select properties</li>
<li>Choose Flex Compiler in the popup window</li>
<li>Add “-use-network=false” under Additional compiler arguments</li>
</ol>
<p><img src="http://blog.mandalatv.net/wp-content/uploads/2007/06/flexproperties.jpg" alt="flexproperties.jpg" id="image333" /></p>
<p>Hopefully, this’ll save someone some time…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hlouis.com/develop/flash-window/flex-securityerror-2148/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Transparent flash with WTL &#8211; Introduction</title>
		<link>http://www.hlouis.com/develop/flash-window/transparent-flash-with-wtl-introduction/</link>
		<comments>http://www.hlouis.com/develop/flash-window/transparent-flash-with-wtl-introduction/#comments</comments>
		<pubDate>Wed, 26 Jul 2006 09:28:35 +0000</pubDate>
		<dc:creator>Louis</dc:creator>
				<category><![CDATA[Flash window]]></category>

		<guid isPermaLink="false">http://www.guidemarvin.com/mypool/index.php/flash-window/transparent-flash-with-wtl-introduction/</guid>
		<description><![CDATA[How to build a transparent flash window on the desktop in WTL?
I have met a problem about the GUI, my recently project need a very agility user interface, so I decided user flash as the user interface, so there is the problem, how to draw flash on the desktop without background and keep every flash [...]]]></description>
			<content:encoded><![CDATA[<p><strong>How to build a transparent flash window on the desktop in WTL?</strong></p>
<p>I have met a problem about the GUI, my recently project need a very agility user interface, so I decided user flash as the user interface, so there is the problem, how to draw flash on the desktop without background and keep every flash feature?</p>
<p><strong>Resolve plane</strong></p>
<p>The first step to resolve this problem is how to get every frame image from flash. User flash ActiveX control seems like the only way to attach flash with our program. So I prepare to create a ActiveX flash control and use com QueryInterface method to get it&#8217;s IViewObject interface and use IViewObject.draw method to draw the flash image to a memory DC.</p>
<p>The second step is how to clear the background and draw it directly on the desktop. The original way is get the flash image and calculate the Region of the real image by key color (for example the color #ff00ff is the background color, so if this pixel is the key color it doesn&#8217;t belong the region), after this use SetRegion api to set the windows region. In this way you have to calculate the region every frame, and you can&#8217;t display any alpha effect, so I choose the layered window method, but it&#8217;s not compatible with win98/me.</p>
<p><!-- more --></p>
<p>Below title will be continued in other text(coming soon, I promised)</p>
<p><strong>1 Load flash Active control</strong></p>
<p><strong>2 Get flash image</strong></p>
<p><strong>3 Use layered window</strong></p>
<p><strong>4 Call container function through FSCommand from flash</strong></p>
<p><strong>5 Call flash function through external API from native code</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hlouis.com/develop/flash-window/transparent-flash-with-wtl-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash window effect preview</title>
		<link>http://www.hlouis.com/develop/flash-window/flash-window-effect-preview/</link>
		<comments>http://www.hlouis.com/develop/flash-window/flash-window-effect-preview/#comments</comments>
		<pubDate>Mon, 24 Jul 2006 10:03:13 +0000</pubDate>
		<dc:creator>Louis</dc:creator>
				<category><![CDATA[Flash window]]></category>

		<guid isPermaLink="false">http://www.guidemarvin.com/mypool/index.php/projects/flash-window/flash-window-effect-preview/</guid>
		<description><![CDATA[Only a picture to show the final effect:

The user just create a window with a flash file (swf file) as the parameter, then the window will load the flash and draw it on the desktop. No background no border and keep the alpha channel in the flash.
]]></description>
			<content:encoded><![CDATA[<p>Only a picture to show the final effect:</p>
<p><a href="http://www.guidemarvin.com/upload/images/Flashwindoweffectpreview_FC83/196723356_8f543e69fd_o2.png"><img border="0" src="http://www.guidemarvin.com/upload/images/Flashwindoweffectpreview_FC83/196723356_8f543e69fd_o2.png" /></a></p>
<p>The user just create a window with a flash file (swf file) as the parameter, then the window will load the flash and draw it on the desktop. No background no border and keep the alpha channel in the flash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hlouis.com/develop/flash-window/flash-window-effect-preview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
