<?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>yourpalmark &#187; AIR</title>
	<atom:link href="http://yourpalmark.com/category/air/feed/" rel="self" type="application/rss+xml" />
	<link>http://yourpalmark.com</link>
	<description>lulz</description>
	<lastBuildDate>Fri, 12 Mar 2010 23:20:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>AIR Application ActionScript Project with Flex Builder 3</title>
		<link>http://yourpalmark.com/2007/10/08/air-application-actionscript-project-with-flex-builder-3/</link>
		<comments>http://yourpalmark.com/2007/10/08/air-application-actionscript-project-with-flex-builder-3/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 04:25:17 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://yourpalmark.com/2007/10/08/air-application-actionscript-project-with-flex-builder-3/</guid>
		<description><![CDATA[How to setup an ActionScript-based AIR project (not Flex-based) with Flex Builder 3.]]></description>
			<content:encoded><![CDATA[<p>Until the final version of Flex Builder 3 comes out (which should have application type as an option under new ActionScript project), there is an easy way to create an AIR application ActionScript Project with the new beta.</p>
<p>All you have to do is create a new Flex Project, set the Application type as AIR, and on the last screen of the new project wizard change the Main application file extension from .mxml to .as. This will then create the main .as file just like it would if you were creating a new ActionScript Project.</p>
<p>That&#8217;s it. Hit Debug like you would a Flex AIR application and you&#8217;re well on your way to creating an AS3-only AIR app.</p>
]]></content:encoded>
			<wfw:commentRss>http://yourpalmark.com/2007/10/08/air-application-actionscript-project-with-flex-builder-3/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>FlashPaper Component 0.8</title>
		<link>http://yourpalmark.com/2007/04/22/flashpaper-component-08/</link>
		<comments>http://yourpalmark.com/2007/04/22/flashpaper-component-08/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 05:59:18 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://yourpalmark.com/2007/04/22/flashpaper-component-08/</guid>
		<description><![CDATA[Updated my FlashPaper component to add color schemes for the FlashPaper interface.]]></description>
			<content:encoded><![CDATA[<p>Surprisingly enough, I actually get a lot of hits on this site for my FlashPaper component.<br />
What&#8217;s funny is that I&#8217;ve never once thought about charging for it, but today I realized that another company was charging an outlandish amount of money for much less functionality.<br />
The company is <a href="http://www.zanzibarfiction.com/">Zanzibar Fiction</a> and here is their <a href="https://www.zanzibarfiction.com/shop/pricelist.swf" rel="nobox">pricelist</a>. And yes&#8230; that&#8217;s up to $500 that they&#8217;re charging for deactivating the select and print buttons!! I just don&#8217;t get it.<br />
But anyway, one thing that they added that my component didn&#8217;t have was color schemes for the FlashPaper interface. So to hopefully prevent anyone from spending that crazy amount of money, I decided to add it to my component&#8230; but make it even better. They offer 8 color choices (and they are all very ugly) and my component now lets you select any tint color and percentage that you like for the interface.<br />
Oh and by the way it&#8217;s still free! <img src='http://yourpalmark.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Description:</strong><br />
The FlashPaper component simplifies the process of working with the FlashPaper API and adds functionality either not documented or not provided in the API.</p>
<p><strong>Installation:</strong><br />
- Unzip FlashPaper_0.8.zip<br />
- DoubleClick on FlashPaper.mxp to install with the Extension Manager.</p>
<p><strong>Documentation:</strong><br />
<a href="http://yourpalmark.com/downloads/flash/components/FlashPaper_doc.html">FlashPaper Component Documentation</a></p>
<p><a href="http://yourpalmark.com/downloads/flash/FlashPaper_0.8.zip">Download FlashPaper</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yourpalmark.com/2007/04/22/flashpaper-component-08/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>Metaliq Components and MTASC</title>
		<link>http://yourpalmark.com/2006/12/12/metaliq-components-and-mtasc/</link>
		<comments>http://yourpalmark.com/2006/12/12/metaliq-components-and-mtasc/#comments</comments>
		<pubDate>Tue, 12 Dec 2006 08:42:57 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://yourpalmark.com/2006/12/12/metaliq-components-and-mtasc/</guid>
		<description><![CDATA[How to tweak the classes provided with the latest version of the Metaliq component set to be compliant with mtasc.]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://yourpalmark.com/2006/12/08/metaliq-components-finally-getting-the-love-they-need/">last post</a> I briefly mentioned that I would discuss how to tweak the classes that are shipped with the latest version of the Metaliq component set to be compliant with mtasc. The steps that I will take assume that you have purchased a license of the <a href="http://www.metaliq.com/index.php?q=mCOM&#038;n=69">Metaliq component set</a> and have the latest version with the source code. It also assumes you already have <a href="http://www.mtasc.org/">mtasc</a> and <a href="http://www.swfmill.org/">swfmill</a> setup. If you don&#8217;t know what these tools are, or how to set them up, you can go to their respective homepage or find numerous tutorials to help you get up to speed. I actually use <a href="http://www.flashdevelop.org/">FlashDevelop</a> which comes pre setup with both of these tools. The following steps will create a project in FlashDevelop and allow you to start compiling the Metaliq components with mtasc. You should be able to easily translate this to Eclipse or other script editor of choice.</p>
<div class="steps">
<ol>
<li>Create a new Library Project and name it &#8220;Metaliq&#8221;. Make sure to check &#8220;Create directory for project&#8221;.</li>
<li>In the Project Explorer, open up the properties panel for the project. Under &#8220;Test Movie&#8221;, change the pulldown option to &#8220;New Window&#8221;.</li>
<li>Go to the Build tab and delete the Post-Build Command Line text and hit Apply.</li>
<li>Go to the Compiler Options tab and click on IncludePackages. A button with a &#8220;&#8230;&#8221; will appear, click on that. Delete the text in that window and hit OK.</li>
<li>Set UseMain to true.</li>
<li>Set TraceMode to FlashOut. Hit OK and close out of the properties panel.</li>
<li>Find where your Metaliq source code is and copy the &#8220;com&#8221; folder over to the &#8220;classes&#8221; directory of your new project. Make sure to copy it and not move it since we will be editing the source.</li>
<li>From the Metaliq source, go to the &#8220;flas&#8221; directory and copy Button.fla to the &#8220;library&#8221; directory of your new project.</li>
<li>Open Button.fla in Flash (there should be nothing on the stage). Go to the publish settings and add the following class path: &#8220;../classes/&#8221; (without the quotes). Save, compile and close.</li>
<li>
			In the &#8220;classes&#8221; directory of your project, create a new class named &#8220;ButtonTest.as&#8221; and add the following code:</p>
<pre class="brush: as3">
			import com.metaliq.controls.Button;
			import com.metaliq.skins.FocusRect;
			import com.metaliq.skins.gskin1.ButtonBackground;

			class ButtonTest {
				// content holder
				var content:MovieClip;

				function ButtonTest() {
					// create dummy variables to pull in required classes for mtasc
					var fr:FocusRect;
					delete fr;
					var bb:ButtonBackground;
					delete bb;

					content = ButtonTest.parent.createEmptyMovieClip(&quot;content&quot;, 0);

					var sample_btn:Button = content.createClassObject(Button, &quot;sample_btn&quot;, content.getNextHighestDepth(), {
						icon:&quot;icon1&quot;,
						label:&quot;Hello world!&quot;,
						labelPlacement:&quot;right&quot;,
						selected:false,
						toggle:true,
						enabled:true,
						visible:true,
						minWidth:15,
						minHeight:15,
						_x:10,
						_y:10,
						_width:150
					});

					configButton();
				}

				private function configButton():Void {
					content.sample_btn.addEventListener(&quot;click&quot;, onButtonClick);
				}

				private function onButtonClick(evtObj:Object):Void {
					if (evtObj.target._name == &quot;sample_btn&quot;) {
						trace(&quot;you clicked the button&quot;);
					}
				}

				// APPLICATION INITIALIZATION

				static var application:ButtonTest;
				static var parent:MovieClip

				/**
				* Application entry point
				*/
				static function main(scope:MovieClip) {
					parent = scope;

					// create the content
					application = new ButtonTest();
				}
			}
			</pre>
<p>			If you look at the class above, you will notice a main method that gets called by mtasc. This main method creates an instance of the ButtonTest class which in turn begins the setup for instantiating a Metaliq component through code. We are using the createClassObject method to instantiate the Button component. The parameters passed are className, instanceName, depth, and an initObject which sets the defaults for the component. Besides the Button class, two other classes are imported in for mtasc. Once you get through with the following steps, remove those imports and the instantiations of those classes to see the error that mtasc throws. It will clearly ask you to force compilation of those classes. The easiest way to do that is by adding in the import statement for each class and then creating a reference to the class by instantiating it. I immediately delete the instance so it doesn&#8217;t take up memory.
		</li>
<li>In FlashDevelop&#8217;s Project Explorer, right-click on ButtonTest.as and select &#8220;Always Compile&#8221;. And right-click on Button.swf and select &#8220;Add to Library&#8221;.</li>
</ol>
</div>
<p>These previous steps are the basis for setting up a project in FlashDevelop to compile with mtasc and swfmill. The next steps will be getting the Metaliq classes to compile with mtasc.</p>
<div class="steps">
<ol>
<li>Hit F5 (Test Movie). You should see an error pop up. Double click on the error to bring up the class that is causing the error.</li>
<li>The error is &#8220;unknown variable&#8221; in FocusRect.as. If you look in the constructor, there is an onEnterFrame function. Within this function, a call to the draw method is made. The simplest way to fix this is to add &#8220;this.&#8221; in front of &#8220;draw()&#8221; to scope the method properly.</li>
<li>Hit F5 again and then do the same for the next error.</li>
<li>The next error is &#8220;return type cannot be Void&#8221;. If you double click on this error, it will open up UIObject to around line 90 within the glicInit method. If you notice, the return type for glicInit is Boolean but the first line returns nothing. mtasc doesn&#8217;t like this. To fix it, change if (initted) to if (!initted) , delete the return and put the rest of the method within the brackets.</li>
<li>Your next error will go back to &#8220;unknown variable&#8221;. You know how to fix these.</li>
<li>Another error you will get is &#8220;Object should be MovieClip&#8221;. This is an easy one to fix. Wrap the object that is causing the error in MovieClip() to typecast it.</li>
<li>The next error is &#8220;Object should be String&#8221;. Just add String() around the offending objects.</li>
<li>The next error is &#8220;unknown variable m&#8221;. If you look above the error, you will see that m gets declared within an if statement. To fix the error, declare the m above the if statement and set m in the if statement.</li>
<li>
			The next time you hit F5, mtasc should finally compile nicely. The button probably will just be text at this point (text acting as a button with no background). To see the background behind the button, you have to do something very random. I have gone through and converted all of the classes to be mtasc-friendly and this was the only part that still doesn&#8217;t make complete sense to me, but it works. In BaseButton.as, add the following code to around line 88:</p>
<pre class="brush: as3">
			public function set background(p_bg:String):Void { super.background = p_bg; };
			</pre>
<p>			For some reason, even though BaseButton extends UIObject, without the above statement the call to set background does not automatically go up the chain to UIObject without explicitly forcing it to. If you compile now, you should see the background behind the button. You now have a fully working example of a Metaliq component being compiled with mtasc.
		</li>
<li>Continue along with these steps and slowly and surely you will start to make headway through the rest of the classes. Be forewarned there are a lot of errors to fix to make the entire component set mtasc compliant. But once you do, your life will be much simpler and your compiling will be MUCH faster.</li>
</ol>
</div>
<p>Enjoy and feel free to comment with questions below.</p>
]]></content:encoded>
			<wfw:commentRss>http://yourpalmark.com/2006/12/12/metaliq-components-and-mtasc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Penner AS2 ProFMX: Complete!!!</title>
		<link>http://yourpalmark.com/2006/09/07/penner-as2-profmx-complete/</link>
		<comments>http://yourpalmark.com/2006/09/07/penner-as2-profmx-complete/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 12:01:03 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://yourpalmark.com/2006/09/07/penner-as2-profmx-complete/</guid>
		<description><![CDATA[I have completed converting Robert Penner's Programming Flash MX from AS1 to AS2.]]></description>
			<content:encoded><![CDATA[<p>Well, that&#8217;s it!<br />
I&#8217;ve made my way through <a href="http://www.robertpenner.com/profmx/">Robert Penner&#8217;s Programming Flash MX</a> to the end and survived.<br />
Every class from the book has now been converted from AS1 to AS2 and every example from the book has been shown working with these new classes.<br />
It has taken me exactly 73 days (in my spare time) to complete since announcing the project on June 27th earlier this summer. A lot of times I thought about shelving it, but I really wanted to see it through to completion and I&#8217;m glad I did.<br />
I hope that everyone out there gets some use out of these classes and I&#8217;ll try and post some of my personal examples using them in a little while.<br />
Thanks to Robert Penner for writing the book and giving me the green light on the project and thanks to everyone out there that has emailed or commented with your support. It was quite an undertaking but well worth it in the end.</p>
<p><strong>Download:</strong><br />
<a href="http://yourpalmark.com/downloads/flash/penner/Penner_AS2_ProFMX.zip">Complete Penner AS2 ProFMX Classes and Documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yourpalmark.com/2006/09/07/penner-as2-profmx-complete/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Trace from the browser, using standard trace()</title>
		<link>http://yourpalmark.com/2005/07/01/trace-from-the-browser-using-standard-trace/</link>
		<comments>http://yourpalmark.com/2005/07/01/trace-from-the-browser-using-standard-trace/#comments</comments>
		<pubDate>Fri, 01 Jul 2005 11:10:31 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://yourpalmark.com/2005/07/01/trace-from-the-browser-using-standard-trace/</guid>
		<description><![CDATA[A detailed tutorial on setting up your computer to view trace output from the browser.]]></description>
			<content:encoded><![CDATA[<div class="update">
<div class="steps">
<div class="title">UPDATE (2009-01-24):</div>
<ol>
<li>Added Vista info</li>
<li>Updated the path to flashlog.txt for Linux</li>
<li>Split Step 4 into two steps</li>
<li>Added optional OSX step for creating aliases</li>
</ol></div>
</div>
<div class="update">
<div class="steps">
<div class="title">UPDATE (2007-02-09):</div>
<ol>
<li>Added Linux info</li>
<li>Changed mm.cfg file location for Windows 2000</li>
<li>Made corrections to Step 4</li>
</ol></div>
</div>
<div class="update">
<div class="steps">
<div class="title">UPDATE (2006-11-17):</div>
<ol>
<li>As of Flash Player version 9,0,28,0, the default location of flashlog.txt has changed and cannot be modified</li>
</ol></div>
</div>
<div class="update">
<div class="steps">
<div class="title">UPDATE (2006-01-19):</div>
<ol>
<li>Changed the property order in mm.cfg<br />
			The original order would sometimes change the name of the flashlog on mac.</li>
<li>Changed MaxWarnings from 100 to 0<br />
			This allows an unlimited number of error messages to be written to the flashlog.</li>
<li>Changed which tail software I recommend for Windows<br />
			I have settled on the tail that is included with Windows Server 2003 Resource Kit Tools.<br />
			It&#8217;s native to Windows, easier to install than cygwin, and more stable than Tail XP.</li>
</ol></div>
</div>
<p>Some great 3rd party debug tools have been released in the past few months that expand upon the standard trace() in Flash. I recently wrote about <a href="http://yourpalmark.com/2005/04/10/luminicboxlog-nice-flash-debugging-tool/">one of them</a>. Unfortunately, I&#8217;ve noticed myself not using these tools as often as I would like because its usually easier and quicker to just use trace(). The biggest drawback about trace, however, is that there&#8217;s no way to output from the browser &#8230; or is there?<br />
<br />
The other day I stumbled upon an <a href="http://www.actionscripts.org/tutorials/beginner/trace_and_debug_from_your_browser/index.shtml">article by Josh Buhler</a> at actionscript.org that shows you how to install the Flash Debug Player that&#8217;s buried in the application folders of Flash. The Debug Player, along with a text file, allows you to view standard traces from a swf in the browser. Now, if you&#8217;ve already read his article skip on down to the bottom of this page because I&#8217;ve added a step that will make you even happier. If you haven&#8217;t read his article yet, go on what are you waiting for? If, on the other hand, you like step-by-step instructions that get you up and running the fastest, I&#8217;ve recapped his process below. I&#8217;ve done this on both the mac and pc and can&#8217;t live without it now.</p>
<div class="steps">
<ol>
<li>
			<strong>Uninstall your Flash Player</strong><br />
			Find the uninstaller here:<br />
			<a href="http://www.adobe.com/support/flashplayer/downloads.html#uninstaller">Adobe Flash Player Uninstallers</a>.<br />
			Even though this is the first step, this is the one that you&#8217;re going to question the most, should I really uninstall my Flash Player and install the Debug Player? The answer is an emphatic &#8220;yes&#8221;. The Flash Debug Player is the exact same player with a very nice extra feature.
		</li>
<li>
			<strong>Install the Flash Debug Player</strong><br />
			Find the installer here:<br />
			<a href="http://www.adobe.com/support/flashplayer/downloads.html">Adobe Flash Debug Players</a>
		</li>
<li>
			<strong>Verify installation of the Flash Debug Player</strong><br />
			Restart your browser and right-click (ctrl-click) on a swf.<br />
			You should have the &#8220;Debugger&#8221; option in the context menu, like the example below.<br />
			<img src="http://yourpalmark.com/blog/wp-content/uploads/2005/07/debugger.jpg" alt="Debugger" title="Debugger" width="251" height="99" class="alignnone size-full wp-image-129" />
		</li>
<li>
			<strong>Create a text file named &#8220;mm.cfg&#8221; and save it here:</strong></p>
<ul>
<li>
					<strong>OSX</strong><br />
					<em>MacHD</em>:Library:Application Support:Macromedia:mm.cfg
				</li>
<li>
					<strong>Windows Vista</strong><br />
					C:\Users\<em>username</em>\mm.cfg
				</li>
<li>
					<strong>Windows XP</strong><br />
					C:\Documents and Settings\<em>username</em>\mm.cfg
				</li>
<li>
					<strong>Windows 2000</strong><br />
					C:\mm.cfg
				</li>
<li>
					<strong>Linux</strong><br />
					home/<em>username</em>/mm.cfg
				</li>
</ul>
</li>
<li>
			<strong>Add the following properties to mm.cfg</strong></p>
<ul>
<li>ErrorReportingEnable=0</li>
<li>TraceOutputFileEnable=1</li>
<li>MaxWarnings=0</li>
</ul>
<h1>FLASH DEBUG PLAYERS 9,0,28,0 AND NEWER</h1>
<p>			The property <em>TraceOutputFileName</em> is no longer needed in mm.cfg. The default location of flashlog.txt has changed and cannot be modified from the following locations:</p>
<ul>
<li>
					<strong>OSX</strong><br />
					<em>MacHD</em>:Users:<em>username</em>:Library:Preferences:Macromedia:Flash Player:Logs:flashlog.txt
				</li>
<li>
					<strong>Windows Vista</strong><br />
					C:\Users\<em>username</em>\AppData\Roaming\Macromedia\Flash Player\Logs\flashlog.txt
				</li>
<li>
					<strong>Windows XP and 2000</strong><br />
					C:\Documents and Settings\<em>username</em>\Application Data\Macromedia\Flash Player\Logs\flashlog.txt
				</li>
<li>
					<strong>Linux</strong><br />
					home/<em>username</em>/.macromedia/Flash_Player/Logs/flashlog.txt
				</li>
</ul>
<h1>FLASH DEBUG PLAYERS 9,0,16,0 AND OLDER</h1>
<p>			Add the property <em>TraceOutputFileName</em> to mm.cfg</p>
<ul>
<li>
					<strong>OSX</strong><br />
					TraceOutputFileName=<em>MacHD</em>:Users:<em>username</em> <img src='http://yourpalmark.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> esktop:flashlog.txt
				</li>
<li>
					<strong>Windows</strong><br />
					TraceOutputFileName=C:\Documents and Settings\<em>username</em>\Desktop\flashlog.txt
				</li>
</ul>
</li>
<li>
			<strong>Test the Flash Debug Player</strong><br />
			Restart your browser and either publish a swf that uses trace() and view it in the browser, or surf around and find out what other people have been tracing in their movies (that&#8217;s one of my favorite options).<br />
			The traces have been output from the browser to flashlog.txt.<br />
			Open up flashlog.txt and see for yourself, you know you want to.
		</li>
</ol>
</div>
<p>And there you go.<br />
<br />
I&#8217;m sure many of you are extremely happy right now, and you should be, this is a great tip.<br />
But after a few uses, you&#8217;re going to get really annoyed opening and closing the text file to view the new traces &#8230; if only there was a way to view the text file being updated in real time like the Output window in Flash. Here&#8217;s the new step that will make you rejoice.</p>
<div class="steps">
<h1>NEW STEP</h1>
<ol start="7">
<li>
			<strong>View the text file updating in real time</strong></p>
<ul>
<li>
					<strong>OSX</strong></p>
<ul>
<li>Open Terminal</li>
<li>
							At the prompt type:<br />
							<code>cd <em>&lt;path to flashlog's directory&gt;</em></code><br />
							<code>tail -f flashlog.txt</code>
						</li>
</ul>
</li>
<li>
					<strong>Windows</strong><br />
					Go to <a href="http://www.microsoft.com/technet/downloads/winsrvr/tools/default.mspx">Windows Server 2003 Tools</a>, and download <em>Windows Server 2003 Resource Kit Tools</em> near the bottom of the page.<br />
					Although it says Windows Server 2003 all over the page, its also made for Windows XP.</p>
<ul>
<li>Install</li>
<li>Open Command Prompt</li>
<li>
							At the prompt type:<br />
							<code>cd <em>&lt;path to flashlog's directory&gt;</em></code><br />
							<code>tail -f flashlog.txt</code>
						</li>
</ul>
</li>
</ul>
</li>
</ol>
</div>
<p>Browse to a swf online that uses trace() and watch the magic. Terminal and Command Prompt display the contents of flashlog.txt as it changes &#8230; its just like having Flash&#8217;s Output window, except this one works in the browser!!<br />
<br />
Isn&#8217;t this great? Like I said earlier, I&#8217;ve gotten this to work on both the mac and the pc and can&#8217;t live without it now.<br />
If you have any questions about these steps, feel free to email me or comment below and I&#8217;ll be glad to help.</p>
<div class="steps">
<h1>OPTIONAL STEP</h1>
<ol start="8">
<li>
			<strong>Create a shortcut to quickly load up flashlog</strong></p>
<ul>
<li>
					<strong>OSX</strong></p>
<ul>
<li>
							<strong>Create aliases</strong></p>
<ul>
<li>Open Terminal</li>
<li>
									At the prompt type:<br />
									<code>cd ~</code><br />
									<code>ls -a</code>
								</li>
<li>Make sure there is a file named &#8220;.bash_profile&#8221;</li>
<li>
									If there isn&#8217;t, create one by typing the following at the prompt:<br />
									<code>touch .bash_profile</code>
								</li>
<li>Open .bash_profile to edit it</li>
<li>
									Add the following content to .bash_profile:<br />
									<code>alias trace='open -a /Volumes/<em>MacHD</em>/Applications/Utilities/Console.app/ /Users/<em>username</em>/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt'</code><br />
									<br />
									<code>alias cleartrace='cat /dev/null > /Users/<em>username</em>/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt'</code>
								</li>
<li>Save .bash_profile</li>
<li>Restart Terminal</li>
<li>
									To open up Console displaying the active flashlog.txt file, type the following at the prompt:<br />
									<code>trace</code>
								</li>
<li>
									To clear flashlog.txt, at the prompt type:<br />
									<code>cleartrace</code>
								</li>
</ul>
</li>
</ul>
</li>
<li>
					<strong>Windows</strong></p>
<ol>
<li>
							<strong>Create a batch file</strong></p>
<ul>
<li>Create a text file and rename it flashlog.bat</li>
<li>Right-click on the batch file and select &#8220;Edit&#8221;</li>
<li>
									Add the following content to flashlog.bat:<br />
									<code>cd <em>&lt;path to flashlog's directory&gt;</em></code><br />
									<code>tail -f flashlog.txt</code>
								</li>
<li>Double-click on the batch file to see it working.</li>
</ul>
</li>
<li>
							<strong>Create a shortcut to the batch file to set the Command Prompt colors and options</strong></p>
<ul>
<li>Right-click on the batch file and select &#8220;Create Shortcut&#8221;</li>
<li>Right-click on the shortcut and select &#8220;Properties&#8221;</li>
<li>To view the Command Prompt maximized change the pulldown under &#8220;Run:&#8221;</li>
<li>To change the colors of the Command Prompt select the &#8220;Colors&#8221; tab</li>
<li>Unfortunately the &#8220;Font&#8221; tab options are very limited</li>
<li>Under the &#8220;Options&#8221; tab, select &#8220;QuickEdit mode&#8221; to be able to easily select and copy and paste</li>
<li>Tip for copying and pasting in the Command Prompt:</li>
<li>Select the text you want to copy and then right-click it, this puts the selected text into the clipboard &#8230; now just hit ctrl-v or paste in any other program.</li>
<li>Close out of the properties and double-click on the shortcut to see the flashlog with your colors and options.</li>
</ul>
</li>
</ol>
</li>
</ul>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://yourpalmark.com/2005/07/01/trace-from-the-browser-using-standard-trace/feed/</wfw:commentRss>
		<slash:comments>64</slash:comments>
		</item>
	</channel>
</rss>
