<?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>Web Development London UK &#187; flash</title>
	<atom:link href="http://hsmoore.com/blog/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://hsmoore.com</link>
	<description>Web Development London UK</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:10:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Super Easy Email Validation AS2</title>
		<link>http://hsmoore.com/blog/super-easy-email-validation-as2/</link>
		<comments>http://hsmoore.com/blog/super-easy-email-validation-as2/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 09:45:21 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[actionscript 2]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=963</guid>
		<description><![CDATA[I needed a quick and easy way to check for the basics of an email address. Does it contain &#8220;@&#8221; and &#8220;.&#8221; symbols. This is by no meals a foolproof method, so don&#8217;t use it for anything big, but if you want to just do a quick test then here you go: var email:String =...]]></description>
			<content:encoded><![CDATA[<p>I needed a quick and easy way to check for the basics of an email address.</p>
<p>Does it contain &#8220;@&#8221; and &#8220;.&#8221; symbols.</p>
<p>This is by no meals a foolproof method, so don&#8217;t use it for anything big, but if you want to just do a quick test then here you go:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="kw2">var</span> email:<span class="kw3">String</span> = <span class="st0">&quot;name@server.com&quot;</span>;</p>
<p><span class="kw1">if</span> <span class="br0">&#40;</span>email.<span class="kw3">indexOf</span><span class="br0">&#40;</span><span class="st0">&quot;@&quot;</span><span class="br0">&#41;</span><span class="sy0">!</span>=-1 <span class="sy0">&amp;&amp;</span> email.<span class="kw3">indexOf</span><span class="br0">&#40;</span><span class="st0">&quot;.&quot;</span><span class="br0">&#41;</span><span class="sy0">!</span>=-1<span class="br0">&#41;</span> <span class="kw3">trace</span><span class="br0">&#40;</span><span class="st0">&quot;false&quot;</span><span class="br0">&#41;</span>;<br />
<span class="kw1">else</span> <span class="kw3">trace</span> <span class="br0">&#40;</span><span class="st0">&quot;true&quot;</span><span class="br0">&#41;</span>;</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/super-easy-email-validation-as2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Number In ASP for no Flash Caching</title>
		<link>http://hsmoore.com/blog/random-number-in-asp-for-no-flash-caching/</link>
		<comments>http://hsmoore.com/blog/random-number-in-asp-for-no-flash-caching/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 08:12:37 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=864</guid>
		<description><![CDATA[This is an example of how to create a random number in Classic ASP in order to append to a swf file so that the browser does not cache the swf file. &#60;% Dim SwfRndNum Randomize SwfRndNum = Rnd %&#62; You can then add it to your swf embed code as follow, bear in mind...]]></description>
			<content:encoded><![CDATA[<p>This is an example of how to create a random number in Classic ASP in order to append to a swf file so that the browser does not cache the swf file.</p>
<div class="codesnip-container" >
<div class="vb codesnip" style="font-family:monospace;">&lt;%<br />
<span class="kw1">Dim</span> SwfRndNum<br />
Randomize<br />
SwfRndNum = Rnd<br />
%&gt;</div>
</div>
<p>You can then add it to your swf embed code as follow, bear in mind that I am only showing the snippet around the swf file name and not the entire embed code.</p>
<div class="codesnip-container" >
<div class="vb codesnip" style="font-family:monospace;">mySwfFile.swf?a=&lt;% Response.Write SwfRndNum %&gt;</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/random-number-in-asp-for-no-flash-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error 1046: Type was not found or was not a compile-time constant: Event.</title>
		<link>http://hsmoore.com/blog/error-1046-type-was-not-found-or-was-not-a-compile-time-constant-event/</link>
		<comments>http://hsmoore.com/blog/error-1046-type-was-not-found-or-was-not-a-compile-time-constant-event/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:10:48 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[1046]]></category>
		<category><![CDATA[error]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=566</guid>
		<description><![CDATA[Error 1046: Type was not found or was not a compile-time constant: Event. You need to import the Event class! import flash.events.Event]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">Error 1046: Type was not found or was not a compile-time constant: Event.</span></p>
<p>You need to import the Event class!</p>
<p><span style="color: #0000ff;">import flash.events.Event</span></p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/error-1046-type-was-not-found-or-was-not-a-compile-time-constant-event/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a date to a date in Actionscript 2</title>
		<link>http://hsmoore.com/blog/add-a-date-to-a-date-in-actionscript2/</link>
		<comments>http://hsmoore.com/blog/add-a-date-to-a-date-in-actionscript2/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 20:19:42 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[date]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=564</guid>
		<description><![CDATA[I needed to work out a date range according to the date 3weeks away from the current date. After a bit of thinking, I found that it&#8217;s actually quite easy to achieve. var theDate:Date = new Date&#40;&#41;; dateDay = theDate.getDate&#40;&#41;; dateMonth = theDate.getMonth&#40;&#41;; dateYear = theDate.getFullYear&#40;&#41;; var theDate2:Date = new Date&#40;dateYear,dateMonth,dateDay&#41;; theDate2.setDate&#40;theDate2.getDate&#40;&#41; + 21&#41;; dateDay2...]]></description>
			<content:encoded><![CDATA[<p>I needed to work out a date range according to the date 3weeks away from the current date.<br />
After a bit of thinking, I found that it&#8217;s actually quite easy to achieve.</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="kw2">var</span> theDate:<span class="kw3">Date</span> = <span class="kw2">new</span> <span class="kw3">Date</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateDay = theDate.<span class="kw3">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateMonth = theDate.<span class="kw3">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateYear = theDate.<span class="kw3">getFullYear</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</p>
<p><span class="kw2">var</span> theDate2:<span class="kw3">Date</span> = <span class="kw2">new</span> <span class="kw3">Date</span><span class="br0">&#40;</span>dateYear,dateMonth,dateDay<span class="br0">&#41;</span>;<br />
theDate2.<span class="kw3">setDate</span><span class="br0">&#40;</span>theDate2.<span class="kw3">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span> + 21<span class="br0">&#41;</span>;<br />
dateDay2 = theDate2.<span class="kw3">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateMonth2 = theDate2.<span class="kw3">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateYear2 = theDate2.<span class="kw3">getFullYear</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<span class="sy0">&lt;/</span>span<span class="sy0">&gt;</span></div>
</div>
<p>The above code gets the current date and adds 21days/3weeks to it.<br />
Remember that if you use getMonth to output the final month number, you will want to add 1 to it as it starts at 0;<br />
Example:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;">dateMonth2 = theDate2.<span class="kw3">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span>+<span class="nu0">1</span>;</div>
</div>
<p>So you would do it like this:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;">theDate2.<span class="kw3">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span> +<span class="st0">&quot;/&quot;</span>+ <span class="br0">&#40;</span>theDate2.<span class="kw3">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span>+<span class="nu0">1</span><span class="br0">&#41;</span> +<span class="st0">&quot;/&quot;</span>+ theDate2.<span class="kw3">getFullYear</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/add-a-date-to-a-date-in-actionscript2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a month to selectable date range &#8211; Date Chooser &#8211; Actionscript 2</title>
		<link>http://hsmoore.com/blog/add-a-month-to-selectable-date-range-date-chooser-actionscript-2/</link>
		<comments>http://hsmoore.com/blog/add-a-month-to-selectable-date-range-date-chooser-actionscript-2/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 12:40:20 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[datechooser]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=562</guid>
		<description><![CDATA[I have been working on a project where I need to select a date range starting today and ending a month from now, so the user cannot select anything in the past or over a month from now. This is how I did it: There is an instance of DateChooser on the stage with Instance...]]></description>
			<content:encoded><![CDATA[<p>I have been working on a project where I need to select a date range starting today and ending a month from now, so the user cannot select anything in the past or over a month from now.</p>
<p>This is how I did it:</p>
<p>There is an instance of DateChooser on the stage with Instance Name &#8220;calDate&#8221;.</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="kw2">var</span> todayDate:<span class="kw3">Date</span> = <span class="kw2">new</span> <span class="kw3">Date</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateBeginDay = todayDate.<span class="kw3">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateBeginMonth = todayDate.<span class="kw3">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
dateBeginYear = todayDate.<span class="kw3">getFullYear</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</p>
<p><span class="kw1">if</span> <span class="br0">&#40;</span><span class="br0">&#40;</span>todayDate.<span class="kw3">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span>+1<span class="br0">&#41;</span>==12<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; dateEndDay = todayDate.<span class="kw3">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; dateEndMonth = <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; dateEndYear = todayDate.<span class="kw3">getFullYear</span><span class="br0">&#40;</span><span class="br0">&#41;</span>+<span class="nu0">1</span>;<br />
<span class="br0">&#125;</span> <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; dateEndDay = todayDate.<span class="kw3">getDate</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; dateEndMonth = todayDate.<span class="kw3">getMonth</span><span class="br0">&#40;</span><span class="br0">&#41;</span>+<span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; dateEndYear = todayDate.<span class="kw3">getFullYear</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span><br />
calDate.<span class="me1">selectableRange</span> = <span class="br0">&#123;</span>rangeStart: <span class="kw2">new</span> <span class="kw3">Date</span><span class="br0">&#40;</span>dateBeginYear, dateBeginMonth, dateBeginDay<span class="br0">&#41;</span>, rangeEnd: <span class="kw2">new</span> <span class="kw3">Date</span><span class="br0">&#40;</span>dateEndYear, dateEndMonth, dateEndDay<span class="br0">&#41;</span><span class="br0">&#125;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/add-a-month-to-selectable-date-range-date-chooser-actionscript-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embed pound symbol (£) in flash textfield</title>
		<link>http://hsmoore.com/blog/embed-pound-symbol-in-flash-textfield/</link>
		<comments>http://hsmoore.com/blog/embed-pound-symbol-in-flash-textfield/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:55:36 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=522</guid>
		<description><![CDATA[If you use a dynamic textbox in Flash and you want to embed the British Pound symbol (£) then you will want to also embed the &#8220;Latin I&#8221; glyphs with your textfield.]]></description>
			<content:encoded><![CDATA[<p>If you use a dynamic textbox in Flash and you want to embed the British Pound symbol (£) then you will want to also embed the &#8220;Latin I&#8221; glyphs with your textfield.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/embed-pound-symbol-in-flash-textfield/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling event functions from movieclips in actionscript 2</title>
		<link>http://hsmoore.com/blog/calling-event-functions-from-movieclips-in-actionscript-2/</link>
		<comments>http://hsmoore.com/blog/calling-event-functions-from-movieclips-in-actionscript-2/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 17:41:03 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[actionscript2]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[_root]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=422</guid>
		<description><![CDATA[In a flash movie I usually have a frame of actionscript that controls all elements in the file to keep everything in one place. Sometimes I have an onPress(etc) function that refers to something happening in the scene when something is pressed, but what happens if we want another element to refer to that event...]]></description>
			<content:encoded><![CDATA[<p>In a flash movie I usually have a frame of actionscript that controls all elements in the file to keep everything in one place.</p>
<p>Sometimes I have an onPress(etc)  function that refers to something happening in the scene when something is pressed, but what happens if we want another element to refer to that event for some reason?</p>
<p>Here&#8217;s an example of that code without anything &#8220;flashy&#8221;:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="kw3">_root</span>.<span class="me1">myMC</span>.<span class="kw3">onPress</span> = <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//code goes here</span><br />
<span class="br0">&#125;</span></div>
</div>
<p>..and here&#8217;s our slightly more intersting flashy version:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="kw3">_root</span>.<span class="me1">myMC</span>.<span class="kw3">onPress</span> = <span class="kw3">_root</span>.<span class="me1">funcOnPress</span> = <span class="kw2">function</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">//code goes here</span><br />
<span class="br0">&#125;</span></div>
</div>
<p>So now we can call the following from another place in the code to call the same event&#8217;s function:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="co1">//somewhere else in our flash file</span><br />
<span class="kw3">_root</span>.<span class="me1">funcOnPress</span><span class="br0">&#40;</span><span class="br0">&#41;</span></div>
</div>
<p>That&#8217;s about it folks!<br />
Now you can call things from other places.<br />
Just remember to not use &#8220;_root&#8221; if you are including your final swf inside another swf.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/calling-event-functions-from-movieclips-in-actionscript-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Security error: securitySandboxError with Flash</title>
		<link>http://hsmoore.com/blog/security-error-securitysandboxerror-with-flash/</link>
		<comments>http://hsmoore.com/blog/security-error-securitysandboxerror-with-flash/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 13:12:21 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[adobe]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[sandbox]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=414</guid>
		<description><![CDATA[You have a flash uploader and you get this error: security error: securitySandboxError This means that the flash is not trusted by the domain and you have to place an xml file in the root of the domain. The file is called &#8220;crossdomain.xml&#8221; and this is what should be inside it: &#60;?xml version=&#8221;1.0&#8243;?&#62; &#60;cross-domain-policy&#62; &#60;allow-access-from...]]></description>
			<content:encoded><![CDATA[<p>You have a flash uploader and you get this error:</p>
<p><strong><em><span style="color: #ff0000;">security error: securitySandboxError</span></em></strong></p>
<p>This means that the flash is not trusted by the domain and you have to place an xml file in the root of the domain.</p>
<p>The file is called &#8220;<strong><em><span style="color: #ff0000;">crossdomain.xml</span></em></strong>&#8221; and this is what should be inside it:</p>
<p><strong><em><span style="color: #ff0000;">&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;cross-domain-policy&gt;<br />
&lt;allow-access-from domain=&#8221;*&#8221; /&gt;<br />
&lt;/cross-domain-policy&gt;</span></em></strong></p>
<p>Solved! <img src='http://hsmoore.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/security-error-securitysandboxerror-with-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Component Inspector in Flash has ISSUES!</title>
		<link>http://hsmoore.com/blog/component-inspector-in-flash-has-issues/</link>
		<comments>http://hsmoore.com/blog/component-inspector-in-flash-has-issues/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:14:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[adobe]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[component inspector]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=412</guid>
		<description><![CDATA[I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times. Today it happened again and so I write this post.. While in the Flash IDE you select a component on the stage, then you click &#8220;Component Inspector&#8221;. This opens up into...]]></description>
			<content:encoded><![CDATA[<p>I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times.</p>
<p>Today it happened again and so I write this post..</p>
<p><span style="color: #000080;">While in the Flash IDE you select a component on the stage, then you click &#8220;Component Inspector&#8221;.<br />
This opens up into a modal window which is nice and everything BUT&#8230;.</span><br />
<span style="color: #ff0000;">&#8230;..if you then give focus to another program and then try click back into flash, it hides the &#8220;Component Inspector&#8221; modal window but still keeps focus on it, so basically, you can&#8217;t use the program(Flash IDE) / save your file / or even close the program!</span></p>
<p>You will then have to use the Task Manager to End Process on that instance of Flash!</p>
<p>This can be very annoying and can lose you productivity by not allowing you to save, so these are your options:</p>
<p>1.) Save before using this feature<br />
2.) Don&#8217;t EVER give focus to another application while in the &#8220;Component Inspector&#8221; modal window.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/component-inspector-in-flash-has-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Place HTML Div on top of Flash</title>
		<link>http://hsmoore.com/blog/place-html-div-on-top-of-flash/</link>
		<comments>http://hsmoore.com/blog/place-html-div-on-top-of-flash/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 14:23:23 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[SWF]]></category>
		<category><![CDATA[swfobject]]></category>
		<category><![CDATA[wmode]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=381</guid>
		<description><![CDATA[If you have ever tried to place a div or similar HTML element on top of a swf flash object you will know that it always tries to take precedence. You will need to do the following: In the code for the flash add: &#60;param name=”wmode” value=”transparent”&#62; and in the embed area add: wmode=”transparent” If...]]></description>
			<content:encoded><![CDATA[<p>If you have ever tried to place a div or similar HTML element on top of a swf flash object you will know that it always tries to take precedence.</p>
<p>You will need to do the following:</p>
<p>In the code for the flash add:</p>
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;"><span class="sy0">&lt;</span>param <span class="kw3">name</span><span class="sy0">=</span>”wmode” value<span class="sy0">=</span>”transparent”<span class="sy0">&gt;</span></div>
</div>
<p>and in the embed area add:</p>
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;">wmode<span class="sy0">=</span>”transparent”</div>
</div>
<p>If you are using SWFObject to insert swf files you can do the following:</p>
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;"><span class="sy0">&lt;</span>script type<span class="sy0">=</span><span class="st0">&quot;text/javascript&quot;</span><span class="sy0">&gt;</span><br />
<span class="kw2">var</span> so <span class="sy0">=</span> <span class="kw2">new</span> SWFObject<span class="br0">&#40;</span><span class="st0">&quot;movie.swf&quot;</span><span class="sy0">,</span> <span class="st0">&quot;mymovie&quot;</span><span class="sy0">,</span> <span class="st0">&quot;400&quot;</span><span class="sy0">,</span> <span class="st0">&quot;100%&quot;</span><span class="sy0">,</span> <span class="st0">&quot;8&quot;</span><span class="sy0">,</span> <span class="st0">&quot;#336699&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
so.<span class="me1">addParam</span><span class="br0">&#40;</span><span class="st0">&quot;wmode&quot;</span><span class="sy0">,</span> <span class="st0">&quot;transparent&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
so.<span class="kw1">write</span><span class="br0">&#40;</span><span class="st0">&quot;flashcontent&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="sy0">&lt;/</span>script<span class="sy0">&gt;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/place-html-div-on-top-of-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

