<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Art Frick Design</title>
	<atom:link href="http://www.artfrickdesign.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.artfrickdesign.com/blog</link>
	<description>Stuck between coffee and a laptop</description>
	<pubDate>Thu, 18 Jun 2009 17:42:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Shaky Flash Menu Script</title>
		<link>http://www.artfrickdesign.com/blog/?p=40</link>
		<comments>http://www.artfrickdesign.com/blog/?p=40#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:30:54 +0000</pubDate>
		<dc:creator>Art Frick</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.artfrickdesign.com/blog/?p=40</guid>
		<description><![CDATA[OK, so you love the little shaky menu on the experiments page?  Well, for a step by step, go over to Flash My Mind.  Below is just the Action Script.  It&#8217;s commented really, REALLY well.  If you have any particular questions, feel free to ask me.
Pretty much, the buttons are made up of several movie [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so you love the little shaky menu on the <a href="http://www.artfrickdesign.com/experiments.html" target="_blank">experiments page</a>?  Well, for a step by step, go over to <a href="http://www.flashmymind.com">Flash My Mind</a>.  Below is just the Action Script.  It&#8217;s commented really, REALLY well.  If you have any particular questions, feel free to ask me.</p>
<p>Pretty much, the buttons are made up of several movie clips, those movie clips are grouped and passed into an array.  Then we set the original coordinants and make our functions for click, over and out.  Over runs the tween stuff, out stops it and click goes to an external URL.  It&#8217;s all pretty simple really!</p>
<p><code>//Import TweenMax<br />
import gs.*;</code><br />
<code>//This array will contain all the rectangles<br />
var rectangles:Array = new Array();</code><br />
<code>//Loop through the items in this movie clip<br />
for (var i:uint = 0; i &amp;lt; this.numChildren; i++) {</code><br />
<code>//Get an object<br />
var object:* = this.getChildAt(i);</code><br />
<code>//Check to see if the object is a MenuRectangle<br />
if (object is MenuRectangle) {</code><br />
<code>//Save the rectangle's coordinates (we need these later on)<br />
object.origX = object.x;<br />
object.origY = object.y;</code><br />
<code>//Add the rectangle to the rectangles array<br />
rectangles.push(object);<br />
}<br />
}</code><br />
<code>//Add mouse listeners for the mouse area<br />
mouseArea.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);<br />
mouseArea.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);<br />
mouseArea.addEventListener(MouseEvent.CLICK, itemClicked);</code><br />
<code>//This function is called when the cursor is over the mouse area<br />
function mouseOverHandler(e:Event):void {</code><br />
<code>//Loop through the rectangle array<br />
for (var i:uint = 0; i &amp;lt; rectangles.length; i++) {</code><br />
<code>//Assign the rectangle to a local variable<br />
var rectangle:MenuRectangle = rectangles[i] as MenuRectangle;</code><br />
<code>//Calculate random target coordinates for the rectangle<br />
var randomX:Number = rectangle.x + 10 * Math.cos(Math.random() * Math.PI * 2);<br />
var randomY:Number = rectangle.y + 10 * Math.sin(Math.random() * Math.PI * 2);</code><br />
<code>//Animate the rectangle to the random coordinates<br />
TweenMax.to(rectangle, 0.4, {x: randomX, y: randomY, alpha: 0.6, tint: Math.random() * 0xffffff});</code><br />
<code>}</code><br />
<code>//Add an ENTER_FRAME listener for the shake effect<br />
addEventListener(Event.ENTER_FRAME, shake);<br />
}</code><br />
<code>//This function is called when the cursor moves out of the mouse area<br />
function mouseOutHandler(e:Event):void {</code><br />
<code>//Loop through the rectangle array<br />
for (var i:uint = 0; i &amp;lt; rectangles.length; i++) {</code><br />
<code>//Assign the rectangle to a local variable<br />
var rectangle:MenuRectangle = rectangles[i] as MenuRectangle;</code><br />
<code>//Tween the rectangle to the original position<br />
TweenMax.to(rectangle, 0.4, {x: rectangle.origX, y: rectangle.origY, rotation: 0, alpha: 0.3, tint: 0xff8800});<br />
}</code><br />
<code>//Remove the ENTER_FRAME listener (we don't want to shake the rectangle anymore)<br />
removeEventListener(Event.ENTER_FRAME, shake);<br />
}</code><br />
<code>//This function is called when the mouse area is clicked<br />
function itemClicked(e:Event):void {</code><br />
<code>//Navigate to some URL<br />
var urlRequest:URLRequest = new URLRequest("http://www.artfrickdesign.com/portfolio.html");<br />
navigateToURL(urlRequest);<br />
}</code><br />
<code>//This function is called in each frame<br />
function shake(e:Event):void {</code><br />
<code>//Loop through the rectangles array<br />
for (var i:uint = 0; i &amp;lt; rectangles.length; i++) {</code><br />
<code>//Assign the rectangle to a local variable<br />
var rectangle:MenuRectangle = rectangles[i] as MenuRectangle;</code><br />
<code>//Rotate the rectangle a random amount  (from -4 to 4)<br />
rectangle.rotation += Math.random() * 8 - 4;</code><br />
<code>//Assign a new random position (from -4 to 4)<br />
rectangle.x+=Math.random()*8-4;<br />
rectangle.y+=Math.random()*8-4;<br />
}<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.artfrickdesign.com/blog/?feed=rss2&amp;p=40</wfw:commentRss>
		</item>
		<item>
		<title>TweenMax for Action Script 3</title>
		<link>http://www.artfrickdesign.com/blog/?p=35</link>
		<comments>http://www.artfrickdesign.com/blog/?p=35#comments</comments>
		<pubDate>Thu, 18 Jun 2009 16:31:24 +0000</pubDate>
		<dc:creator>Art Frick</dc:creator>
		
		<category><![CDATA[Design]]></category>

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

		<guid isPermaLink="false">http://www.artfrickdesign.com/blog/?p=35</guid>
		<description><![CDATA[So, in the midst of continually finding new things to integrate in to Art Frick Design Flash-based projects, I&#8217;ve found this cool tweening utility that makes doing visually stimulating stuff pretty easy.
It&#8217;s called the GreenSock - TweenMax plugin for AS3.  you can download it from here.
Here is what the author has to say about [...]]]></description>
			<content:encoded><![CDATA[<p>So, in the midst of continually finding new things to integrate in to Art Frick Design Flash-based projects, I&#8217;ve found this cool tweening utility that makes doing visually stimulating stuff pretty easy.</p>
<p>It&#8217;s called the GreenSock - TweenMax plugin for AS3.  you can download it from <a title="Greensock!" href="http://blog.greensock.com/tweenmaxas3" target="_blank">here</a>.</p>
<p>Here is what the author has to say about it:</p>
<p>TweenMax extends the extremely lightweight, FAST TweenLite engine, adding many useful features like pause/resume, timeScale, AS3 Event listeners, reverse(), restart(), setDestination(), yoyo, loop, rounding, and the ability to jump to any point in the tween using the &#8220;progress&#8221; property. It also activates many extra plugins by default, making it extremely full-featured. Since TweenMax extends TweenLite, it can do ANYTHING TweenLite can do plus much more.</p>
<p>It&#8217;s very cool.  You can check out an example of it by going to the <a href="http://www.artfrickdesign.com/experiments.html" target="_self">experiments page!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.artfrickdesign.com/blog/?feed=rss2&amp;p=35</wfw:commentRss>
		</item>
		<item>
		<title>Cafe Pick Me Up</title>
		<link>http://www.artfrickdesign.com/blog/?p=30</link>
		<comments>http://www.artfrickdesign.com/blog/?p=30#comments</comments>
		<pubDate>Tue, 09 Jun 2009 20:23:40 +0000</pubDate>
		<dc:creator>Art Frick</dc:creator>
		
		<category><![CDATA[Coffee Shops]]></category>

		<category><![CDATA[alphabet city]]></category>

		<category><![CDATA[east village]]></category>

		<category><![CDATA[New York]]></category>

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

		<guid isPermaLink="false">http://www.artfrickdesign.com/blog/?p=30</guid>
		<description><![CDATA[So, with my home base being 2nd avenue and 7th street, I figured that I wouldn’t get to over-zealous and stretch too far for my first review! Please feel free to let me know if you need any additional information from me to really paint a picture of any of the establishments that I’ll be [...]]]></description>
			<content:encoded><![CDATA[<p>So, with my home base being 2nd avenue and 7th street, I figured that I wouldn’t get to over-zealous and stretch too far for my first review! Please feel free to let me know if you need any additional information from me to really paint a picture of any of the establishments that I’ll be venturing to!</p>
<p>Let me just say this place is cool. Mismatched tables and chairs, Christmas lights strung from the ceiling, and the staff is as friendly as possible. This might also be a good time to mention that this place is owned by the same couple who own “Orlogio” a cute and cheap ($7 brunch, hello!) Italian place up on 10th and A. Cafe Pick Me Up has a very relaxed and mellow vibe. No one expects you to suck down your drip and roll on out in a hurry. It has a more chill European vibe.</p>
<p>The crowd here is a hodgepodge of the young and unemployed pounding away on screenplays and accounting homework (don’t worry, college kids) on their laptops, and an older crowd reading newspapers and books talking about Siddartha and some Bodi Tree. While the atmosphere is AWESOME, it’s just not practical from a “work on a project for 15 hours” perspective. There is NO FREE INTERNET at this place, which is really tradgic. Being an interactive designer (where internet access is a necessity…) it’s like flipping on a kill switch.</p>
<p>It’s like a desert mirage, “Look water, trees, an OASIS in a dreary desert of futility!”  You run to it, only to find sand…</p>
<div id="attachment_21" class="wp-caption aligncenter" style="width: 458px"><img class="size-full wp-image-21" title="cafepickmeup1" src="http://www.artfrickdesign.com/blog/wp-content/uploads/2009/06/cafepickmeup1.jpg" alt="This is the street shot, Cafe Pick Me Up is located on East 9th and Avenue A." width="448" height="336" /><p class="wp-caption-text">This is the street shot, Cafe Pick Me Up is located on East 9th and Avenue A.</p></div>
<p>This all being said, Cafe Pick Me Up is a wonderful place to sit and read and not be bothered, not so much for working. The atmosphere is contagious, the coffee is awesome, and the tea is top-notch. The whole “no free internet” thing really, REALLY leaves a bad taste in my mouth. A large iced coffee will run you about $3.</p>
<div id="attachment_22" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-22" title="cafepickmeup2" src="http://www.artfrickdesign.com/blog/wp-content/uploads/2009/06/cafepickmeup2-300x224.jpg" alt="It's cool, but the &quot;no free WiFi&quot; sucks." width="300" height="224" /><p class="wp-caption-text">It&#39;s cool, but the &quot;no free WiFi&quot; sucks.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.artfrickdesign.com/blog/?feed=rss2&amp;p=30</wfw:commentRss>
		</item>
	</channel>
</rss>
