<?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>alohahands.com Blog &#187; Flash</title>
	<atom:link href="http://alohahands.com/blog/index.php/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://alohahands.com/blog</link>
	<description>...just takin&#039; notes man.</description>
	<lastBuildDate>Tue, 25 Nov 2008 14:46:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Animation &amp; Your Web site</title>
		<link>http://alohahands.com/blog/2008/08/18/animation-your-web-site/</link>
		<comments>http://alohahands.com/blog/2008/08/18/animation-your-web-site/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 12:58:49 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/08/18/animation-your-web-site/</guid>
		<description><![CDATA[The use of animation can make your website outstanding or ridiculous. Let&#8217;s focus on the outstanding. Your website might be the only contact or the initial contact of your perspective clients and visitors. You better make an impact, a positive impact.
What is my call to action? What the heck am I supposed to do? A [...]]]></description>
			<content:encoded><![CDATA[<p>The use of animation can make your website outstanding or ridiculous. Let&#8217;s focus on the outstanding. Your website might be the only contact or the initial contact of your perspective clients and visitors. You better make an impact, a positive impact.</p>
<p>What is my call to action? What the heck am I supposed to do? A website that immediately urges the user to the action you desire them to take is going to stand out from the rest. Quality animation can help you with user-friendly interactivity that keeps them coming back.</p>
<p>Humans naturally recognize differences and amplify attention to those changes in their environment. Animation is an asset when used to bring a logo to life, even briefly, and when adding a bit of sparkle to improve the clarity of an active button.</p>
<p>Here is a link ( <a target="_new" href="http://www.ted.com/index.php/talks/hans_rosling_shows_the_best_stats_you_ve_ever_seen.html">http://www.ted.com/index.php/talks/hans_rosling_shows_the_best_stats_you_ve_ever_seen.html</a> )</p>
<p>Hans Rosling in California on statistics and using animation to make an impact of his presentation and speech. Go to minute 4:00 to see the animation being used.</p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/08/18/animation-your-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash &amp; Mobile Devices</title>
		<link>http://alohahands.com/blog/2008/07/14/flash-mobile-devices/</link>
		<comments>http://alohahands.com/blog/2008/07/14/flash-mobile-devices/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 14:15:33 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionScript]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/07/14/flash-mobile-devices/</guid>
		<description><![CDATA[tp://www.adobe.com/devnet/devices/articles/ten_tips_flash_lite_games.html
In the code example below, the _y property of the duplicated movie clip is extracting hard-coded values from an array. In contrast, the _x property is determined programmatically, by first calculating the width of the stage, and then placing the duplicate movie clips based on the resulting values of the calculation.
var clipNum = 3
var xLocate [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_new" href="http://www.adobe.com/devnet/devices/articles/ten_tips_flash_lite_games.html">tp://www.adobe.com/devnet/devices/articles/ten_tips_flash_lite_games.html</a></p>
<p>In the code example below, the _y property of the duplicated movie clip is extracting hard-coded values from an array. In contrast, the _x property is determined programmatically, by first calculating the width of the stage, and then placing the duplicate movie clips based on the resulting values of the calculation.</p>
<p>var clipNum = 3<br />
var xLocate = Stage.width/ (clipNum+1);<br />
var yArray = new Array (30,40,50);<br />
for(x=1; x<=clipNum; x++){<br />
var tempMc = attachMovie("block",<br />
"block"+x, x);<br />
with (tempMc) {<br />
_x = xLocate*x;<br />
_y = yArray[x-1];<br />
}<br />
}</p>
<p><a target="_new" href="http://www.adobe.com/devnet/devices/articles/flash_projects.html">http://www.adobe.com/devnet/devices/articles/flash_projects.html</a></p>
<p>People will access your project on different mediums and devices. They may even use a stylus or their finger to press buttons. Users will expect standard key presses will be used and followed. (Become familiar with common mobile device conventions.)</p>
<p>The options for functionality should be flexible and not device dependent. The general practice of keeping the functionality of your project separate from the events that trigger it will allow more compatibility and possibility of your project to operate on many different devices.</p>
<p>As you begin your project you should with a commonly used screen size (176&#215;208 or even 240&#215;320 pixels). These will allow you to port your game to devices much easier.</p>
<p>Your project files should be able to meet the needs of different displays. Perhaps allowing for resizing or rescaling the graphics and text will allow for greater display needs. Think about text size and legibility as well as graphics and bitmaps.</p>
<p><a target="_new" href="http://www.adobe.com/devnet/devices/articles/total_training_key_press_events.html">http://www.adobe.com/devnet/devices/articles/total_training_key_press_events.html</a></p>
<p>It&#8217;s important for the user to interact with the device and the application. You will use a broadcaster-listener model and handler method to allow the application to respond when the user has interacted with the device.</p>
<p><a target="_new" href="http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00002449.html">http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00002449.html</a></p>
<p><a target="_new" href="http://www.adobe.com/devnet/flash/articles/actionscript_guide_06.html">http://www.adobe.com/devnet/flash/articles/actionscript_guide_06.html</a></p>
<p>Use of variables should be utilized to help keep your code flexible. All of us have coded for &#8220;hitTest&#8221; functions now. Considering mobile devices, The method below is easy on the mobile processor and uses the objects x and y values as well as the objects dimensions.</p>
<p>var obj = new Object (x1, y1, w1, h1, x2, y2, w2, h2);<br />
if((obj.x1 >= obj.x2) &#038;&#038; (obj.x1+obj.w1 <=<br />
obj.x2+obj.w2) &#038;&#038; (obj.y1 >= obj.y2) &#038;&#038; (obj.y1+obj.h1 <=<br />
obj.y2+obj.h2)){<br />
collision = true;<br />
}else{<br />
collision = false;<br />
}</p>
<p>This code checks the relationship of obj.x1&#8217;s left edge in relation to obj.x2&#8217;s left edge. Next it evaluates the right edge, top edge and finally the bottom edge of both.</p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/07/14/flash-mobile-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActionScript &#8211; SharedObject;</title>
		<link>http://alohahands.com/blog/2008/06/25/actionscript-sharedobject/</link>
		<comments>http://alohahands.com/blog/2008/06/25/actionscript-sharedobject/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 17:42:22 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[AS2]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[All]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionScript]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/06/25/actionscript-sharedobject/</guid>
		<description><![CDATA[There are many possible uses of shared-objects. For example to keep track of a shopping cart (store a name and selections and values or clear all values); track a name and high score; to store user&#8217;s preferences; to check whether a user is a new visitor; or a remote shared-object; which allows you to save [...]]]></description>
			<content:encoded><![CDATA[<p>There are many possible uses of shared-objects. For example to keep track of a shopping cart (store a name and selections and values or clear all values); track a name and high score; to store user&#8217;s preferences; to check whether a user is a new visitor; or a remote shared-object; which allows you to save to and retrieve data from a Flash COM (RMTP) server.</p>
<p>I will post about two remote shared-object uses (from livedocs.adobe.com):</p>
<p>* Store and share data on Flash Media Server. A shared object can store data on the server for other clients to retrieve. For example, call SharedObject.getRemote() to create a remote shared object, such as a phone list, that is persistent on the server. Whenever a client makes changes to the shared object, the revised data is available to all clients currently connected to the object or who later connect to it. If the object is also persistent locally, and a client changes data while not connected to the server, the data is copied to the remote shared object the next time the client connects to the object.</p>
<p>* Share data in real time. A shared object can share data among multiple clients in real time. For example, you can open a remote shared object that stores a list of users connected to a chat room that is visible to all clients connected to the object. When a user enters or leaves the chat room, the object is updated and all clients that are connected to the object see the revised list of chat room users.</p>
<p>reference:  <a target="_new" href="http://flash-communications.net/technotes/sharedObjectEditor/index.html">http://flash-communications.net/technotes/sharedObjectEditor/index.html</a></p>
<p><a target="_new" href="http://flash-communications.net/technotes/sharedObjectEditor/editor.html">http://flash-communications.net/technotes/sharedObjectEditor/editor.html</a></p>
<p><a target="_new" href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/SharedObject.html">http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/SharedObject.html</a></p>
<p><a target="_new" href="http://www.kirupa.com/developer/actionscript/shared_objects.htm">http://www.kirupa.com/developer/actionscript/shared_objects.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/06/25/actionscript-sharedobject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Develop time functions with Flash ActionScript 2.0</title>
		<link>http://alohahands.com/blog/2008/06/17/develop-time-functions-with-flash-actionscript-20/</link>
		<comments>http://alohahands.com/blog/2008/06/17/develop-time-functions-with-flash-actionscript-20/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 21:21:18 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2008/06/17/develop-time-functions-with-flash-actionscript-20/</guid>
		<description><![CDATA[Discuss two ways that you can develop timing in Flash. What are the advantages to each?

Using the native  onEnterFrame() or setInterval() functions are two ways to develop timing.

  
The onEnterFrame() executes  as fast as your Frames per Second.

The following example I made a movie clip and named it mc with alpha set [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2" color="black"><font size="2" color="black"><font size="2" face="Verdana" color="black"><font size="2" face="Verdana"><font size="2" face="Verdana" color="#ff0000"><font size="2"><font size="2" face="Verdana">Discuss two ways that you can develop timing in Flash. What are the advantages to each?<br />
</font></font></font></font></font></font></font></p>
<p><font size="2" face="Arial" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">Using the native  onEnterFrame() or setInterval() functions are two ways to develop timing.<br />
</span></font><br />
<font size="2" face="Arial" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">  </span></font></p>
<p><font size="2" face="Arial" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">The onEnterFrame() executes  as fast as your Frames per Second.<br />
</span></font></p>
<pre>The following example I made a movie clip and named it mc with alpha set to 0:

mc.onEnterFrame = function()
{
if(mc._alpha < 100) {

mc._alpha += mc._alpha+1;
}

else
{
delete this.onEnterFrame;
trace("done");
}

}

/*  OUTPUT  **************************

mc alpha's in from alpha = 0 to alpha = 100

************************************ */</pre>
<p>ActionScript 2.0 allows custom behaviors for movie clips that previously one would need to code into the "onMovieClip(enterFrame) handler.  Therefore, you can have multiple movieclips with different characteristics but still exhibit similar behavior.  The onEnterFrame method can be used to calculate the positions of a movie clip instance.</p>
<p><font size="2" face="Arial" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">The setInterval() r</span></font>uns a function at a specified interval (in milliseconds) and <font size="2" face="Arial" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial">can be modified to execute  it's timing in any second or fraction thereof.  (3.0 uses the "Timer" class instead of </span></font><code>setInterval</code>.)  The setInterval() function allow you to set your own time-based event, similar to onEnterFrame(), executing repetively over time. And, <a target="_blank" href="http://casaframework.org/docs/org_casaframework_time_Interval.html#setInterval">setInterval</a> returns object instead of interval id for better OOP structure.</p>
<p>The following example calls the "executeCallback" function every 3000 milliseconds (every 3 seconds).</p>
<pre><span style="color: #000000; font-weight: bold">var intervalId:Number;
var count:Number = 0;
var maxCount:Number = 10;
var duration:Number = 3000;

function executeCallback():Void {
trace("executeCallback intervalId: " + intervalId + " count: " + count);

if(count >= maxCount) {
clearInterval(intervalId);
}
count++;
}

intervalId = setInterval(this, "executeCallback", duration);

/*  OUTPUT  **************************

executeCallback intervalId: 1 count: 0

executeCallback intervalId: 1 count: 1
executeCallback intervalId: 1 count: 2
executeCallback intervalId: 1 count: 3
executeCallback intervalId: 1 count: 4
executeCallback intervalId: 1 count: 5
executeCallback intervalId: 1 count: 6

executeCallback intervalId: 1 count: 7
executeCallback intervalId: 1 count: 8
executeCallback intervalId: 1 count: 9
executeCallback intervalId: 1 count: 10

************************************ */

** References **
</span></pre>
<p><a target="_blank" href="http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00002490.html">http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00002490.html</a><br />
<a target="_blank" href="http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00001766.html">http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&#038;file=00001766.html</a><br />
<a target="_blank" href="http://www.adobe.com/devnet/flash/articles/mc_subclasses_v2_03.html">http://www.adobe.com/devnet/flash/articles/mc_subclasses_v2_03.html</a><br />
<a target="_blank" href="http://www.actionscript.org/forums/archive/index.php3/t-95283.html">http://www.actionscript.org/forums/archive/index.php3/t-95283.html</a></p>
<p><font size="2" face="Arial" color="navy"><span style="font-size: 10pt; color: navy; font-family: Arial" /></font></p>
<p><font size="2" color="black"><font size="2" color="black"><font size="2" color="black"><font size="2" face="Verdana"><a target="_blank" href="http://www.tonypa.pri.ee/tbw/tut15.html"><br />
</a></font></font></font></font></p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2008/06/17/develop-time-functions-with-flash-actionscript-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash Tutorial</title>
		<link>http://alohahands.com/blog/2007/04/26/flash-tutorial/</link>
		<comments>http://alohahands.com/blog/2007/04/26/flash-tutorial/#comments</comments>
		<pubDate>Thu, 26 Apr 2007 16:16:04 +0000</pubDate>
		<dc:creator>alohahands</dc:creator>
				<category><![CDATA[All]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://alohahands.com/blog/2007/04/26/flash-tutorial/</guid>
		<description><![CDATA[here are the videos with links to the downloads&#8230;
4/9/2007	&#8220;Introduction to Cartooning with  Flash&#8221; Preview 	 	 In this cartoon, we have a ringing phone, and in  order to make the cartoon more interesting, we&#8217;re  going to animate the phone receiver bouncing around  on the cradle. In this video, Craig will show [...]]]></description>
			<content:encoded><![CDATA[<p>here are the videos with links to the downloads&#8230;</p>
<p>4/9/2007	&#8220;Introduction to Cartooning with  Flash&#8221; Preview 	 	 In this cartoon, we have a ringing phone, and in  order to make the cartoon more interesting, we&#8217;re  going to animate the phone receiver bouncing around  on the cradle. In this video, Craig will show you  how.</p>
<p><a href="http://tips.learnflash.com/flashtips/animated-phone.html">Phone Ringing Video</a></p>
<p>4/13/2007	&#8220;Introduction to Cartooning with  Flash&#8221; Preview 	 	 In this video, We&#8217;ll continue the walk cycle by  creating a few more extreme positions, or keyframes.</p>
<p><a href="javascript:ol('http://newsletter.learnflash.com/t?ctl=1659804:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85');">http://newsletter.learnflash.com/t?ctl=1659804:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85</a></p>
<p>4/16/2007	Text Blur		 In this tutorial, you will learn to animate a  custom text loop.  This is a popular effect, and  after this tutorial you will feel comfortable  adding to text and graphics.		  <a href="javascript:ol('http://newsletter.learnflash.com/t?ctl=1659809:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85');">http://newsletter.learnflash.com/t?ctl=1659809:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85</a></p>
<p>4/20/2007	Onion Skin		 Create a frame by frame animation using the onion  skin option.  Easily see what you sketched in the  last frame and keep your animation consistent.</p>
<p><a href="javascript:ol('http://newsletter.learnflash.com/t?ctl=1659808:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85');">http://newsletter.learnflash.com/t?ctl=1659808:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85</a></p>
<p>4/23/2007	Motion Guide		 In this tutorial, you will learn how to animate a  graphic on a guided path using the motion guide.   You will also learn how to place your graphic or  movieclip on the correct points of the motion  guide.</p>
<p><a href="javascript:ol('http://newsletter.learnflash.com/t?ctl=1659807:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85');">http://newsletter.learnflash.com/t?ctl=1659807:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85</a></p>
<p>4/27/2007	Looping Banner	 A simple looping banner is an effective way to  show scrolling buttons and add content to your  site.  Create a looping banner the easy way that  is simple to edit.</p>
<p><a href="javascript:ol('http://newsletter.learnflash.com/t?ctl=1659806:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85');">http://newsletter.learnflash.com/t?ctl=1659806:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85</a></p>
<p>Also, in case you missed the announcement, here is your special link for a steep discount on all our training videos. This sale is for a very limited time so grab your copy while you can.  <a href="javascript:ol('http://newsletter.learnflash.com/t?ctl=1659803:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85');">http://newsletter.learnflash.com/t?ctl=1659803:A806D44AD0854AC4256195D9975B99DD81140A4E81E74E85</a></p>
<p>Hope you enjoy the videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://alohahands.com/blog/2007/04/26/flash-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.427 seconds -->
