<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Flash notes by Edzis</title>
	
	<link>http://www.edzis.com</link>
	<description>ActionScript programmer / Flash developer Edgars Simsons on professional stuff</description>
	<lastBuildDate>Wed, 20 Jan 2010 15:27:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/edzis" /><feedburner:info uri="edzis" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Get your questions answered by Flashers on Aardvark</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/6JltCKlNy6A/</link>
		<comments>http://www.edzis.com/2009/09/flashers-on-aardvark/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 13:47:48 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[aardvark]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[question]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://www.edzis.com/?p=160</guid>
		<description><![CDATA[I know there are sometimes problems and questions you get stuck with and there is nobody around to help. Ask your flash questions directly to your fellow Flashers on Aardvark or try any other type of questions!
Once you join, you can send Aardvark any question (via IM, email, or web) and Aardvark will find someone [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_161" class="wp-caption alignleft" style="width: 250px"><a href="http://vark.com/g/d879b5"><img class="size-full wp-image-161" title="vark_speaking" src="http://www.edzis.com/wordpress/wp-content/uploads/2009/09/vark_speaking.gif" alt="Start using Aardvark and join the Flashers group" width="240" height="170" /></a><p class="wp-caption-text">Start using Aardvark and join the Flashers group</p></div>
<p>I know there are sometimes problems and questions you get stuck with and there is nobody around to help. Ask your flash questions directly to your <a title="Join the Flashers - developers for the Flash Platform group on Aardvark" href="http://vark.com/g/d879b5" target="_self">fellow Flashers on Aardvark</a> or try any other type of questions!</p>
<p>Once you join, you can send Aardvark any question (via IM, email, or web) and Aardvark will find someone to answer it. Aardvark looks for someone who is online and wants to answer, so you get a response in a few minutes.</p>
<p>You can help other people with their questions too. Just tell Aardvark what you want to answer about &#8211; actionscript, web development, baseball, tee, spain or anything else &#8211; and Aardvark will contact you when it thinks you might be able to answer.</p>
<p>I have been using Aardvark for 5 months now and the community has helped me frequently in flash development and other cases with FFMPEG preset path, batch files, travel recommendations, 72dpi png photoshop bug, recruitment, NTFS in OSX etc.</p>
<p><a title="Sign up on Aardvark" href="http://vark.com/g/d879b5" target="_self">Sign up here</a> and enjoy aardvarking!</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/6JltCKlNy6A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2009/09/flashers-on-aardvark/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2009/09/flashers-on-aardvark/</feedburner:origLink></item>
		<item>
		<title>Google Analytics for Myspace</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/1TcXstkUlF4/</link>
		<comments>http://www.edzis.com/2009/08/google-analytics-for-myspace/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 07:27:42 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[gaforflash]]></category>

		<guid isPermaLink="false">http://www.edzis.com/?p=134</guid>
		<description><![CDATA[I offer you a ready-made tracker for Google Analytics (GA) that can be used in Myspace or any other place where you are not allowed to use JavaScript. For those who speak geek this is nothing new, this is mainly dedicated to non-users of flash.
As I was customizing the myspace profile for by friends&#8217; punk [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_140" class="wp-caption alignleft" style="width: 241px"><img class="size-full wp-image-140 " title="myspaceGA" src="http://www.edzis.com/wordpress/wp-content/uploads/2009/08/myspaceGA.png" alt="myspaceGA" width="231" height="145" /><p class="wp-caption-text">Tracking without JavaScript using gaforflash</p></div>
<p><span style="background-color: #ffffff;">I offer you a ready-made tracker for Google Analytics (GA) that can be used in Myspace or any other place where you are not allowed to use JavaScript. </span>For those who speak geek this is nothing new, this is mainly dedicated to non-users of flash.</p>
<p>As I was customizing the myspace profile for by friends&#8217; punk rock band <a title="Latvian punkrock factory with wings" href="http://www.myspace.com/cacophonics" target="_blank">Cacophonics</a> I realized the need to track users. As Google Analytics (my tracking system of choice) uses JavaScript but Myspace does not support that I set up a small tracker using gaforflash.</p>
<p>Once you have a GA account and have uploaded <span style="background-color: #ffffff;">somewhere the  <a title="Save the swf file" href="http://www.edzis.com/random/myspaceGA.swf" target="_blank">myspaceGA.swf</a> file you only need to copy the following code in your About section in Myspace and modyfie the highlighted values to represent your <span style="color: #ff6600;"><strong>GA account number</strong></span>, <span style="color: #3366ff;"><strong>url</strong></span> to locate the myspaceGA.swf and the <span style="color: #339966;"><strong>color </strong></span>of the 1 by 1 pixel area the swf file will take to match the background.</span></p>
<p><code>&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="1" width="1"&gt;<br />
&lt;param name="movie" value="<span style="color: #3366ff;"><strong>http://www.edzis.com/random/myspaceGA.swf</strong></span>?account=<span style="color: #ff6600;"><strong>UA-XXXXXXXX-Y</strong></span>" /&gt;<br />
&lt;param name="bgcolor" value="<span style="color: #008000;"><strong>080808</strong></span>" /&gt;<br />
&lt;embed type="application/x-shockwave-flash" src="<span style="color: #3366ff;"><strong>http://www.edzis.com/random/myspaceGA.swf</strong></span>?account=<span style="color: #ff6600;"><strong>UA-XXXXXXXX-Y</strong></span>" height="1" width="1" bgcolor="<span style="color: #008000;"><strong>080808</strong></span>" /&gt;<br />
&lt;/object&gt;</code></p>
<p>In case you do not have your own hosting server where to keep your own copy of myspaceGA.swf you can risk to use the current url for it. However but I do not guarantee that the file will always be there and available to you. In case of any changes I will notify everyone who posts a comment on this blog.</p>
<p>And just in case you want to know how this was done &#8211; here is the code you can use:</p>
<pre><code>package {
	import com.google.analytics.AnalyticsTracker;
	import com.google.analytics.GATracker;
	import flash.display.Sprite;
	import flash.events.Event;

	/**
	 * ...
	 * @author Edgars Simsons, edzis on edzis (dot) com, www.edzis.com
	 */
	public class Main extends Sprite {
		private var tracker	:AnalyticsTracker;

		public function Main():void {
			if (stage) init();
			else addEventListener(Event.ADDED_TO_STAGE, init);
		}

		private function init(e:Event = null):void {
			removeEventListener(Event.ADDED_TO_STAGE, init);
			// entry point

			var account:String = loaderInfo.parameters.account;

			if (account == null || account == "") return;
			tracker = new GATracker(this, account);
			tracker.trackPageview();
		}
	}
}</code></pre>
<img src="http://feeds.feedburner.com/~r/edzis/~4/1TcXstkUlF4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2009/08/google-analytics-for-myspace/feed/</wfw:commentRss>
		<slash:comments>46</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2009/08/google-analytics-for-myspace/</feedburner:origLink></item>
		<item>
		<title>3D dice with rounded edges</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/vD4ojnuFP98/</link>
		<comments>http://www.edzis.com/2009/03/3d-dice-with-rounded-edges/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 14:31:38 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>

		<guid isPermaLink="false">http://edzis.wordpress.com/?p=130</guid>
		<description><![CDATA[This is a 3D dice I made in FIVe3D. It has rounded edges that animates with rotation to the next score.
A couple of weeks ago I had to add a dice for a game my colleague was developing. Scanning the net did not give any satisfactory results so I set off to make it myself. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_132" class="wp-caption alignleft" style="width: 210px"><a href="http://www.edzis.com/dice/"><img class="size-full wp-image-132" title="dice" src="http://www.edzis.com/wordpress/wp-content/uploads/2009/03/dice.gif" alt="3D Dice. Click to view in action" width="200" height="200" /></a><p class="wp-caption-text">3D dice. Click to view in action</p></div>
<p>This is a 3D dice I made in FIVe3D. It has rounded edges that animates with rotation to the next score.</p>
<p>A couple of weeks ago I had to add a dice for a game my colleague was developing. Scanning the net did not give any satisfactory results so I set off to make it myself. As I knew there will be vectors only I chose to use this task to check out <a title="FIVe3D - interactive vector based 3D engine for Flash" href="http://five3d.mathieu-badimon.com/" target="_blank">FIVe3D</a>. After dropping the idea to implement real physics I made the first static dice rather fast -  just a cube with 6 faces and circles on them.  The sharp corners just did not fit the the design requirements. So in a dirty way I squeezed in some extra rectangles and triangles between the 6 faces of the cube what made the corners appear rounded. For the outlines see the image on the side. Sadly this broke the shadows being drawn correctly; I tried to overcome this problem but did not succeed  (but maybe someone else wants to try it out).</p>
<div id="attachment_131" class="wp-caption alignright" style="width: 138px"><a href="http://www.edzis.com/wordpress/wp-content/uploads/2009/03/dice_outlines.gif"><img class="size-thumbnail wp-image-131 " title="dice_outlines" src="http://www.edzis.com/wordpress/wp-content/uploads/2009/03/dice_outlines.gif" alt="Outlines of the cube edges" width="128" /></a><p class="wp-caption-text">Outlines of the cube edges</p></div>
<p>The dice is easily customizable. You can change it&#8217;s size, view angle and light effects. The dice&#8217;s <code>roll()</code> method accepts a previously chosen target value, but can generate it on random. An event is dispatched after the roll animation has completed. It has a slightly different animation depending on mouse position.</p>
<p>View <a title="3D dice with rounded edges in FIVe3D by Edgars Simsons (edzis)" href="http://www.edzis.com/dice/" target="_blank">the example</a> and download <a title="Source code of 3D dice" href="http://www.edzis.com/dice/Dice_five3d.zip">project source</a>. Let me know if you find it useful.</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/vD4ojnuFP98" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2009/03/3d-dice-with-rounded-edges/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2009/03/3d-dice-with-rounded-edges/</feedburner:origLink></item>
		<item>
		<title>Version 2 of Tree generator in 25 lines of ActionScript</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/ch2WBdp4Yq0/</link>
		<comments>http://www.edzis.com/2009/01/tree-generator-2/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 10:35:08 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Player 10]]></category>

		<guid isPermaLink="false">http://edzis.wordpress.com/?p=120</guid>
		<description><![CDATA[January 2009 finalists of the 25-Line ActionScript Contest have been announced and sadly my entry is not among them. Therefore, to fulfill my desire of sharing I present you Tree generator 2. And for my fellow coders here is the source. Just a small tip &#8211; click on the stage to start a new tree.
This [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_121" class="wp-caption alignleft" style="width: 210px"><a href="http://www.edzis.com/tree_generator2/" target="_blank"><img class="size-full wp-image-121" title="Tree generator version 2" src="http://www.edzis.com/wordpress/wp-content/uploads/2009/01/tree_generator2.gif" alt="Sample image of Tree generator 2" width="200" height="200" /></a><p class="wp-caption-text">25 line Tree generator version 2. Click to view</p></div>
<p>January 2009 finalists of the 25-Line ActionScript Contest have been announced and sadly my entry is not among them. Therefore, to fulfill my desire of sharing I present you <a title="Tree Generator in 25 lines of ActionScript, version 2" href="http://www.edzis.com/tree_generator2/" target="_blank">Tree generator 2</a>. And for my fellow coders <a title="Source code of Tree Generator 2" href="http://www.edzis.com/tree_generator2/tree_generator2.as" target="_blank">here is the source</a>. Just a small tip &#8211; click on the stage to start a new tree.</p>
<p>This time it is more math than flash &#8211; the tree is drawn by generating 3D vectors (with critical parameters of rotationY, rotationZ, length)  for branches and changing them accordingly to their age  and their parent branch position.</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/ch2WBdp4Yq0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2009/01/tree-generator-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2009/01/tree-generator-2/</feedburner:origLink></item>
		<item>
		<title>AS3 preloaders made easy in FlashDevelop</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/_JhD_O71fks/</link>
		<comments>http://www.edzis.com/2009/01/as3-preloaders-flashdevelop/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 14:04:21 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash platform]]></category>
		<category><![CDATA[code editor]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[preloader]]></category>

		<guid isPermaLink="false">http://edzis.wordpress.com/?p=79</guid>
		<description><![CDATA[ In my code based approach to development I frequently come across the problem of adding a preloader. For projects which are made in Flash authoring the typical one file approach is to add a light preloader in frame 1 of your fla and stuck everything else (including the classes) in frame 2. But how do [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_91" class="wp-caption alignleft" style="width: 210px"><a href="http://www.edzis.com/preloadertest/" target="_blank"><img class="size-full wp-image-91" title="Test project for AS3 preloader in FlashDevelop" src="http://www.edzis.com/wordpress/wp-content/uploads/2009/01/flashdevelop_preloader.gif" alt="AS3 Preloader in FlashDevelop" width="200" height="200" /></a><p class="wp-caption-text">AS3 preloader in FlashDevelop. Click to view swf</p></div>
<p> In my code based approach to development I frequently come across the problem of adding a preloader. For projects which are made in Flash authoring the typical one file approach is to add a light preloader in frame 1 of your fla and stuck everything else (including the classes) in frame 2. But how do you make that if you don&#8217;t even have an fla file? My favorite code editor <a title="FlashDevelop - a free and open source code editor, created for Flash and ActionScript" href="http://www.flashdevelop.org/" target="_blank">FlashDevelop</a> has this feature for AS2 already quite a while. As of <a title="FlashDevelop 3.0 Beta8" href="http://www.flashdevelop.org/community/viewtopic.php?f=11&amp;t=3470" target="_blank">beta8 release</a> a similar preloader solution was added also for AS3 projects and today, inspired by <a title="Preloaders by great agencies" href="http://www.prettyloaded.com/" target="_blank">Pretty Loaded</a> from <a title="Creative agency Big Spaceship" href="http://labs.bigspaceship.com/2009/01/12/pretty-loaded/" target="_blank">Big Spaceship</a>, I finally put my hands on it and created an test project.</p>
<p>As a developer you only need to:<br />
1. create a new project using the template <em>AS3 Project with Preloader</em>,<br />
2. add preloader visuals and logic in the generated Preloader.as,<br />
3. add all the rest of the project in the generated Main.as, the same as for a regular project,<br />
4. compile and enjoy.</p>
<p><img class="size-full wp-image-81 alignright" title="preloadertest_swfexplore" src="http://www.edzis.com/wordpress/wp-content/uploads/2009/01/preloadertest_swfexplore1.gif" alt="preloadertest_swfexplore" width="249" height="255" />If you look at my screenshot or explore your resulting swf, it is can be understood that the first frame contain only the Preloader class and the rest is stuffed on frame 2. Bot how is it done? In step 1 FlashDevelop does a couple of things behind the scenes to tie together the Preloader and Test classes, but most of the magic comes from adding a compiler option <code>-frame start com.edzis.preloadertest.Test</code>. This tells the Flex compiler to add an additional frame, add a label <code>start</code> to it and include class <code>com.edzis.preloadertest.Test</code>  in it. You may read the <a title="Preloader template explained by FlashDevelop team" href="http://http://www.flashdevelop.org/community/viewtopic.php?f=9&amp;t=3952#p18248" target="_blank">discussion about this feature</a> on FlashDevelop forum or take a look at <a title="Flex SDK compiler options" href="http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html" target="_blank">compiler option documentation</a>. Note that the used <code>-frame</code> option is just a shortcut to the official <code>-frames.frame</code>.</p>
<p>You have to be careful if you change the name of your Main.as to something else; this requires changes in 2 other places: <br />
1. <code>var mainClass:Class = getDefinitionByName("YourClass") as Class;</code> in <code>Preloader.as</code>,<br />
2. <code>-frame start YourClass</code> in Project Properties -&gt; Compiler Options -&gt; Additional Compiler Options.</p>
<p>I don&#8217;t have much experience with Flex Builder or FDT, but I guess they do not have such feature. But as long as you use the same templates for Preloader and Main classes and find the right place to add the compiler options, there are no other limits.</p>
<p>Feel free to <a title="AS3 preloader in FlashDevelop" href="http://www.edzis.com/preloadertest/" target="_blank">view the preloader in action</a> and <a title="Source for AS3 preloader in FlashDevelop" href="http://www.edzis.com/preloadertest/preloaderTest.zip" target="_blank">download project source</a>.</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/_JhD_O71fks" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2009/01/as3-preloaders-flashdevelop/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2009/01/as3-preloaders-flashdevelop/</feedburner:origLink></item>
		<item>
		<title>Tree generator in 25 lines of ActionScript</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/urRCPNoucD4/</link>
		<comments>http://www.edzis.com/2008/12/tree-generator/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 12:06:35 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Player 10]]></category>
		<category><![CDATA[25lines]]></category>
		<category><![CDATA[tree]]></category>

		<guid isPermaLink="false">http://edzis.wordpress.com/?p=30</guid>
		<description><![CDATA[I am writing a bit late, but just wanted to share that I as well had submited my entry for the The 25-Line ActionScript Contest &#8211; Tree Generator. For those not yet informed the competition is a revamp of the 2000 Flash MX 6 ActionScript 1 version, made alive by Keith Peters. on time with the [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_31" class="wp-caption alignleft" style="width: 160px"><a href="http://ww.edzis.com/tree_generator/"><img class="size-thumbnail wp-image-31        " title="View Tree generator" src="http://www.edzis.com/wordpress/wp-content/uploads/2008/11/tree.gif?w=150" alt="Sample tree by Tree Generator" width="150" height="175" /></a><p class="wp-caption-text">View Tree Generator</p></div>
<p>I am writing a bit late, but just wanted to share that I as well had submited my entry for the <a title="25-Line ActionScript Contest" href="http://www.25lines.com">The 25-Line ActionScript Contest</a> &#8211; Tree Generator. For those not yet informed the competition is a revamp of the 2000 Flash MX 6 ActionScript 1 version, made alive by <a title="BIT-101" href="http://www.bit-101.com/">Keith Peters.</a> on time with the release of Flash CS4. It is planned as a regular contest with cool prizes, starting with Adobe CS4 Suite.</p>
<p>Flash has changed a lot during the years and some folks are complaining that AS has become harder, too verbose, and that it takes more code to do the same things compared to AS1. I see this competition as a part of Keith Peters&#8217; initiative to <a title="Putting the Flash Back in Flash" rel="bookmark" href="http://www.bit-101.com/blog/?p=1453" target="_blank">put the Flash Back in Flash</a>.</p>
<p>As I am always amazed by the fields where technology touches the real world, I wanted to build something connected to nature. I know that other have already made really nice trees, but I saw some space for optimisation &#8211; <a title="Grant Skinner's Elm Tree Branching Experiment" href="http://www.gskinner.com/blog/archives/2008/01/elm_tree_branch.html" target="_blank">sorry, Grant, but trees don&#8217;t grow that way</a>. So, I made a growth animation, from a small culm to a full-grown tree only in 25 lines. I did not made it into the top 12, but I still want to share. Take a look at the <a href="http://www.edzis.com/tree_generator/tree_generator.as">code</a> and <a title="Tree Generator - my entry for 25 lines of code competition" href="http://www.edzis.com/tree_generator/">swf</a> and see the <a class="taggedlink entry-title" title="Permanent Link to November/December Finalists" rel="bookmark" href="http://www.25lines.com/?page_id=139">November/December Finalists</a>.</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/urRCPNoucD4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2008/12/tree-generator/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2008/12/tree-generator/</feedburner:origLink></item>
		<item>
		<title>Event Tracking in Google Analytics</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/VGaQ8N0xF20/</link>
		<comments>http://www.edzis.com/2008/11/event-tracking-in-google-analytics/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 09:42:34 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[Flash platform]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[event tracking]]></category>
		<category><![CDATA[gaforflash]]></category>

		<guid isPermaLink="false">http://edzis.wordpress.com/?p=49</guid>
		<description><![CDATA[Google recently announced Google Analytics Tracking For Adobe Flash by publishing gaforflash library. This is a standardized and officially supported way for flash platform to track pageviews and events, with the second available only in Event Tracking Beta. Yesterday I checked it out.
After some misunderstandings in the initiation process (tracker has to be of type AnalyticsTracker instead [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_50" class="wp-caption alignleft" style="width: 310px"><a rel="attachment wp-att-50" href="http://www.edzis.com/2008/11/event-tracking-in-google-analytics/event_tracking_google_analytics/"><img class="size-full wp-image-50" title="event_tracking_google_analytics" src="http://www.edzis.com/wordpress/wp-content/uploads/2008/11/event_tracking_google_analytics.gif" alt="Events are visible in Google Analytics despite&lt;br /&gt; not being enrolled in Event Tracking Beta" width="300" height="170" /></a><p class="wp-caption-text">Events are visible in Google Analytics despite not being enrolled in Event Tracking Beta</p></div>
<p>Google recently <a title="Blog post announcing Google Analytics Tracking For Adobe Flash" href="http://analytics.blogspot.com/2008/11/want-to-track-adobe-flash-now-you-can.html" target="_blank">announced</a> Google Analytics Tracking For Adobe Flash by publishing <a title="Google Analytics Tracking For Adobe Flash open source library" href="http://code.google.com/p/gaforflash/" target="_blank">gaforflash library</a>. This is a standardized and officially supported way for flash platform to track pageviews and events, with the second available only in Event Tracking Beta. Yesterday I checked it out.</p>
<p>After some misunderstandings in the initiation process (tracker has to be of type AnalyticsTracker instead of GATracker) I got my pageviews tracked. But, as i am not enrolled in Event Tracking Beta, the GA user interface did not provide me with access to the events I had tracked. But today I <a title="Discussion on Google groups about access to Event Tracking" href="http://groups.google.com/group/analytics-help-basics/browse_thread/thread/3d829a08c4368b23" target="_blank">found</a> the cure for that &#8211; it is still possible to access event data by navigating to Content Overview and changing the URL from <strong>/analytics/reporting/content</strong> to <strong>/analytics/reporting/events</strong>.</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/VGaQ8N0xF20" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2008/11/event-tracking-in-google-analytics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2008/11/event-tracking-in-google-analytics/</feedburner:origLink></item>
		<item>
		<title>Blur on rotationY = 0? Use transform.matrix</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/53zqw0qkqb4/</link>
		<comments>http://www.edzis.com/2008/11/blur-on-rotationy-0-use-transformmatrix/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 13:55:50 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[Adobe Air]]></category>
		<category><![CDATA[Flash Player 10]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix3D]]></category>

		<guid isPermaLink="false">http://edzis.wordpress.com/?p=11</guid>
		<description><![CDATA[If you have run across bad quality visuals after doing DisplayObject transformations in 3D (rotationX, rotationY, rotationY or z-axis modifications) you might want to use transform.matrix to get back the quality.
I wanted to make a simple 3D animation in Adobe AIR 1.5 / FlashPlayer10 content in AIR &#8211; the DisplayObject should rotate around the Y [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_12" class="wp-caption alignnone" style="width: 610px"><a href="http://www.edzis.com/wordpress/wp-content/uploads/2008/11/transform.gif"><img class="size-full wp-image-12 " title="transform" src="http://www.edzis.com/wordpress/wp-content/uploads/2008/11/transform.gif" alt="matrix3D vs matrix in image quality" width="600" height="100" /></a><p class="wp-caption-text">matrix3D vs matrix in image quality</p></div>
<p>If you have run across bad quality visuals after doing DisplayObject transformations in 3D (rotationX, rotationY, rotationY or z-axis modifications) you might want to use transform.matrix to get back the quality.</p>
<p>I wanted to make a simple 3D animation in Adobe AIR 1.5 / FlashPlayer10 content in AIR &#8211; the DisplayObject should rotate around the Y axis from 90 to 0. The animation worked fine, but as soon I was changing the rotationY the content got blurry, even if i just set the rotationY to 0. I tried different solutions and was about to shout out for help when I remembered reading somewhere that as soon as the third dimension is applied to a Display object its transform.matrix is replaced with transform.matrix3D. And indeed after the animation is done I <strong>set DisplayObject.transform.matrix</strong> and the blur is gone! Flash removes all the 3D transformations. You might see that the image on right is much crisper, especially on the small horizontal lines.</p>
<p>However, if anybody knows why the content is blurred the first place despite no actual 3D transformation and/or other solutions how to remove it, I would love to hear that!</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/53zqw0qkqb4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2008/11/blur-on-rotationy-0-use-transformmatrix/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2008/11/blur-on-rotationy-0-use-transformmatrix/</feedburner:origLink></item>
		<item>
		<title>onAIR 2008 Berlin reflection</title>
		<link>http://feedproxy.google.com/~r/edzis/~3/wAldNOAVprw/</link>
		<comments>http://www.edzis.com/2008/06/onair-2008-berlin-observations/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 11:14:27 +0000</pubDate>
		<dc:creator>edzis</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://office.true-vision.net/edzis/?p=7</guid>
		<description><![CDATA[
I returned from onAIR tour event in Berlin already last week, but still wanted to share a thing that stayed on my mind.
A bit to my surprise in the presentations flex and html/js/ajax seemed to be represented to higher extent than flash was. In the projects mentioned there seemed to be heavy html and flash [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.edzis.com/wordpress/wp-content/uploads/2008/11/onair2008berlin_edzis.jpg"><img src="http://www.edzis.com/wordpress/wp-content/uploads/2008/11/onair2008berlin_edzis.jpg" alt="onair2008berlin_edzis" title="onair2008berlin_edzis" width="700" height="284" class="alignnone size-full wp-image-8" /></a></p>
<p>I returned from <a href="http://onair.adobe.com/schedule/cities/berlin.php">onAIR tour event in Berlin</a> already last week, but still wanted to share a thing that stayed on my mind.</p>
<p>A bit to my surprise in the presentations flex and html/js/ajax seemed to be represented to higher extent than flash was. In the projects mentioned there seemed to be heavy html and flash integration. As in AIR you have different development platforms mutually integrated, you can choose the right tools for each problem. To help chose the right platform for a particular project <a href="http://www.theflashblog.com/">Lee Brimelow</a> pointed out advantages/differences of flash and flex. He noted that flash would fit best in a project where there is a need for animations, video, custom design and higher needs for performance, while flex makes more sense for projects with structured layout, data binding and component usage. He also marked coding comfort as an advantage for flex (actually referring to FlexBuilder) compared to the lousy AS editor in Flash IDE, but I would not count that in, as a lot of flash programmers are using other code editors. A good example of using the right tool was when somebody mentioned using <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/html/HTMLLoader.html">HTMLLoader</a> inside a flash based chat app to render and scroll text messages &#8211; <a href="http://webkit.org/">Webkit</a>, the html engine in AIR (and also Safari, by the way), renders text better that flash.</p>
<p>All in all I did not discover anything stunningly new, but got a better feel how AIR manages to integrate various technologies into one consistent API.</p>
<img src="http://feeds.feedburner.com/~r/edzis/~4/wAldNOAVprw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.edzis.com/2008/06/onair-2008-berlin-observations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.edzis.com/2008/06/onair-2008-berlin-observations/</feedburner:origLink></item>
	</channel>
</rss>
