<?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>Interactive Media at Pratt</title>
	<atom:link href="http://blogs.huongngo.com/prattim2010/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.huongngo.com/prattim2010</link>
	<description></description>
	<lastBuildDate>Mon, 03 May 2010 17:38:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Week 14: Work it!</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/05/02/week-14-work-it/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/05/02/week-14-work-it/#comments</comments>
		<pubDate>Mon, 03 May 2010 02:36:05 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=190</guid>
		<description><![CDATA[Almost there! YOU CAN DO IT. I believe in you!!!!
To help you out on your final flash adventures, here are the examples for the day:
Random Animation
Here are some new flash examples.
Sound with Pause
Input Text
Video
The best way to add video for right now is to import the video through the File&#62;Import&#62; Import to Stage menu into [...]]]></description>
			<content:encoded><![CDATA[<p>Almost there! YOU CAN DO IT. I believe in you!!!!</p>
<p><b>To help you out on your final flash adventures, here are the examples for the day:</b><br />
<a href="http://mysite.pratt.edu/~hngo/im2010/random_mc.fla.zip">Random Animation</a><br />
<a href="http://a.parsons.edu/~ngoh/flash/flash_4_28.zip">Here are some new flash examples.</a><br />
<a href="http://a.parsons.edu/~ngoh/flash/sound_pause.zip">Sound with Pause</a><br />
<a href="http://mysite.pratt.edu/~hngo/im2010/input_txt.fla.zip">Input Text</a></p>
<h2>Video</h2>
<p>The best way to add video for right now is to import the video through the File&gt;Import&gt; Import to Stage menu into an FLV player (top option in the window that opens). You can then convert this video to a moviclip and target as you would other movieclips.</p>
<h2>Preloader</h2>
<p>Take a look at the example. Basically, I’ve set it up so that it stops on the first frame and keeps checking to see if the whole movie has been loaded (# of bytes). If it has, it plays. Otherwise, it changes the text and the size of the bar. Make sure to simulate download when checking the preloader.</p>
<h2>Loader</h2>
<p>This is for loading other swf files and jpgs. It’s really handy because then you can build parts separately and add them as needed. It saves on download time, and is great when working in teams.</p>
<h2>Sound: Play and Pause</h2>
<p>Here, we add some code to our previous simple_sound file in order to keep track of where the song was when we pause it, and then play it in that spot again.</p>
<h2>For next week:</h2>
<p>We will start at the beginning of class, so have everything ready to go. Test it out, practice a simple presentation of the project, and think of it as an opportunity to practice presenting yourself to an audience. Good luck! I&#8217;m looking forward to seeing everyone&#8217;s hard work.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/05/02/week-14-work-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 13: The Home Stretch!</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/04/25/week-13-the-home-stretch/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/04/25/week-13-the-home-stretch/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 03:19:18 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=166</guid>
		<description><![CDATA[OMGOMGOMG! Only 2 more classes before the final! Let&#8217;s use our time wisely. I&#8217;ll run through examples that might be helpful for your final. You ask me questions. Let&#8217;s go!

Files for today:

Tween and Transition Manager Classes
Pong

Buttons

Set up your button on the stage and name the instance “myButton_btn.”
In a new layer, add an event listener in [...]]]></description>
			<content:encoded><![CDATA[<p>OMGOMGOMG! Only 2 more classes before the final! Let&#8217;s use our time wisely. I&#8217;ll run through examples that might be helpful for your final. You ask me questions. Let&#8217;s go!</p>
<p><span id="more-166"></span></p>
<h2>Files for today:</h2>
<ol>
<li><a href="http://a.parsons.edu/~ngoh/flash/flash_04_23.zip">Tween and Transition Manager Classes</a></li>
<li><a href="http://a.parsons.edu/~ngoh/flash/pong.zip">Pong</a></li>
</ol>
<h2>Buttons</h2>
<ol>
<li>Set up your button on the stage and name the instance “myButton_btn.”</li>
<li>In a new layer, add an event listener in your actions panel:<br />
<code>myButton_btn.addEventListener(MouseEvent.MOUSE_OVER, hoverButtonHandler);</code></li>
<li>Create a handler function that will be called up when the mouse is hovered over:<br />
<code>function hoverButtonHandler(event:MouseEvent) { <br />trace("Hovered Over Button!");<br />}</code></li>
</ol>
<h2>Sound</h2>
<ol>
<li>In order to load an external sound file that plays and stops, we need to create 2 objects: a new Sound object and a new Sound Channel Object:<br />
<code>var mySound:Sound = new Sound();//set up a sound object </code><br />
<code>/*Save your .mp3 file in a folder called sounds. Here you’re telling Flash where your sound file is located.*/</code><br />
<code>mySound.load(new URLRequest("sounds/Abort_Mission.mp3"));//load the .mp3</code><br />
<code>var myChannel:SoundChannel = new SoundChannel();</code></li>
<li>Here’s how you play the sound:<br />
<code>myChannel=mySound.play();</code></li>
<li>And here’s how you stop the sound:<br />
<code>myChannel.stop();</code></li>
</ol>
<h2>Programmed animation</h2>
<p>Programming animation requires a different kind of event listener that listens for when the playhead enters each frame. The function below moves the circle one pixel to the right. Tying it to the event frame means that it will move one pixel for every frame.</p>
<blockquote><p><code>addEventListener(Event.ENTER_FRAME, moveThatCircle);//this listens for every time Flash enters a new frame</code><br />
<code>function moveThatCircle(event:Event) { /*this is called an event handler function. it happens everytime the event ENTER_FRAME occurs*/</code><br />
<code>circle_mc.x+=1;</code><br />
<code>}</code></p></blockquote>
<h2>Pong: A game example</h2>
<p>Pong utilizes startDrag() and stopDrag(), and hitTestObject(), 3 methods that might be very helpful for you in other applications.</p>
<h3>startDrag()</h3>
<p>To start dragging an object, all you need is this:</p>
<p><code>paddle_mc.startDrag();</code></p>
<p>However, we need to restrict our paddle to one line that goes from the left to the right of the stage. So, we create a rectangle object like so:</p>
<p><code>var rect:Rectangle=new Rectangle(0,350,450,0); //the numbers correspond to x, y, width, height</code></p>
<p>and then add a couple of parameters. The first one determines whether the shape centers itself on the mouse when you drag it, the second one registers the rectangle that we just made as the boundaries for dragging:</p>
<p><code>paddle_mc.startDrag(false, rect);</code></p>
<p>Try changing the boundaries of the rectangle to get a sense of what they correlate to.</p>
<h3>stopDrag()</h3>
<p>This is simple:<code> paddle_mc.stopDrag();</code></p>
<h3>hitObjectTest</h3>
<p>The hitObjectTest is so much fun. It returns Boolean, so can be used in an If…Then statement. Make sure to put it in a function that is called upon by an ENTER_FRAME event, or it will only happen once.</p>
<blockquote><p><code>if (circle_mc.hitTestObject(paddle_mc)) {</code><br />
<code>//trace("hit!");</code><br />
<code>circleVert="up";</code><br />
<code>score+=10;</code><br />
<code>score_txt.text=String(score);</code><br />
<code>} else {</code><br />
<code>}</code></p></blockquote>
<h2 style="margin-top:10px">Tween Class</h2>
<p>The tween class allows us to create simple animations based on start, stop, and duration. You may be asking yourself, why so many ways to do the same thing? The tween class simplifies some things that are done very often-bouncing in, changing alpha, rolling around, that kind of thing. In the end, knowing when to use it can save you a lot of time! And, it’s fun.</p>
<p><a href="http://www.republicofcode.com/tutorials/flash/as3tweenclass/">Here’s an amazing tutorial on the Tween class</a></p>
<p>Click on the different types of tweening (around the middle of the tutorial) to get a sense for easing options available.</p>
<p>Here’s the basic setup:</p>
<blockquote><p><code>import fl.transitions.Tween;</code><br />
<code>import fl.transitions.easing.*;</code><br />
<code>import fl.transitions.TweenEvent; //these are important. They import the class with all of the methods and properties that go along with it.</code><br />
<code>var myTween:Tween = new Tween(my_box, "x", Strong.easeOut, 40, 300, 5, true);</code></p></blockquote>
<p>Let’s look at the different parts:</p>
<p><strong>var myTween:Tween = new Tween(object, “property”, EasingType, begin, end, duration, useSeconds);</strong></p>
<p>This is an instantiation of a object of the class tween. Here’s what all of the parameters mean:</p>
<ol>
<li><strong>object</strong> – This is the instance name of the object which will be animated. Example: my_box, gallery_mc, myTextField_txt.</li>
<li><strong>property </strong>- This is the name of the property which will be animated, it must be specified as a string (between quotation marks). Example: “alpha”, “scaleX”, “scaleY”, “x”, “y”.</li>
<li><strong>EasingType</strong> – The easing type will determine how the tween animation will flow. We are going to explain this more in the next section of the tutorial. Examples: Strong.EaseIn, Elastic.EaseOut, Back.EaseInOut.
</li>
<li><strong>begin</strong> – This is the position from which the animation will start, it must be specified as a number.</li>
<li><strong>end</strong> – This is the position at which the animation will stop, it must be specified at as a number.</li>
<li><strong>duration</strong> – This is the period for which the animation will run, the default unit for it is frames, however, the unit can be set in seconds if you set the next parameter as true.</li>
<li><strong>useSeconds</strong> – Set this parameter to true if you want to the duration to be measured in seconds instead of frames.</li>
</ol>
<p><a href="http://www.republicofcode.com/tutorials/flash/as3tweenclass/">READ MORE ABOUT THE TWEEN CLASS</a></p>
<h2>TransitionManager Class</h2>
<p>This is a friend of the tween class. Think of these like the Ken Burns Effect or transitions in iMovie! They are fascinating at first, but get old if you don’t give them a personal touch. Here’s the basic setup:<br />
<blockquote><code>import fl.transitions.*;</code><br />
<code>import fl.transitions.easing.*;</code><br />
<code>TransitionManager.start(my_mc,{type:Fly, direction:Transition.IN, duration:2, easing:Strong.easeOut})</code></p></blockquote>
<p>The breakdown:</p>
<p><strong>TransitionManager.start(target_movie_clip, transition_parameters);</strong></p>
<p><a href="http://www.republicofcode.com/tutorials/flash/as3transitionmanager/">READ MORE AND TRY OUT THE DIFFERENT TRANSITIONS HERE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/04/25/week-13-the-home-stretch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Week 12: Frame Control, Variables</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/04/19/week-12-frame-control-variables/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/04/19/week-12-frame-control-variables/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 18:21:07 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=160</guid>
		<description><![CDATA[Check back over the blog post for Week 11, and review the files in the link. To start you thinking about other things that you can do with Actionscript, download this file, and run the examples. See if you can understand how they are programmed.

Download new actionscript examples.
Assignment:

Continue working on your prototypes for your final [...]]]></description>
			<content:encoded><![CDATA[<p>Check back over the blog post for Week 11, and review the files in the link. To start you thinking about other things that you can do with Actionscript, download this file, and run the examples. See if you can understand how they are programmed.<br />
<span id="more-160"></span></p>
<h3><a href="http://a.parsons.edu/~ngoh/flash/flash_4_09.zip">Download new actionscript examples.</a></h3>
<h3>Assignment:</h3>
<ol>
<li>Continue working on your prototypes for your final project. Begin working on them in photoshop, indesign, illustrator, or flash, whichever program you feel most comfortable in. Create a mood board with inspirational images and typefaces and begin to layout the visual design.</li>
<li>Create a 3 scene story with buttons on the end of each scene that take you to the next, and then back to the beginning.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/04/19/week-12-frame-control-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 11: Actionscript</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/04/11/week-11-actionscript/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/04/11/week-11-actionscript/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 02:17:14 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=150</guid>
		<description><![CDATA[We&#8217;ll take our first look at Actionscript today and talk about our final projects.

Download these files. We will use them for today&#8217;s lesson.
Download this simplified control mc.
Actionscript
What is it? Actionscript is an object-oriented language specifically designed for web animation. It is an event-based language which means that actions are triggered by particular events. Actionscript 3.0 [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ll take our first look at Actionscript today and talk about our final projects.<br />
<span id="more-150"></span></p>
<h3><a href="http://a.parsons.edu/~ngoh/flash/flash_4_02.zip">Download these files. We will use them for today&#8217;s lesson.</a></h3>
<h3><a href="http://mysite.pratt.edu/~hngo/im2010/simple_mc_control.fla.zip">Download this simplified control mc.</a></h3>
<h2>Actionscript</h2>
<p>What is it? Actionscript is an <a href="http://www.kirupa.com/developer/as3/introduction_to_oop.htm">object-oriented language</a> specifically designed for web animation. It is an <em>event-based </em>language which means that actions are triggered by particular events. Actionscript 3.0 was modeled on the same standards as Javascript so that it would be more familiar to web designers.</p>
<p>Actionscript can go in many places in your movie. <strong>However, it is BEST to keep actions on their own layer in the timeline.</strong> This makes it easy to see all of your actions in the same place. This is what your timeline looks like when your actions are in the right place:</p>
<p><img class="alignnone size-full wp-image-169" title="actions" src="http://a.parsons.edu/~ngoh/lab/wp-content/uploads/2010/04/actions.png" alt="actions" width="644" height="112" /></p>
<p>To get back to your actions, click on the &#8220;Actions-Frame&#8221; Tab on the top.</p>
<h3>Object-Oriented Programming</h3>
<p>As mentioned before, Actionscript is an <a href="http://www.kirupa.com/developer/as3/introduction_to_oop.htm">object-oriented language</a> (click on the link to learn more). so it is based on classes of objects. Each class of objects (nouns) has its own propertes (adjectives) and methods (verbs).  Let&#8217;s say I have a class of objects called horse. Our horse class has properties: height, width and color. It has methods: run, trot, gallop. If we want to tell our horse, which is named &#8220;Abracadabra&#8221; to trot, we would write it like this:</p>
<p>Abracadabra.trot();</p>
<p>The () are for parameters. Depending on the method, there are different parameters. In this case, there might be the parameters <em>slow</em> and <em>fast</em>.</p>
<p>Abracadabra.trot(&#8221;slow&#8221;);</p>
<p>Let&#8217;s say we want to get Abracadabra&#8217;s height and store it into a variable called Abracadabra_height. We would do it this way:</p>
<p><strong>var</strong> Abracadabra_height<strong>:Number</strong>=Abracadabra.height;</p>
<h3>Variables:</h3>
<p>A variable is a placeholder for information or data. It can hold a String(ie &#8220;Name&#8221;), Boolean (true or false), an int (integer or whole number), or a Number (any kind of number), among other things. To declare a variable, use the keyword <strong>var</strong> and state what kind of variable it is after the colon like above. <strong>Refer to the file variables.fla in the download for today.</strong> Open it up and change the variables to describe yourself. Play around with the if-then-else statement.</p>
<p>Now, the horse class does not actually exist in Flash. Let&#8217;s translate this into a class that does exist, like the MovieClip class.</p>
<p>To tell a movieclip with the name &#8220;star&#8221; to stop, we would write:</p>
<p><strong><code>star_mc.stop();</code></strong></p>
<p>To make it play:</p>
<p><strong><code>star_mc:play();</code></strong></p>
<p>To store its height in a variable:</p>
<p><strong><code>var myStarHeight:Number = star_mc.height; </code></strong></p>
<h3>Properties:</h3>
<p>Think of properties as your adjectives. They  describe your objects. <strong>Refer  to the file mc_properties.fla in the  download for today for examples of  moviclip properties.</strong></p>
<h3>Moving around in the main timeline:</h3>
<p>Let&#8217;s backtrack a little bit to the main timeline. How can we get the main timeline to skip around to different frames? We can use the same methods, but like this:</p>
<p><code>play();<br />
stop();</code></p>
<p>Notice we don&#8217;t need the &#8220;star.&#8221; in front. Since the actions are on the main timeline, it understands that it affects the main timeline. We could also write it as:</p>
<p><code>this.play();<br />
this.stop();</code></p>
<p>&#8220;this&#8221; is a reserved word in flash, which roughly means, &#8220;whatever I was talking about before, that&#8217;s what I&#8217;m talking about now.&#8221;</p>
<p>You can also be more specific about where the timeline plays or stops with these two methods:</p>
<p><code>gotoAndPlay(10);<br />
gotoAndStop(10);</code></p>
<p><strong>Refer to the file timeline_methods.fla for more examples.</strong></p>
<h3>Events:</h3>
<p><strong>In the example control_mc.fla in the download for today,</strong> we explore the mouse events &#8220;CLICK&#8221; and &#8220;MOUSE_OVER.&#8221;</p>
<p>Here is the whole list of events:<br />
CLICK, DOUBLE_CLICK, MOUSE_OVER (hover), MOUSE_DOWN (click is depressed), MOUSE_LEAVE (mouse leaves stage), MOUSE_OUT (mouse leaves area of object), MOUSE_MOVE (mouse moves), MOUSE_UP (mouse comes up from being depressed), MOUSE_WHEEL (mouse wheel moves).</p>
<h3>Functions:</h3>
<p>Functions are sets of commands that can be stored for later. In the example, we make a named function like this:</p>
<p><code>function myFunction(parameters){<br />
//what happens when function gets called.<br />
}</code></p>
<p>and then call on the function later like this:</p>
<p><code>myFunction();</code></p>
<h3>Name the instance of your symbol!</h3>
<p>Anytime you are controlling a symbol on the stage with actionscript, you need to name that instance. You can do so by clicking on the symbol, opening the properties panel, and then adding a name. Buttons should be named with the suffix _btn and movieclips with the suffix _mc. This will help you program them by triggering the code hints.</p>
<h2>Assignment</h2>
<ol>
<li>Begin prototyping your flash site by either creating a paper prototype or a storyboard or both.</li>
<li>Create a movieclip that stops on the first frame until you press a button. <a href="http://mysite.pratt.edu/~hngo/im2010/simple_mc_control.fla.zip">Use this as your template</a>, but change the movieclip and the button to suit you.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/04/11/week-11-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 10: Flash</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/04/05/week-10-flash/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/04/05/week-10-flash/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 05:07:01 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=142</guid>
		<description><![CDATA[Let&#8217;s continue Flash today with Tweens!

Watch this to learn more about frame rates:Explanation of Frame Rate. When looking at the Kirupa tutorials (thank you Kirupa!), try to find the ones for CS4, as the older tutorials will be different and possibly confusing. Kirupa is so great, let&#8217;s bookmark it!
Today, we&#8217;ll take a look at Flash&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s continue Flash today with Tweens!<br />
<span id="more-142"></span><br />
Watch this to learn more about frame rates:<a href="http://www.kirupa.com/developer/flashcs4/frame_rates_pg1.htm">Explanation of Frame Rate</a>. When looking at the Kirupa tutorials (thank you Kirupa!), try to find the ones for CS4, as the older tutorials will be different and possibly confusing. Kirupa is so great, let&#8217;s bookmark it!</p>
<p>Today, we&#8217;ll take a look at Flash&#8217;s other symbols. Remember, symbols live in the Library and can be used over and over! The only thing is that if you change the symbol in the library, it changes all of them.</p>
<p><strong>Graphic-</strong> The simplest symbol with only one frame. It is necessary to convert an image/drawing to a graphic when creating a motion tween.</p>
<p><strong>Button-</strong> A symbol with different states (Up, Over, Down, Hit) that responds to mouse interaction.</p>
<p><strong>Movieclip-</strong> A more complex symbol with its own timeline that acts independently of the main timeline.</p>
<p>Also, we&#8217;ll look at onion skinning, playing with properties, and simple easing. <a href="http://www.kirupa.com/developer/flashcs4/custom_easing_flashcs4_pg1.htm">Here is a tutorial on custom easing.</a></p>
<p>Take a look at these flash examples for inspiration on making looped movieclips: <a href="http://www.paperrad.org/oldindex2009.html">Paperad</a>, <a href="http://sodaplay.com/">Soda Play</a>, <a href="http://levitated.net/daily/index.html">Levitated</a>, <a href="http://www.prettysite.com/">Prettysite</a>, <a href="http://www.lefttomyowndevices.com/graphics/animation/html/turnabout.html">Left to My Own Devices</a>, <a href="http://lillicarre.com/New_Gifs_1.html">Lilli Carré</a></p>
<p>Read through and try these tutorial on <a href="http://www.kirupa.com/developer/flashcs4/custom_easing_flashcs4_pg1.htm">Custom Easing</a> and <a href="http://www.kirupa.com/developer/flashcs4/intro_3d_flashcs4_pg1.htm">3D Rotation</a>, and <a href="//www.kirupa.com/developer/flashcs4/video/3dtranslation_cs4.htm',%20'1024',%20'840')">3D Translation.</a></p>
<h3>Assignment:</h3>
<ol>
<li>Using tweens, easing and 3D effects, work on making objects fall, rise, and bounce realistically. Create a 200 frame animation that tells a story with these 3 motions. Here are some examples of websites with realistic motion: <a href="http://www.driftlab.com">Drift Lab</a>, <a href="http://www.youtube.com/watch?v=kaMDTyj6KfQ">Classic Sesame Street Animation</a>, <a href="http://designcharts.com/">Design Charts</a>, <a href="http://sodaplay.com/">Soda Play</a>, <a href="http://www.kingtut.ca">King Tut</a>. Post to your public_html folder and link to it from your blog.
</li>
<li>Begin to think about your final project. It can take the form of a:
<p>Website<br />
Animation with interactive elements<br />
Game (more advanced)</p>
<p>Before you begin, you will research 3 precedents for your projects. Make a list on your blog of these with the following:</p>
<p>What you like about each example.<br />
What doesn&#8217;t work/could be improved.<br />
What parts of the technology you don&#8217;t yet know.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/04/05/week-10-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 9: Flash!</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/03/28/week-9-flash/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/03/28/week-9-flash/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 03:47:09 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=130</guid>
		<description><![CDATA[Flash was always my first love. It combines time-based image editing  format with programming and multimedia capabilities! It is a great way  to add fluid animation and interaction to your design, and it frees you  from the grid constraints of xhtml/css.

At the same time, it also had its drawbacks!

Flash requires a plug-in [...]]]></description>
			<content:encoded><![CDATA[<p>Flash was always my first love. It combines time-based image editing  format with programming and multimedia capabilities! It is a great way  to add fluid animation and interaction to your design, and it frees you  from the grid constraints of xhtml/css.</p>
<p><span id="more-130"></span></p>
<p><strong>At the same time, it also had its drawbacks!</strong></p>
<ul>
<li>Flash requires a plug-in to play, which some users may not have  installed on their browsers and may not trouble themselves to install  (even though it is free). New versions of Flash require new plug-ins,  which means that you are reliant on your user to constantly upgrade.</li>
<li>Flash usually requires longer to download particularly if it  contains a lot of images, sound, and video. If it doesn&#8217;t preload, it  may stutter when playing (think about trying to watch video on a slow  internet connection)</li>
<li>Flash is typically not SEO (Search Engine Optimization) Compatible,  which means that your content may not show up on Google or Search Tools.</li>
<li>Flash designs are used in ads, so some browsers may be set to block  them.</li>
</ul>
<p><strong>So, be selective about when you use Flash!</strong> Good uses for flash  are interactive games, animations, a small part of your site that you  would like to draw attention to, like a zippy logo or slideshow. Also,  consider whether your target audience will wait for the Flash to  download. Onward!</p>
<h3>Key Terms:</h3>
<p><a href="http://www.larabank.com/introtoflash/terms.html">More Flash  definitions here.</a></p>
<p><strong>.fla</strong>: editable Flash file. Make sure to backup a copy of this  on every project. This is the one that you will want if you ever need to  make changes.<br />
<strong>.swf </strong>: file for view only. This is the file that gets uploaded  with and linked from your HTML, kind of like an image file.<br />
<strong>Framerate:</strong> The rate, stated in frames per second (fps), at which  each frame in an animation is played back for the user<br />
<strong>Timeline</strong>: the part of the Flash workspace that contains the  sequence of frames, layers, and scenes composing an animation.<br />
<img title="ws_timeline_popup" src="http://a.parsons.edu/~ngoh/lab/wp-content/uploads/2010/03/ws_timeline_popup.png" alt="ws_timeline_popup" width="578" height="238" /></p>
<h3>Parts of the Timeline</h3>
<p><strong>A.</strong> Playhead <strong>B.</strong> Empty keyframe <strong>C.</strong> Timeline header  <strong>D.</strong> Guide layer icon <strong>E.</strong> Frame View pop‑up menu <strong>F.</strong> Frame-by-frame animation <strong>G.</strong> Tweened animation <strong>H.</strong> Scroll To  Playhead button <strong>I.</strong> Onion-skinning buttons <strong>J.</strong> Current  Frame indicator <strong>K.</strong> Frame Rate indicator<br />
<strong>L.</strong> Elapsed Time indicator</p>
<p><strong>Keyframe: </strong>A frame in which you establish exactly what should  appear on stage at that particular time.<br />
<strong>Frame-by-frame Animation: </strong>Animation using a series of keyframes  with no tweening that creates a flipbook-like animation Flash file.<br />
<strong>Tween: </strong>Used as a verb, &#8220;to tween&#8221; is to have a change made  between two objects. For example, you can use a Shape Tween to morph a  solid circle into a doughnut.<br />
<strong>Onion Skin Tools: </strong>Tools that enable you to edit one keyframe  while viewing (dimly) other frames before or after the current frame.<br />
<strong>Vector graphic: </strong> A vector graphic file contains all the  calculations to redraw an image onscreen. A vector graphic’s file size  remains small, and the image can be scaled to any size without any  degradation to image quality. Flash .swf files are saved as vector  graphics.<br />
<strong>Bitmap/Raster graphic:</strong> An image file format that contains the  color information for each pixel. Raster graphics’ file sizes are  relatively large.<br />
<strong>Symbol: </strong>A graphic, Movie Clip, or button that is stored in the  Library. This is especially useful because no matter how many instances  of a symbol are used, it only has to download once, and changes made to  the master symbol are immediately reflected in all instances already  used. See also Button symbol; Graphic symbol; Library; Movie Clip  symbol.</p>
<p><img title="library" src="http://a.parsons.edu/~ngoh/lab/wp-content/uploads/2010/03/library1.gif" alt="library" width="433" height="429" /></p>
<h2>Assignment:</h2>
<ol>
<li>Using our new animation skillz, create a 200 frame animation expressing a certain feeling. Bring the .fla file to class and we will publish them together</li>
</ol>
<ul>
<li>Kelly- surreal</li>
<li>Philip- twisted</li>
<li>Aeneas- wavy</li>
<li>Le&#8217;on- hyper</li>
<li>Bryan- joyous</li>
<li>Jobana- mad</li>
</ul>
<ol>
<li>Watch this <a href="http://www.kirupa.com/developer/flashcs4/video/motiontweens_cs4.htm">tutorial on making a tween.</a></li>
<li>Look at some of the websites linked off of <a href="http://designcharts.com/">Design Charts</a> for inspiration.</li>
<li>If you are having difficulty with HTML/CSS, buy <a href="http://www.amazon.com/HTML-XHTML-Sixth-Elizabeth-Castro/dp/0321430840/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1269879956&amp;sr=8-1">this book</a>. If you are struggling with Flash,<a href="http://www.amazon.com/Flash-CS4-Missing-Chris-Grover/dp/0596522940/ref=sr_1_5?ie=UTF8&amp;s=books&amp;qid=1269880026&amp;sr=1-5"> get this book</a>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/03/28/week-9-flash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Week 8: Javascript &amp; JQuery</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/03/21/week-8-javascript-jquery/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/03/21/week-8-javascript-jquery/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 02:46:57 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=121</guid>
		<description><![CDATA[Welcome back! Hope you a restful break and enjoyed the lovely weather. Let&#8217;s jump back into things with look at the basic structure of Javascript and JQuery!

Look back over the post for Week 7 on Javascript.
Today, we&#8217;ll put together this simple slideshow using the image gallery that you made over spring break.
We&#8217;ll do another version [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome back! Hope you a restful break and enjoyed the lovely weather. Let&#8217;s jump back into things with look at the basic structure of Javascript and JQuery!<br />
<span id="more-121"></span></p>
<p>Look back over the post for Week 7 on Javascript.</p>
<p>Today, we&#8217;ll put together this <a href="http://mysite.pratt.edu/~hngo/im2010/slideshow3.html">simple slideshow</a> using the image gallery that you made over spring break.</p>
<p>We&#8217;ll do another version with:</p>
<h3>Lightbox</h3>
<p>Many of you were asking about adding a lightbox to your websites. <a href="http://www.lokeshdhakar.com/projects/lightbox2/">This is a great tutorial,</a> straight from the programmer, Lokesh Dhakar. Dhakar has published Lightbox under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License</a>, which means that we can use it as long as we attribute it to him. He is also a designer, just like us, and is asking for donations from those who use lightbox. <a href="http://www.lokeshdhakar.com/projects/lightbox2/#donate">So if you use it, chip in here. </a></p>
<h3>JQuery</h3>
<p>JQuery is a library of Javascript programs that is easily implemented with designers with little javascript experience. You can find the library and support for JQuery <a href="http://www.jquery.com">here</a>. Take a look through these great<a href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/"> JQuery tutorials </a>and try one for yourself. Follow the instructions very carefully, and make sure to download the .js file before beginning. If you have no idea what I am talking about, read through the tutorial again.</p>
<h3>Assignment:</h3>
<ol>
<li>Work through a JQuery example and upload it to the Pratt server. Link to it from your blog.</li>
<li>Add some kind of slideshow/lightbox or JQuery functionality to your website.</li>
<li>
We are about to begin our unit on creating interactive experiences with Flash. Currently, there is a huge debate going on about whether Flash will continue as a viable program if Apple continues to not support it on the iphone and ipad. Read these two articles about the debate:<br />
<a href="http://www.alistapart.com/articles/flashstandards/">A List Apart</a><br />
<a href="http://blogs.adobe.com/jnack/2010/01/sympathy_for_the_devil.html">John Nack on Adobe</a></li>
<li>Consider your future as a designer. My goal as a professor is to arm you with skills that you can use no matter what technology is available, but it is your responsibility to adapt to those changes. Write a 3 paragraph response to the Flash debate and about how you will adapt to changes in technology throughout your career as a designer.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/03/21/week-8-javascript-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week 7: Portfolio Presentation and Javascript</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/03/07/week-7-portfolio-presentation-and-javascript/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/03/07/week-7-portfolio-presentation-and-javascript/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 04:16:40 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=115</guid>
		<description><![CDATA[Today, you&#8217;ll present your portfolio websites and we&#8217;ll learn a little Javascript.

If you need forms for your Studio assignments, here&#8217;s a great source: W3Schools tutorial for forms
Javascript!
Javascript is the object-oriented, scripting language of the web. It can add zest, animation, and functionality to your web pages. Like CSS, Javascript can live in many different parts [...]]]></description>
			<content:encoded><![CDATA[<p>Today, you&#8217;ll present your portfolio websites and we&#8217;ll learn a little Javascript.<br />
<span id="more-115"></span></p>
<h3>If you need forms for your Studio assignments, here&#8217;s a great source: <a href="http://www.w3schools.com/html/html_forms.asp">W3Schools tutorial for forms</a></h3>
<h3>Javascript!</h3>
<p>Javascript is the object-oriented, scripting language of the web. It can add zest, animation, and functionality to your web pages. Like CSS, Javascript can live in many different parts of your page and in external files that end in .js . <strong>Unlike CSS, they are enclosed in the tag <code>&lt;script&gt;&lt;/script&gt;</code></strong></p>
<blockquote>
<h3>Here is the basic structure of javascript:</h3>
<p><code> &lt;script type="text/javascript"&gt;<br />
document.write("This is my first JavaScript!");<br />
&lt;/script&gt;</code></p>
<p>This will run wherever it is placed in the body, printing the text &#8220;This is my first JavaScript!&#8221; in that spot. It can also be place in the &lt;head&gt;, where it will print when the page loads.</p></blockquote>
<p>Javascript is used more effectively to store information in the head of a document that can be accessed later in the document. In this example, we store a function in the head and access it in the body:</p>
<blockquote><p><code><br />
&lt;html&gt;<br />
&lt;head&gt;<br />
<span style="color: #e80000;background-color: transparent">&lt;script type="text/javascript"&gt;<br />
function message()<br />
{<br />
alert("This alert box was called with the onload event");<br />
}<br />
&lt;/script&gt;</span><br />
&lt;/head&gt;</code></p>
<p><code>&lt;body onload="message()"&gt;<br />
<span style="color: #e80000;background-color: transparent">&lt;script type="text/javascript"&gt;<br />
document.write("This message is written by JavaScript");<br />
&lt;/script&gt;</span><br />
&lt;/body&gt;</code></p>
<p><code> </code><code>&lt;/html&gt;</code></p></blockquote>
<p>Javascript can also be located externally to the html document and accessed by a script tag in the head of the document:</p>
<blockquote><p><code>&lt;head&gt;<br />
&lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;<br />
&lt;/head&gt;<br />
</code></p></blockquote>
<h3>We will work through this <a href="http://mysite.pratt.edu/~hngo/im2010/slideshow2.html">slideshow example</a> in which we will make a slide show and swap out images.</h3>
<h3>Unfortunately, we do not have time in this class to cover much Javascript. So, you should go through the <a href="http://w3schools.com/js/default.asp">W3Schools tutorial</a> to learn more.</h3>
<p>JQuery is a library of Javascript programs that is easily implemented with designers with little javascript experience. Take a look through these great<a href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/"> JQuery tutorials </a>and try one for yourself. Follow the instructions very carefully, and make sure to download the .js file before beginning. If you have no idea what I am talking about, read through the tutorial again.</p>
<h3>Assignment:</h3>
<ol>
<li>Go through all of the <a href="http://w3schools.com/js/default.asp">W3Schools Javascript Tutorials.</a> Get 3 working examples going and upload them to your public_html space. Link from your blog.</li>
<li>Don&#8217;t forget your xhtml/css over break! make a page with 5 thumbnail images (100px x 100px) about your spring break. We will use these when you return!</li>
<li>Extra credit for a working JQuery example, posted online and linked from your blog!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/03/07/week-7-portfolio-presentation-and-javascript/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Weeks 5 &amp; 6: Portfolio Lab</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/02/21/week-5-portfolio-lab/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/02/21/week-5-portfolio-lab/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 03:11:42 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=110</guid>
		<description><![CDATA[We&#8217;ll continue working with HTML and CSS today, exploring tables, menus, and images. You&#8217;ll begin turning your portfolio designs into live websites!
For some of the topics that we didn&#8217;t get to last week, skip over to Week 4 post.

Here&#8217;s an example of different ways to style your hyperlinks in the form of a Hyperlink Haiku.
Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ll continue working with HTML and CSS today, exploring tables, menus, and images. You&#8217;ll begin turning your portfolio designs into live websites!</p>
<p><span id="more-110"></span>For some of the topics that we didn&#8217;t get to last week, skip over to <a href="http://blogs.huongngo.com/prattim2010/2010/02/14/week-4-advanced-cssimages/">Week 4 post</a>.</p>
<ul>
<li>Here&#8217;s an example of different ways to style your hyperlinks in the form of a <a href="http://mysite.pratt.edu/~hngo/im2010/haiku.html">Hyperlink Haiku</a>.</li>
<li>Here&#8217;s an example of using background images to <a href="http://mysite.pratt.edu/~hngo/im2010/buttons.html">animate menu items.</a></li>
</ul>
<h3>Assignment:</h3>
<ol>
<li>Read the iA article <a href="http://informationarchitects.jp/the-web-is-all-about-typography-period/">&#8220;Web Design is 95% Typography.&#8221;</a> and respond on your blogs.</li>
<li>Begin structuring your website using xHTML and CSS. Create the home page with working links by next week.</li>
<li>Download Firefox and the <a href="https://addons.mozilla.org/en-US/firefox/addon/60">Firefox Web Developer tool</a> and use it to look at how some of your favorite websites are programmed.</li>
</ol>
<h3>For Week 7 (March 8):</h3>
<ol>
<li>Finish the xHTML/CSS build for your website.</li>
<li>Publish it to the pratt server and make sure everything works.</li>
<li>Post a link from your blog, make sure you are caught up on all blog assignments.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/02/21/week-5-portfolio-lab/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Weeks 4: Advanced CSS/Images</title>
		<link>http://blogs.huongngo.com/prattim2010/2010/02/14/week-4-advanced-cssimages/</link>
		<comments>http://blogs.huongngo.com/prattim2010/2010/02/14/week-4-advanced-cssimages/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 01:25:45 +0000</pubDate>
		<dc:creator>huong</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.huongngo.com/prattim2010/?p=95</guid>
		<description><![CDATA[Today, we&#8217;ll review CSS positioning and explore some tricks with images. We&#8217;ll also learn how to use tables and make sitemaps.

Solutions for the homework: (Take a look and fine tune your version accordingly.)

Version 1
Version 2


If you haven&#8217;t done so already, bookmark this CSS Guide
Also, here is the great Tutorial on positioning with divs.

Review of positioning

relative [...]]]></description>
			<content:encoded><![CDATA[<p>Today, we&#8217;ll review CSS positioning and explore some tricks with images. We&#8217;ll also learn how to use tables and make sitemaps.</p>
<p><span id="more-95"></span><br />
Solutions for the homework: (Take a look and fine tune your version accordingly.)</p>
<ul>
<li><a href="http://mysite.pratt.edu/~hngo/im2010/layout_hw.html">Version 1</a></li>
<li><a href="http://mysite.pratt.edu/~hngo/im2010/layout_hw2.html">Version 2</a></li>
</ul>
<ul>
<li>If you haven&#8217;t done so already, bookmark this <a href="http://culturedcode.com/css/reference.html">CSS Guide</a></li>
<li>Also, here is the great <a href="http://www.barelyfitz.com/screencast/html-training/css/positioning/">Tutorial on positioning with divs</a>.</li>
</ul>
<h3>Review of positioning</h3>
<ul>
<li>relative vs. absolute</li>
<li>when to use floats vs. positioning</li>
</ul>
<h3>Box Model</h3>
<p><a href="http://blogs.huongngo.com/prattim2010/2010/02/07/week-3-advanced-css/">See the blog post from last class for more details</a></p>
<ul>
<li>padding</li>
<li>border</li>
<li>margin: top right bottom left</li>
</ul>
<h3>Tables</h3>
<p>This is the basic structure of a table:</p>
<blockquote><p><code> </code></p>
<p>&lt;table&gt;</p>
<p>&lt;tr&gt;</p>
<p>&lt;td&gt;</p>
<p>&lt;/td&gt;</p>
<p>&lt;/tr&gt;</p>
<p>&lt;/table&gt;</p></blockquote>
<p>This table would be 1 cell big. Not very exciting, I know. <a href="http://mysite.pratt.edu/~hngo/im2010/table.html">Here&#8217;s an example of one</a> that has table headers, colspans, and rowspans.</p>
<h3>Thumbnail galleries</h3>
<p>Here a couple of examples of thumbnail galleries:</p>
<ul>
<li><a href="http://mysite.pratt.edu/~hngo/im2010/image_gallery.html">Gallery 1 (Control image size, borders, grid using styles)</a></li>
<li><a href="http://mysite.pratt.edu/~hngo/im2010/image_tricks.html">Gallery 2 (Crop images with CSS and hide overflows)</a></li>
</ul>
<h3>Images as Backgrounds</h3>
<p>Besides giving your page a nice wallpaper background, you can use images as backgrounds to create some nice effects.</p>
<ul>
<li><a href="http://mysite.pratt.edu/~hngo/im2010/rounded_corners.html">Here is an example</a></li>
<li><a href="http://www.devwebpro.com/25-rounded-corners-techniques-with-css/">Here are more examples</a></li>
</ul>
<p>Assignment:</p>
<ul>
<li>Create a Sitemap for your portfolio. Post it on your blog. <a href="http://gd4.tuwien.ac.at/languages/html/webstyle/site/diagrams.html">Here is a link about sitemaps</a></li>
<li>Finish reading Don&#8217;t Make Me Think.</li>
<li>Begin designing your site in photoshop, illustrator or indesign. Grid out your page, laying out areas for text and images. Think about the way that we gridded websites in class today. Don&#8217;t worry too much about the way that it looks for right now. Focus on translating your paper prototype to a clean wireframe. <a href="http://www.w3avenue.com/2010/02/03/guidelines-tools-and-resources-for-web-wireframing/">Here are some examples to help you out. </a>Post it on your blog.</li>
<li>Finish the image gallery using images of your own work.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blogs.huongngo.com/prattim2010/2010/02/14/week-4-advanced-cssimages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
