<?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>Helpful stuff on Flash, ActionScript, After Effects etc</title>
	<atom:link href="http://www.campjohn.dk/wp/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.campjohn.dk/wp</link>
	<description>cases, code, tips and guidance</description>
	<lastBuildDate>Thu, 15 Jul 2010 10:45:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>new blog, closing this blog down</title>
		<link>http://www.campjohn.dk/wp/?p=1929</link>
		<comments>http://www.campjohn.dk/wp/?p=1929#comments</comments>
		<pubDate>Sat, 08 May 2010 12:33:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ikke kategoriseret]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1929</guid>
		<description><![CDATA[Hi all.
First of all:
To everyone: Thanks for reading and commenting on this blog.
After more than 100 post and 3 years of bloggin&#8217; on campjohn.dk I&#8217;ve accepted to start up on a blog written in danish instead.
The new blog can be read here:
http://bit.ly/a8NiC5
Please check it out, there might still be useful stuff to look at at [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all.</p>
<p>First of all:<br />
To everyone: Thanks for reading and commenting on this blog.</p>
<p>After more than 100 post and 3 years of bloggin&#8217; on campjohn.dk I&#8217;ve accepted to start up on a blog written in danish instead.<br />
The new blog can be read here:<br />
<a href="http://bit.ly/a8NiC5">http://bit.ly/a8NiC5</a></p>
<p>Please check it out, there might still be useful stuff to look at at the new blog though written in danish.<br />
This blog will live on, and with more that 100 visitors a day, I will repeatedly respond to comments and questions.<br />
But no new blog-content is planned!</p>
<p>Thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1929</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After Effects: trying to create fake depth of field</title>
		<link>http://www.campjohn.dk/wp/?p=1909</link>
		<comments>http://www.campjohn.dk/wp/?p=1909#comments</comments>
		<pubDate>Tue, 23 Mar 2010 11:39:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[After Effects]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1909</guid>
		<description><![CDATA[soon I&#8217;ll be doing a series of vodcasts / short personal video presentations.
thinking this task through and trying to gather inspiration I stumbled upon this short interview with Ralph Hauwert by Lee Brimelow.
this is actually what I really want.

a crystal clear video of the presenter and a background so far away/blurred that your attention is [...]]]></description>
			<content:encoded><![CDATA[<p>soon I&#8217;ll be doing a series of vodcasts / short personal video presentations.<br />
thinking this task through and trying to gather inspiration I stumbled upon this short interview with Ralph Hauwert by Lee Brimelow.<br />
this is actually what I really want.</p>
<p><object width="601" height="338"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10171604&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10171604&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object></p>
<p>a crystal clear video of the presenter and a background so far away/blurred that your attention is 100% at the presenter. so I found a nice naturally lit location, almost always available for filming and tried doing 2 different test-presentations.</p>
<p>on this first test-presentation, I&#8217;ve placed the presenter in the middle of the room, placed myself at the end of the room, and then zoomed in on the presenter to boost the depth of field effect:</p>
<p><object width="601" height="338"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10230368&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10230368&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object></p>
<p>and on this second test-presentation, I&#8217;ve placed the presenter and myself at the end of the room to see, if it made any difference on the depth of field effect:</p>
<p><object width="601" height="338"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10232840&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10232840&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object></p>
<p>shortly, I get a depth of field effect on both my vodcasts, but not at all the same smooth style as the one on Lee Brimelows interview. of course, Lee&#8217;s interview is filmed with a <em>EOS 7D with Canon 50mm 1.4</em> while my vodcast is filmed with a <em>Canon Legria HFS100</em>, and I&#8217;m not at all sure these are capable of doing the same kind of footage/film.<br />
but still I hoped for a much better result.</p>
<p>without success I&#8217;ve tried creating not the same, but a similar effect using the <a href="http://maltaannon.com/articles/after-effects/spot-focus/" target="_blank">spot focus effect</a> by Jerzy Drozda Jr, but this does not at all work with a vodcast like the one I&#8217;m creating:</p>
<p><object width="601" height="338"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10343695&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10343695&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object></p>
<p>I <em>could</em> try making a mask precisely masking the person presenting and then blurring the rest, but as these vodcasts could last for minutes and the presenter is very unlikely to not change position from time to time I fear a LOT of work succeeding with this technique..</p>
<p>so this brings me to these final questions:<br />
1) <strong>is the setup of film correct if the task is to create a good depth of field.. I mean how should I place myself and the presenter in the room to get the best depth of field effect?</strong><br />
2) <strong>and if the setup actually is correct, can I in any way easily get that beautiful depth of field using any effect in After Effects?</strong></p>
<p>thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1909</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>After Effects: creating a viral film</title>
		<link>http://www.campjohn.dk/wp/?p=1895</link>
		<comments>http://www.campjohn.dk/wp/?p=1895#comments</comments>
		<pubDate>Wed, 17 Mar 2010 22:25:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[After Effects]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1895</guid>
		<description><![CDATA[yes, that&#8217;s right.
I&#8217;ve tried creating my own viral film.
so what makes a viral film viral?
well, in my opinion, it has to be something that you either hate or love, find funny or tragic, or something that in some way affect you.
something that affects you so much, that you want to share it with someone.

the theme [...]]]></description>
			<content:encoded><![CDATA[<p>yes, that&#8217;s right.<br />
I&#8217;ve tried creating my own viral film.<br />
so what makes a viral film viral?<br />
well, in my opinion, it has to be something that you either hate or love, find funny or tragic, or something that in some way affect you.<br />
something that affects you so much, that you want to share it with someone.<br />
<strong><br />
the theme for my viral film.</strong><br />
for my viral film, I&#8217;ve chosen the theme young vs old.<br />
you all know when someone old corrects someone young by telling him, how easy it is to be a kid nowadays.<br />
or by telling that being a kid in the old days was no fun at all.<br />
sentences like:<br />
&#8220;<em>When I was a kid, we had 14 meters of snow each night!</em>&#8221; and &#8220;<em>In my days, I was lucky if I even got anything to eat on my birthday!</em>&#8221; are both very recognizable :O)<br />
so my theme kind of reverts this.<br />
my theme shows how kids had fun in the old days. and by choosing some very poor examples of fun, it adds a sarcastic, funny angle to the old vs young debate.<br />
hopefully this funny angle is so funny, that people want to share this film with friends or family, making the film a viral film.<br />
<strong><br />
filming and locations</strong><br />
the film was filmed on march 2010 with a Canon Legria HFS100.<br />
I tried filming is so old environments as possible, and besides from seeing the tip of a car for a few seconds, I think everything actually looks very realistic and oldish.<br />
by the way, let&#8217;s actually call the car a deliberate mistake, film geeks love stuff like this <img src='http://www.campjohn.dk/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
everything is edited and masked in After Effects, and I used Fast Blur and Posterize Time effects.<br />
the signs between each film is made by <a href="http://www.bjerg-ko.dk/" target="_blank">Dorthe Lange Bjerg</a>, thanks!</p>
<p><object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10637435&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10637435&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object></p>
<p>the video is actually quite large &#8211; 1280 x 720 pixel &#8211; so it looks kinda alright in fullscreen too.<br />
<a href="http://bit.ly/db6Iy6" target="_blank">watch the film on vimeo</a> for full options if you please.<br />
and remember, if you like this film very much, post it on facebook, tweet about it or pass it on to your friends and family. thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1895</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>the easy way to create dummyimages for your Flash projects</title>
		<link>http://www.campjohn.dk/wp/?p=1887</link>
		<comments>http://www.campjohn.dk/wp/?p=1887#comments</comments>
		<pubDate>Thu, 11 Mar 2010 20:03:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1887</guid>
		<description><![CDATA[I just read about this great service, that easily creates dummyimages for you.
it&#8217;s actually called dummyimage.com, try it here:
visit dummyimage.com to see how easy it is to create those dummyimages
so much is customizeable, you can create a certain sized dummyimage like this:
http://dummyimage.com/600&#215;400
you can even decide that you want the dummyimage to have a yellow background:
http://dummyimage.com/600&#215;400/FC0
and [...]]]></description>
			<content:encoded><![CDATA[<p>I just read about this great service, that easily creates dummyimages for you.<br />
it&#8217;s actually called dummyimage.com, try it here:<br />
<a href="http://dummyimage.com/" target="_blank">visit dummyimage.com to see how easy it is to create those dummyimages</a></p>
<p>so much is customizeable, you can create a certain sized dummyimage like this:<br />
<a href="http://dummyimage.com/600x400" target="_blank">http://dummyimage.com/600&#215;400</a></p>
<p>you can even decide that you want the dummyimage to have a yellow background:<br />
<a href="http://dummyimage.com/600x400/FC0" target="_blank">http://dummyimage.com/600&#215;400/FC0</a></p>
<p>and that the textcolor on the dummy image is white:<br />
<a href="http://dummyimage.com/600x400/FC0/fff" target="_blank">http://dummyimage.com/600&#215;400/FC0/fff</a></p>
<p>you can also choose between formats, chooses between .jpg, .gif and .png:<br />
<a href="http://dummyimage.com/600x400/FC0/fff.png" target="_blank">http://dummyimage.com/600&#215;400/FC0/fff.png</a></p>
<p>and finally you can customize the text written on the dummyimage:<br />
<a href="http://dummyimage.com/600x400/FC0/fff.png&#038;text=dummyimage.com+rocks!" target="_blank">http://dummyimage.com/600&#215;400/FC0/fff.png&#038;text=dummyimage.com+rocks!</a></p>
<p>amazing, absolutely amazing.<br />
this will indeed come in very handy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1887</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash: tracking rightclicks from Flash with Google Analytics</title>
		<link>http://www.campjohn.dk/wp/?p=1857</link>
		<comments>http://www.campjohn.dk/wp/?p=1857#comments</comments>
		<pubDate>Mon, 08 Mar 2010 22:02:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Google Annlytics]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1857</guid>
		<description><![CDATA[for a long time, I&#8217;ve been adding my own custom context menu to almost everything I&#8217;ve created in Flash.
this means, that when someone rightclicks my Flash, they will see this menu:

and what good has this rightclick menu done me..
well, it links to my blog, right, but has anyone ever come to my blog from this [...]]]></description>
			<content:encoded><![CDATA[<p>for a long time, I&#8217;ve been adding my own custom context menu to almost everything I&#8217;ve created in Flash.<br />
this means, that when someone rightclicks my Flash, they will see this menu:<br />
<img src="http://campjohn.dk/AS3/Co3/Sanita/RightClick/SanitaRightClick.jpg" alt="the rightclick menu from my swf" /></p>
<p>and what good has this rightclick menu done me..<br />
well, it links to my blog, right, but has anyone ever come to my blog from this rightclick menu?<br />
actually, I don&#8217;t know, but now I&#8217;ve decided to do something about it!</p>
<p><strong>setting up a link that will be trackable in Google Analytics:</strong><br />
I&#8217;ve changed the link in my right click menu from<br />
<em>&#8220;http://campjohn.dk/wp/&#8221;</em> to<br />
<em>&#8220;http://campjohn.dk/wp/?utm_source=Sanita&#038;utm_medium=flash&#038;utm_campaign=rightclick&#8221;</em></p>
<p>by doing this, I can now use Google Analytics to actually track how many gets to my blog from my rightclick menu.<br />
<img src="http://campjohn.dk/AS3/Co3/Sanita/RightClick/SanitaGA.jpg" alt="tracking right clicks from Google Analytics in Flash" /></p>
<p>as you can see, the only rightclick I have so far is the one I&#8217;ve generated myself &#8211; for the sake of this blogpost.<br />
but in the future I will be able to actually see how many use my rightclick menu.<br />
<strong><br />
sorting the tracking of clicks in Google Analytics by using the source parameter:</strong><br />
AND, if using the parameter source (on the picture marked with a red circle) I can filter where the rightclicks come from.<br />
the one I&#8217;ve tracked so far comes from this link:<br />
<em>&#8220;http://campjohn.dk/wp/?utm_source=Sanita&#038;utm_medium=flash&#038;utm_campaign=rightclick&#8221;</em><br />
because the rightclick comes from a Flash made for Sanita.</p>
<p>but if I were to make Flash for i. e. casino.dk, I could use this link<br />
<em>&#8220;http://campjohn.dk/wp/?utm_source=Casino&#038;utm_medium=flash&#038;utm_campaign=rightclick&#8221;</em></p>
<p>and the I would be able to filter all my rightclicks by either the parameter Sanita or Casino and see how many rightclicks each of the Flash&#8217;s has generated.<br />
quite nice!<br />
<strong><br />
related post on Google Analytics:</strong><br />
<a href="http://www.campjohn.dk/wp/?p=1324" target="_blank">ActionScript 3.0: tracking video progress using JavaScript and Google Analytics</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1857</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>showcase: Sanita workwear Flash, part 2</title>
		<link>http://www.campjohn.dk/wp/?p=1846</link>
		<comments>http://www.campjohn.dk/wp/?p=1846#comments</comments>
		<pubDate>Sat, 06 Mar 2010 21:50:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Timeline animation]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1846</guid>
		<description><![CDATA[the assignment:
having made an intro for Sanita in Flash, they luckily liked it so much, that they actually requested a variation of the Flash.
this time the Flash-file should be smaller in file size (the original was 262kb) and have almost no text, just statements and pictures.
what we did to keep the file size down was [...]]]></description>
			<content:encoded><![CDATA[<p><strong>the assignment:</strong><br />
having made an intro for Sanita in Flash, they luckily liked it so much, that they actually requested a variation of the Flash.<br />
this time the Flash-file should be smaller in file size (the original was 262kb) and have almost no text, just statements and pictures.<br />
what we did to keep the file size down was to actually create not 1 but 2 variations of the intro.<br />
each of the variations holds 3 pictures that they loop through.<br />
using only 3 pictures in each variation keeps the file size of the variations at 110kb and 115kb, and by creating 2 different variations, it not only makes the use of the variations more flexible, it also still uses the 6 desired pictures for the variations.</p>
<p><img src="http://www.campjohn.dk/AS3/Co3/Sanita/Front2010/01/Sanita.jpg" alt="The Sanita workwear Flash" /></p>
<p><a href="http://campjohn.dk/AS3/Co3/Sanita/Front2010small1/SanitaSmall1.html" target="_blank">click here to see the result of the first Sanita workwear Flash variation</a><br />
<a href="http://campjohn.dk/AS3/Co3/Sanita/Front2010small2/SanitaSmall2.html" target="_blank">click here to see the result of the second Sanita workwear Flash variation</a><br />
<strong><br />
the intro:</strong><br />
here is the original intro that the variations are created from:<br />
<a href="http://www.campjohn.dk/wp/?p=1811" target="_blank">click here to see the original Sanita workwear Flash intro assignment</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1846</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After Effects: Catwalk TV ad demo for BON&#8217;A PARTE</title>
		<link>http://www.campjohn.dk/wp/?p=1832</link>
		<comments>http://www.campjohn.dk/wp/?p=1832#comments</comments>
		<pubDate>Wed, 03 Mar 2010 06:11:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[After Effects]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1832</guid>
		<description><![CDATA[twice a year or more, I edit catwalk video for BON&#8217;A PARTE.
the main work is to color correct the video and make small videos of each set of clothes.
having done this in january, I decided to make a small TV ad-like demo:
I wanted to use only existing material, and I wanted to set it up [...]]]></description>
			<content:encoded><![CDATA[<p>twice a year or more, I edit catwalk video for BON&#8217;A PARTE.<br />
the main work is to color correct the video and make small videos of each set of clothes.<br />
having done this in january, I decided to make a small TV ad-like demo:</p>
<p>I wanted to use only existing material, and I wanted to set it up template based, so it would be fairly easy to reproduce next time catwalk video was shot.<br />
here&#8217;s what I ended up with:</p>
<p><object width="601" height="398"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9714923&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9714923&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="398"></embed></object></p>
<p>related post:<br />
<a href="http://www.campjohn.dk/wp/?p=1630" target="_blank">TV ad demo for Fleur in After Effects: </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1832</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ActionScript 3.0: zoom module for Priess</title>
		<link>http://www.campjohn.dk/wp/?p=1711</link>
		<comments>http://www.campjohn.dk/wp/?p=1711#comments</comments>
		<pubDate>Tue, 02 Mar 2010 20:10:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1711</guid>
		<description><![CDATA[I was asked to create a product zoom module for Priess, that would load one picture. when loaded I should create a small version of the picture, and when moving the mouse around on the small version of the picture, I should show that area in a zoom window.
first of all, check out the zoom [...]]]></description>
			<content:encoded><![CDATA[<p>I was asked to create a product zoom module for Priess, that would load one picture. when loaded I should create a small version of the picture, and when moving the mouse around on the small version of the picture, I should show that area in a zoom window.</p>
<p><a href="http://campjohn.dk/AS3/Co3/Priess/Priess.html" target="_blank">first of all, check out the zoom module for Priess made in Flash and ActionScript 3.0 here</a></p>
<p><img src="http://campjohn.dk/AS3/Co3/Priess/Priess.jpg" alt="The guitar used in this version of the zoom module for Priess" /></p>
<p><strong>here is the flow on how I&#8217;ve set the module up in ActionScript</strong>:<br />
1) I set up a preloader and a right click menu<br />
2) I load the picture<br />
3) when loaded I create a Bitmap version of the picture, that I scale and smooth so it will fit the scaled version window nicely<br />
4) then I add the big picture to the zoom window and and eventlisteners, that react, if the mouse moves around the scaled version window<br />
5) finally I set up the script that moves the big picture in the zoom window. the math for this is the tricky part, but keeping your head cool, it&#8217;s actually quite straight forward.</p>
<p><strong>here&#8217;s the entire script for the flow in ActionScript</strong>:</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">package <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> caurina.<span style="color: #006600;">transitions</span>.<span style="color: #006600;">Tweener</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Bitmap</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">BitmapData</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Loader</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #0066CC;">MovieClip</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">display</span>.<span style="color: #006600;">Sprite</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">Event</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">events</span>.<span style="color: #006600;">MouseEvent</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">net</span>.<span style="color: #006600;">URLRequest</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> MonsterDebugger;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> PriessZoomContent <span style="color: #0066CC;">extends</span> Sprite <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _thePicture:<span style="color: #0066CC;">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _md:MonsterDebugger;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _bigHolderWidth:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">374</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _loader:Loader = <span style="color: #000000; font-weight: bold;">new</span> Loader<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _interact:<span style="color: #0066CC;">Boolean</span> = <span style="color: #000000; font-weight: bold;">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _myPreloader:MyPreloader;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> PriessZoomContent<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//init();</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> init<span style="color: #66cc66;">&#40;</span>somePic:<span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _thePicture = somePic;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _md = <span style="color: #000000; font-weight: bold;">new</span> MonsterDebugger<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;_thePicture passed to the loaded flash = &quot;</span>+_thePicture<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadThePicture<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> loadThePicture<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _myPreloader = <span style="color: #000000; font-weight: bold;">new</span> MyPreloader<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _myPreloader.<span style="color: #006600;">x</span> = <span style="color: #cc66cc;">399</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _myPreloader.<span style="color: #006600;">y</span> = <span style="color: #cc66cc;">176</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; addChild<span style="color: #66cc66;">&#40;</span>_myPreloader<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _loader = <span style="color: #000000; font-weight: bold;">new</span> Loader<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _loader.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, pictureLoaded, <span style="color: #000000; font-weight: bold;">false</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _loader.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span>_thePicture<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> pictureLoaded<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:Event<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;pictureLoaded&quot;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _myPreloader.<span style="color: #006600;">x</span> = <span style="color: #cc66cc;">599</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; removeChild<span style="color: #66cc66;">&#40;</span>_myPreloader<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _loader.<span style="color: #006600;">contentLoaderInfo</span>.<span style="color: #006600;">removeEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">COMPLETE</span>, pictureLoaded<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> bmd:BitmapData = Bitmap<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">target</span>.<span style="color: #006600;">content</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">bitmapData</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> bm:Bitmap = <span style="color: #000000; font-weight: bold;">new</span> Bitmap<span style="color: #66cc66;">&#40;</span>bmd<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bm.<span style="color: #006600;">scaleX</span> = bm.<span style="color: #006600;">scaleY</span> = _bigHolderWidth <span style="color: #66cc66;">/</span> <span style="color: #cc66cc;">2000</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bm.<span style="color: #0066CC;">smoothing</span> = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;bm.width = &quot;</span>+bm.<span style="color: #0066CC;">width</span>+<span style="color: #ff0000;">&quot; &amp; bm.height = &quot;</span>+bm.<span style="color: #0066CC;">height</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BigHolder.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span>bm<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ZoomHolder.<span style="color: #006600;">zoomed</span>.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>.<span style="color: #0066CC;">target</span>.<span style="color: #006600;">content</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BigHolder.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>Event.<span style="color: #006600;">ENTER_FRAME</span>, bigHolderEvent, <span style="color: #000000; font-weight: bold;">false</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BigHolder.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OVER</span>, bigHolderOver, <span style="color: #000000; font-weight: bold;">false</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BigHolder.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>MouseEvent.<span style="color: #006600;">ROLL_OUT</span>, bigHolderOut, <span style="color: #000000; font-weight: bold;">false</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> bigHolderOver<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _interact = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> bigHolderOut<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:MouseEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _interact = <span style="color: #000000; font-weight: bold;">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> bigHolderEvent<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:Event<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>_interact<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ZoomHolder.<span style="color: #006600;">zoomed</span>.<span style="color: #006600;">getChildAt</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">x</span> = -<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>ZoomHolder.<span style="color: #006600;">zoomed</span>.<span style="color: #0066CC;">width</span> - ZoomHolder.<span style="color: #006600;">theMask</span>.<span style="color: #0066CC;">width</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">/</span> BigHolder.<span style="color: #0066CC;">width</span> <span style="color: #66cc66;">*</span> BigHolder.<span style="color: #006600;">mouseX</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ZoomHolder.<span style="color: #006600;">zoomed</span>.<span style="color: #006600;">getChildAt</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">y</span> = -<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>ZoomHolder.<span style="color: #006600;">zoomed</span>.<span style="color: #0066CC;">height</span> - ZoomHolder.<span style="color: #006600;">theMask</span>.<span style="color: #0066CC;">height</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">/</span> BigHolder.<span style="color: #0066CC;">height</span> <span style="color: #66cc66;">*</span> BigHolder.<span style="color: #006600;">mouseY</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#125;</span></div></div>
<p><strong>credits</strong>:<br />
<a href="http://www.sxc.hu/profile/scottsnyde" target="_blank">Scott Snyder</a> for the great guitar shot<br />
Alfred Priess A/S: <a href="http://www.priess.dk/">http://www.priess.dk/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1711</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>showcase: Sanita workwear Flash</title>
		<link>http://www.campjohn.dk/wp/?p=1811</link>
		<comments>http://www.campjohn.dk/wp/?p=1811#comments</comments>
		<pubDate>Sun, 28 Feb 2010 13:28:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Timeline animation]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=1811</guid>
		<description><![CDATA[just a quick post on this Sanita Flash.
the assignment:
- create a Flash that combines these pictures with the Sanita workwear needed in the situation.
- add an animated sequence besides the pictures.
- have it ready within 2 hours.

click here to see the result of the Sanita workwear Flash assignment
other recent showcases:
University College Mordjylland tabbed informationbar in [...]]]></description>
			<content:encoded><![CDATA[<p>just a quick post on this Sanita Flash.<br />
<strong>the assignment</strong>:<br />
- create a Flash that combines these pictures with the Sanita workwear needed in the situation.<br />
- add an animated sequence besides the pictures.<br />
- have it ready within 2 hours.</p>
<p><img src="http://www.campjohn.dk/AS3/Co3/Sanita/Front2010/01/Sanita.jpg" alt="The Sanita workwear Flash" /></p>
<p><a href="http://www.campjohn.dk/AS3/Co3/Sanita/Front2010/01/Sanita.html" target="_blank">click here to see the result of the Sanita workwear Flash assignment</a></p>
<p><strong>other recent showcases</strong>:<br />
<a href="http://www.campjohn.dk/wp/?p=742" target="_blank">University College Mordjylland tabbed informationbar in Flash</a><br />
<a href="http://www.campjohn.dk/wp/?p=1535" target="_blank">New Years Eve 2009 invitation</a><br />
<a href="http://www.campjohn.dk/wp/?p=1317" target="_blank">Xmas 2009, invitation and greeting</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=1811</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>showcase: UCN tabbed informationbar in Flash</title>
		<link>http://www.campjohn.dk/wp/?p=742</link>
		<comments>http://www.campjohn.dk/wp/?p=742#comments</comments>
		<pubDate>Mon, 22 Feb 2010 11:32:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.campjohn.dk/wp/?p=742</guid>
		<description><![CDATA[I&#8217;ve just finished a big Flash for University College Nordjylland.
this Flash was to be an alternative menu, a different version of a site-tree, to bring focus to certain areas of the website.

the Flash is made up of 4 tabs that can be chosen by the user.
3 of these tabs contain some kind of interactive element.
the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished a big Flash for University College Nordjylland.<br />
this Flash was to be an alternative menu, a different version of a site-tree, to bring focus to certain areas of the website.</p>
<p><img src="http://campjohn.dk/AS3/Co3/UCN/UCNtabs.jpg" alt="The University College Nordjylland tabbed Flash" /></p>
<p>the Flash is made up of 4 tabs that can be chosen by the user.<br />
3 of these tabs contain some kind of interactive element.<br />
<em>the tab &#8220;Studieliv&#8221; contains some moveable polaroids.<br />
the tab &#8220;Karriere&#8221; contains 10 cases, each case describing a former student now with a nice career.<br />
the tab &#8220;Download&#8221; contains downloadable brochures, setup of these inspired by coverflow and the Mac OS X menu.<br />
</em><br />
<a href="http://campjohn.dk/AS3/Co3/UCN/UCN_entertainmentbar.html" target="_blank">check out the Flash for University College Nordjylland here:</a></p>
<p>update: to make sure all content of the informationbar is shown, I&#8217;ve added a auto-rotate feature, that changes the tab shown every 5th second, until one of the tabs is clicked.</p>
<p><a href="http://www.ucn.dk/" target="_blank">check out University College Nordjylland here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.campjohn.dk/wp/?feed=rss2&amp;p=742</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
