<?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/"
	>

<channel>
	<title>Fatal Exception Studios</title>
	<atom:link href="http://fatal-exception.co.uk/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://fatal-exception.co.uk/blog</link>
	<description></description>
	<pubDate>Thu, 02 Sep 2010 17:11:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Internet Explorer 6 Compatibility (or lack of)</title>
		<link>http://fatal-exception.co.uk/blog/?p=164</link>
		<comments>http://fatal-exception.co.uk/blog/?p=164#comments</comments>
		<pubDate>Tue, 28 Jul 2009 11:15:56 +0000</pubDate>
		<dc:creator>dVyper</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://fatal-exception.co.uk/blog/?p=164</guid>
		<description><![CDATA[Although this site works almost perfectly well in Internet Explorer 6 (which is amazing since I did not take it into account when building it) I&#8217;ve decided to put in an interesting easter egg for those users uninformed enough to still be using it. 
Whenever the site detects a user using Internet Explorer 6, they [...]]]></description>
			<content:encoded><![CDATA[<p>Although this site works almost perfectly well in Internet Explorer 6 (which is amazing since I did not take it into account when building it) I&#8217;ve decided to put in an interesting easter egg for those users uninformed enough to still be using it. </p>
<p>Whenever the site detects a user using Internet Explorer 6, they will be redirected to the <a href="/fatal-error.php">Fatal Exception Error page</a>.</p>
<p>This change will only affect around 13% of actual Internet users, but I think these users need to know that Internet Explorer 6 should never be used!</p>
]]></content:encoded>
			<wfw:commentRss>http://fatal-exception.co.uk/blog/?feed=rss2&amp;p=164</wfw:commentRss>
		</item>
		<item>
		<title>Flash Debug Class - dPanel</title>
		<link>http://fatal-exception.co.uk/blog/?p=121</link>
		<comments>http://fatal-exception.co.uk/blog/?p=121#comments</comments>
		<pubDate>Wed, 22 Jul 2009 08:07:32 +0000</pubDate>
		<dc:creator>dVyper</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Announcements]]></category>

		<category><![CDATA[Classes]]></category>

		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://fatal-exception.co.uk/blog/?p=121</guid>
		<description><![CDATA[While the Alert Class can be good for debugging applications, during development of a couple of personal projects I&#8217;ve seen the need to create another class which allows me to monitor variables which are likely to change constantly. One such variable is the current frame rate. Using the Alert or trace actions to monitor values [...]]]></description>
			<content:encoded><![CDATA[<p>While the <a href="http://fatal-exception.co.uk/articles/alert-class" target="_blank">Alert Class</a> can be good for debugging applications, during development of a couple of personal projects I&#8217;ve seen the need to create another class which allows me to monitor variables which are likely to change constantly. One such variable is the current frame rate. Using the <span class="highlight">Alert</span> or trace actions to monitor values that change as much as the frame rate is impractical, especially when you want to also monitor several other variables in real time. For this reason I&#8217;ve created the <span class="highlight">dPanel</span> class.</p>
<p>An example of the dPanel is shown below. To show the dPanel you need to press the &#8216;transition key&#8217;, which for this example has been set to the <a href="http://en.wikipedia.org/wiki/Grave_accent" target="_blank">grave accent</a> key (this key is typically underneath the &#8216;Esc&#8217; key on Windows keyboards and to the left of the &#8216;Z&#8217; key on Mac keyboards). Pressing this will slide the dPanel into view. Press the grave accent key again to slide the dPanel out of view.</p>
<div id="dPanel"><strong>Cannot Display SWF</strong></div>
<p><script type="text/javascript"><!--
var so = new SWFObject("/examples/dpanel/dPanel.swf", "Alert", "700", "220", "9", "#FFFFFF");
so.write("dPanel");
// --></script></p>
<p>There are three functions publically available:</p>
<p><span class="highlight">init()</span> - you call this method once to initialize the class with your desired settings<br />
<span class="highlight">addSection()</span> - adds a new section to the dPanel<br />
<span class="highlight">update()</span> - updates the specified section</p>
<p><strong>Simple Usage</strong></p>
<p>Using the dPanel is very easy.</p>
<ol>
<li>All you have to set things up is make a call to <span class="highlight">dPanel.init()</span>, passing to it a reference to the stage.</li>
<li>You then call <span class="highlight">dPanel.addSection()</span> passing to it a name for the new section and if desired, the colour of the text shown in that section.</li>
<li>When you want to update that section, you simply call <span class="highlight">dPanel.update()</span>, passing to it the name of the section you want to update and the value you want to update it to.</li>
</ol>
<p>Here is example code which uses the dPanel to constantly show the mouse position:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p121code4'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1214"><td class="code" id="p121code4"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">dVyper</span>.<span style="color: #006600;">utils</span>.<span style="color: #006600;">dPanel</span>;
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;
<span style="color: #808080; font-style: italic;">//	INITIALIZE dPanel</span>
dPanel.<span style="color: #006600;">init</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">stage</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//	ADD A NEW SECTION</span>
dPanel.<span style="color: #006600;">addSection</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;mousePosition&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">//	UPDATE THE dPanel EVERY FRAME TO DISPLAY MOUSE COORDINATES</span>
<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, updateDebugPanel<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> updateDebugPanel<span style="color: #66cc66;">&#40;</span>event:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	dPanel.<span style="color: #006600;">update</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;mousePosition&quot;</span>, <span style="color: #ff0000;">&quot;x:&quot;</span>+<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">mouseX</span>+<span style="color: #ff0000;">&quot; y:&quot;</span>+<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">mouseY</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>And that is all there is to it! The dPanel is very easy to setup and use and I&#8217;m sure will prove very useful to you!<br />
<span id="more-121"></span><br />
<strong>Advanced Usage</strong></p>
<p>Here is more detailed information on the <span class="highlight">init()</span> and <span class="highlight">addSection()</span> functions:</p>
<p><i>dPanel.init(stageReference:Stage, transitionKey:int, colour:int, alpha:Number);</i></p>
<p>stageReference:Stage - this has to be a reference to the stage<br />
transitionKey:int (<span class="highlight">96</span>) - this is the character code of the key that you want to use to show/hide the dPanel<br />
colour:int (<span class="highlight">0&#215;000000</span>) - the colour of the dPanel<br />
alpha:Number (<span class="highlight">0.8</span>) - the alpha of the dPanel</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p121code5'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1215"><td class="code" id="p121code5"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">//	CREATES A dPanel WHERE YOU PRESS 'Delete' TO SHOW THE dPanel</span>
dPanel.<span style="color: #006600;">init</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">stage</span>, <span style="color: #cc66cc;">127</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><i>dPanel.addSection(sectionName:String, colour:int);</i></p>
<p>sectionName:String - the name of the new section<br />
colour:int (<span class="highlight">0xFFFFFF</span>) - the colour of the text and border for the new section</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p121code6'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p1216"><td class="code" id="p121code6"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">//	CREATES A GREEN SECTION CALLED 'currentTime'</span>
dPanel.<span style="color: #006600;">addSection</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'currentTime'</span>, 0x00FF00<span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>Please let me know if you&#8217;ve found this useful or if you have any ideas for improvements <img src='http://fatal-exception.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="/downloads/classes/dPanel.as">Download dPanel.as</a><br />
<a href="/downloads/classes/dPanel.zip"> Download dPanel Example source files</a></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://fatal-exception.co.uk/blog/?feed=rss2&amp;p=121</wfw:commentRss>
		</item>
		<item>
		<title>&#8216;with&#8217; Statement Performance</title>
		<link>http://fatal-exception.co.uk/blog/?p=102</link>
		<comments>http://fatal-exception.co.uk/blog/?p=102#comments</comments>
		<pubDate>Wed, 01 Jul 2009 21:15:59 +0000</pubDate>
		<dc:creator>dVyper</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://fatal-exception.co.uk/blog/?p=102</guid>
		<description><![CDATA[Whilst reading a post from the Learning ActionScript 3.0 blog I noticed a tip which dealt with use of the &#8216;with&#8217; statement. This reminded me of a post which I published on the old version of this site.
The &#8216;with&#8217; statement can be used in your code to help make the code easier to read. Examples [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst reading a post from the <a href="http://www.learningactionscript3.com/2009/06/30/as3-tips-tricks-and-experiments/" target="_blank">Learning ActionScript 3.0 blog</a> I noticed a tip which dealt with use of the &#8216;with&#8217; statement. This reminded me of a post which I published on the old version of this site.</p>
<p>The &#8216;with&#8217; statement can be used in your code to help make the code easier to read. Examples of how useful it can be can be found in <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/statements.html#with" target="_blank">the documentation</a>.</p>
<p>I&#8217;ve never actually used the &#8216;with&#8217; statement in any of my personal projects however after reading an article which mentioned it I decided to see whether or not there was a speed increase to be gained from using the &#8216;with&#8217; statement. I created a small test which attempts to determine this which you can try out below.</p>
<div id="with">
<a href="http://www.adobe.com/go/getflashplayer" target="_flashplayer" class="getflashplayer"></a>
</div>
<p><script type="text/javascript"><!--
var so = new SWFObject("/examples/with_statement/With Test.swf", "Alert", "700", "400", "9", "#FFFFFF");
so.write("with");
// --></script></p>
<p>How to use the test is self explanatory. When you start a test, 500 MovieClips are created. On every frame, the position, dimensions, alpha and rotation of each MovieClip is altered to a random value. You can view how long it takes for each frame to render in the dPanel by pressing the grave accent key (the &#8216;dPanel&#8217; is a class I have created for debug purposes - I will make it available in the near future).</p>
<p>I presumed that the &#8216;with&#8217; statement would be faster because there are less reference calls but you can see for yourself that the &#8216;with&#8217; statement is actually a little slower.</p>
<p><a href="/downloads/examples/With Test.zip">With Statement Test source files</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://fatal-exception.co.uk/blog/?feed=rss2&amp;p=102</wfw:commentRss>
		</item>
		<item>
		<title>Flash Alert Dialog Class</title>
		<link>http://fatal-exception.co.uk/blog/?p=69</link>
		<comments>http://fatal-exception.co.uk/blog/?p=69#comments</comments>
		<pubDate>Sat, 06 Jun 2009 16:34:06 +0000</pubDate>
		<dc:creator>dVyper</dc:creator>
		
		<category><![CDATA[AS3]]></category>

		<category><![CDATA[Announcements]]></category>

		<category><![CDATA[Classes]]></category>

		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://fatal-exception.co.uk/blog/?p=69</guid>
		<description><![CDATA[I actually built an Alert class a long time ago and have used it very frequently for my own personal use. I recently received some impetus to update it after finding out that one person actually copied my class and then passed it off as their own on the flashgods forum (It&#8217;s now been taken [...]]]></description>
			<content:encoded><![CDATA[<p>I actually built an Alert class a long time ago and have used it very frequently for my own personal use. I recently received some impetus to update it after finding out that one person actually copied my class and then passed it off as their own on the flashgods forum (It&#8217;s now been taken down).</p>
<p>And so I&#8217;ve now updated my Flash Alert Dialog class, a class which enables you to display a modal dialog message box with AS3 very much like the built in Alert for Flex. Here is an example showing how the Alert can be used:<span id="more-69"></span></p>
<div id="alert">Cannot Display SWF</div>
<p><script type="text/javascript"><!--
var so = new SWFObject("/examples/alert/Alert.swf", "Alert", "700", "210", "9", "#FFFFFF");
so.write("alert");
// --></script></p>
<p>Using the Alert class is very easy. After importing the class you simply need to &#8216;initialise&#8217; the class with a call to the function <span style="color: #0000ff;">Alert.init()</span> passing as a parameter a reference to the stage like so:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code15'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6915"><td class="code" id="p69code15"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">import</span> com.<span style="color: #006600;">dVyper</span>.<span style="color: #006600;">utils</span>.<span style="color: #006600;">Alert</span>;
Alert.<span style="color: #006600;">init</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">stage</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>Once this function has been called you can call <span style="color: #0000ff;">Alert.show()</span> to display a modal prompt at any time and from any class file.</p>
<p>What this means, is that you can use the Alert class extensively throughout your project, and instead of having to comment out all of the lines which have a call to <span style="color: #0000ff;">Alert.show()</span> (which is what you have to do if you use for example the <span style="color: #0000ff;">trace()</span> command), you simply have to comment out the call to <span style="color: #0000ff;">Alert.init()</span>. All calls to <span style="color: #0000ff;">Alert.show()</span> are ignored if <span style="color: #0000ff;">Alert.init()</span> is not called.</p>
<p>Here is more information on how you can use the Alert class:<!--more--></p>
<p><em>Alert.show(<span style="color: #444444;">Text:String</span>, <span style="color: #ff00ff;">options:Object</span>);</em></p>
<p><span style="text-decoration: underline;">Parameters</span></p>
<p><span style="color: #444444;">Text:String</span> - [optional] The text that appears in the Alert control.<br />
<span style="color: #ff00ff;">options:Object</span> - [optional] An object containing values of the properties of the Alert</p>
<p>The parameters that can be included in the &#8216;options&#8217; Object are:</p>
<p><em><strong>background:String	- </strong>The type of background.</em></p>
<p>There are four background types to choose from:</p>
<ul>
<li>&#8220;none&#8221; - invisible background</li>
<li>&#8220;nonenotmodal&#8221; -  no background and make the area behind the Alert prompt focusable</li>
<li>&#8220;simple&#8221; -  simple colour background</li>
<li>&#8220;blur&#8221; -  blurred background</li>
</ul>
<p>The &#8220;simple&#8221; style is used if a background type is not specified</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code16'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6916"><td class="code" id="p69code16"><pre class="actionscript" style="font-family:monospace;">Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Made by dVyper&quot;</span>, <span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">background</span>:<span style="color: #ff0000;">&quot;blur&quot;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><em><strong>buttons:Array	- </strong>An array (maximum of 3) containing the Strings of the buttons to be shown in the Alert promp</em>t</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code17'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6917"><td class="code" id="p69code17"><pre class="actionscript" style="font-family:monospace;">Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Loading image.&quot;</span>, <span style="color: #66cc66;">&#123;</span>buttons:<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;OK&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Cannot load image!&quot;</span>, <span style="color: #66cc66;">&#123;</span>buttons:<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;Abort&quot;</span>, <span style="color: #ff0000;">&quot;Retry&quot;</span>, <span style="color: #ff0000;">&quot;Fail&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><em><strong>callback:Function	-</strong> The function to be called when a button on the Alert prompt has been clicked. When the function is called the name of the button that was clicked will be passed to that function as a String.</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code18'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6918"><td class="code" id="p69code18"><pre class="actionscript" style="font-family:monospace;">Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Do you want to save your changes?&quot;</span>, <span style="color: #66cc66;">&#123;</span>buttons:<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;Yes&quot;</span>, <span style="color: #ff0000;">&quot;No&quot;</span><span style="color: #66cc66;">&#93;</span>, callback:handleResponse<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">function</span> handleResponse<span style="color: #66cc66;">&#40;</span>response:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
	<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>response == <span style="color: #ff0000;">&quot;Yes&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
		saveChanges<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
		exitWithoutSaving<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p><em><strong>colour:int	- </strong>Main colour for the Alert</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code19'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6919"><td class="code" id="p69code19"><pre class="actionscript" style="font-family:monospace;">Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Here is a nice golden alert!&quot;</span>, <span style="color: #66cc66;">&#123;</span>colour:0xff9900<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><strong><em>promptAlpha:Number	-	<span style="font-weight: normal;">Alpha of the Alert prompt. Only the prompt&#8217;s background is affected - the Alert background and the prompt&#8217;s text and buttons will be unaffected</span></em></strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code20'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6920"><td class="code" id="p69code20"><pre class="actionscript" style="font-family:monospace;">Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Can you see through me?&quot;</span>, <span style="color: #66cc66;">&#123;</span>promptAlpha:<span style="color: #cc66cc;">0.4</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><em><strong>textColour:int	- </strong>Colour of the text shown in the Alert prompt</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code21'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6921"><td class="code" id="p69code21"><pre class="actionscript" style="font-family:monospace;">Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;I love white text&quot;</span>, <span style="color: #66cc66;">&#123;</span>colour:0x000099, textColour:0xFFFFFF<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p><em><strong>position:Point	- </strong>Position of the Alert prompt</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p69code22'); return false;">View Code</a> ACTIONSCRIPT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p6922"><td class="code" id="p69code22"><pre class="actionscript" style="font-family:monospace;">Alert.<span style="color: #0066CC;">show</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Made by dVyper&quot;</span>, <span style="color: #66cc66;">&#123;</span><span style="color: #0066CC;">position</span>:<span style="color: #000000; font-weight: bold;">new</span> Point<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">123</span>, <span style="color: #cc66cc;">456</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</pre></td></tr></table></div>

<p>If anyone would like me to include more functionality or has done so themselves, please let me know at info {at] fatal-exception [dot} co {dot] uk</p>
<p><a href="/downloads/classes/Alert.as">Alert.as</a><br />
<a href="/downloads/classes/Alert.zip"> Alert example source files</a></p>
<p>This information can also be viewed in the <a href="http://www.fatal-exception.co.uk/articles/alert-class">articles section</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://fatal-exception.co.uk/blog/?feed=rss2&amp;p=69</wfw:commentRss>
		</item>
		<item>
		<title>Fatal Breakout on Flashgamelicense</title>
		<link>http://fatal-exception.co.uk/blog/?p=66</link>
		<comments>http://fatal-exception.co.uk/blog/?p=66#comments</comments>
		<pubDate>Mon, 01 Jun 2009 14:02:41 +0000</pubDate>
		<dc:creator>dVyper</dc:creator>
		
		<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://fatal-exception.co.uk/blog/?p=66</guid>
		<description><![CDATA[I've submitted Fatal Breakout to Flashgamelicense. Hopefully I'll be able to get some constructive feedback on the game while I put together some music and get some graphics for the game.

You can view it either on flashgamelicense or on this website in the 'games' section.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve submitted Fatal Breakout to Flashgamelicense. Hopefully I&#8217;ll be able to get some constructive feedback on the game while I put together some music and get some graphics for the game.</p>
<p>You can view it either on <a href="http://www.flashgamelicense.com/view_game.php?game_id=5942">flashgamelicense</a> or <a href="http://fatal-exception.co.uk/games/fatal_breakout/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://fatal-exception.co.uk/blog/?feed=rss2&amp;p=66</wfw:commentRss>
		</item>
		<item>
		<title>Hello World!</title>
		<link>http://fatal-exception.co.uk/blog/?p=3</link>
		<comments>http://fatal-exception.co.uk/blog/?p=3#comments</comments>
		<pubDate>Mon, 01 Jun 2009 13:52:54 +0000</pubDate>
		<dc:creator>dVyper</dc:creator>
		
		<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://fatal-exception.co.uk/blog/?p=3</guid>
		<description><![CDATA[Welcome to the new and improved Fatal Exception Studios! Now housed in a different hoster and with a blog powered by Wordpress 2.7...]]></description>
			<content:encoded><![CDATA[<p>Welcome to the new and improved Fatal Exception Studios! Now housed in a different hoster and with a blog powered by Wordpress 2.7!</p>
<p>After a careless mistake by myself, all of the database data containing previous blog posts and comments (and spam) have been lost. Nooo! All of the explanations of my experiments and classes, gone! But all was not lost; thanks to the ultimateness that is Google, all of the important posts were still alive in the Google cache! I was able to get all of the text I needed from the relevent posts with no problems!</p>
<p>Instead of trying to repost them all I have instead created an &#8216;Articles&#8217; section of the website which will house all of the past and future experiments and classes that I have created. I&#8217;ll be posting to that section as time progresses. The first one which deals with graphics rendering has already been <a href="/articles/movieclips-vs-copypixels">made available</a>.</p>
<p>Hopefully my new design will be visually appealing - I hope you enjoy the site!</p>
]]></content:encoded>
			<wfw:commentRss>http://fatal-exception.co.uk/blog/?feed=rss2&amp;p=3</wfw:commentRss>
		</item>
	</channel>
</rss>
