<?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>INTE@CapU &#187; flash</title>
	<atom:link href="http://north.interactivedesignlab.com/archives/tag/flash/feed" rel="self" type="application/rss+xml" />
	<link>http://north.interactivedesignlab.com</link>
	<description>(Interactive Design Program at Capilano University)</description>
	<lastBuildDate>Mon, 15 Mar 2010 00:44:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to embed fonts in Actionscript 3.0 &#8211; The easy way</title>
		<link>http://north.interactivedesignlab.com/archives/634</link>
		<comments>http://north.interactivedesignlab.com/archives/634#comments</comments>
		<pubDate>Wed, 17 Feb 2010 07:27:27 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[CS3]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[interactive design]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://north.interactivedesignlab.com/?p=634</guid>
		<description><![CDATA[In this tutorial I will teach you how to embed a custom font. Embedding fonts is good practice in case if the person viewing your flash application or website does not have the font installed on their computer.
In your .fla file go to the library menu and select New Font

A font properties menu will show <a href="http://north.interactivedesignlab.com/archives/634" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I will teach you how to embed a custom font. Embedding fonts is good practice in case if the person viewing your flash application or website does not have the font installed on their computer.</p>
<p>In your .fla file go to the library menu and select <em>New Font</em></p>
<p><a href="http://north.interactivedesignlab.com/wp-content/uploads/2010/02/embedFont1.png"><img class="alignnone size-full wp-image-635" title="embed font step 1" src="http://north.interactivedesignlab.com/wp-content/uploads/2010/02/embedFont1.png" alt="The library menu" width="691" height="443" /></a></p>
<p>A font properties menu will show up. Here you can edit the font name and the font. As you can see I have named font to be myFont Plain. This is because the font that Iam embedding is not bold nor italic. You can name it whatever you want but be descriptive to avoid confusion. The Font is named myFont. This is your main name for the font. Below are some checkboxes which help identify the style of the Font. If I style text with myFont, because I left the checkboxes blank the system will use myFont Plain. If I had created another font which was myFont, had its name as myFont Bold and then selected the bold style, I would have a Bold style for myFont. Now when I use myFont, I can use a bold tag around it and the myFont Bold will get shown.</p>
<p><a href="http://north.interactivedesignlab.com/wp-content/uploads/2010/02/embedFont2.png"><img class="alignnone size-full wp-image-636" title="embedFont2" src="http://north.interactivedesignlab.com/wp-content/uploads/2010/02/embedFont2.png" alt="" width="542" height="169" /></a></p>
<p>After adding the new font you should be able to see it in your library. Right click on it and select Linkage. In the Linkage properties window check the box that says <em>Export for ActionScript</em>. You can name the class anything you want but make sure you don&#8217;t change the Base Class name.</p>
<p><a href="http://north.interactivedesignlab.com/wp-content/uploads/2010/02/embedFont3.png"><img class="alignnone size-full wp-image-637" title="embedFont3" src="http://north.interactivedesignlab.com/wp-content/uploads/2010/02/embedFont3.png" alt="" width="511" height="301" /></a></p>
<p>Now go into your <em>.as</em> file. You will need to import the following classes to make this work.</p>
<p style="background-color: #eeeeff;">import flash.text.TextField;<br />
import flash.text.TextFormat;<br />
import flash.text.AntiAliasType;</p>
<p>Now that we have our classes loaded we will create a text format and a text field and then add the format to the new text field.</p>
<p style="background-color: #eeeeff;">var format:TextFormat = new TextFormat();<br />
format.font = &#8216;myFont&#8217;;<br />
format.color = 0&#215;333333;<br />
var myText:TextField = new TextField();<br />
myText.text = &#8216;Some Filler Text&#8217;;<br />
myText.embedFonts = true;<br />
myText.antiAliasType = AntiAliasType.ADVANCED;<br />
myText.setTextFormat(format);</p>
<p>And there you go. You now have textfield using custom font.</p>
<h3>Known Problems</h3>
<p>-I am using Flash CS3 on my Macbook Pro and I found that if you add a font to your computer in the fonts folder while Flash is open the font may not be displayed. Instead what was happening to me was I was getting a default font. This made me stressed as nobody was having this problem. But all you have to do is close Flash and reopen Flash and your font will work now. There is some refreshing issue that Flash has with this process in CS3.</p>
<p>I will be posting any other issues with possible solutions.</p>
<p>If you liked this post, you might also like&#8230;</p>
<p><a title="How to change a textfield's alpha in actionscript 3.0" href="http://north.interactivedesignlab.com/archives/625">How to change a textfield&#8217;s alpha in Actionscript 3.0</a></p>
<p><a title="Image gallery with Flash CS4" href="http://north.interactivedesignlab.com/archives/67">Simple Image Gallery in Flash CS4</a></p>
]]></content:encoded>
			<wfw:commentRss>http://north.interactivedesignlab.com/archives/634/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change a textfields alpha in Actionscript 3.0</title>
		<link>http://north.interactivedesignlab.com/archives/625</link>
		<comments>http://north.interactivedesignlab.com/archives/625#comments</comments>
		<pubDate>Tue, 16 Feb 2010 05:08:42 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[actionscript 3.0]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[blendMode]]></category>
		<category><![CDATA[CS3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[interactive design]]></category>
		<category><![CDATA[LAYER]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[textfield]]></category>

		<guid isPermaLink="false">http://north.interactivedesignlab.com/?p=625</guid>
		<description><![CDATA[I am writing this tutorial for anyone who is having any issues with changing the alpha channel with actionscript. I&#8217;m gonna show you how. This might seem pretty straight forward at first, I mean I thought it was, but you actually can&#8217;t just start changing the alpha property without first setting its blendMode. This sometimes <a href="http://north.interactivedesignlab.com/archives/625" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>I am writing this tutorial for anyone who is having any issues with changing the alpha channel with actionscript. I&#8217;m gonna show you how. This might seem pretty straight forward at first, I mean I thought it was, but you actually can&#8217;t just start changing the alpha property without first setting its <code style="font-family: Courier;">blendMode</code>. This sometimes gets overlooked in tutorials.</p>
<p>First import the BlendMode Class into your document.</p>
<p><code style="font-family: Courier;">import flash.display.BlendMode;</code></p>
<p>Second you&#8217;ll want to set the textfields blendmode to <code style="font-family: Courier;">LAYER</code></p>
<p><code style="font-family: Courier;">var myTextField:TextField = new TextField();<br />
myTextField.blendMode = BlendMode.LAYER;</code></p>
<p>There it is fellas. Easy Breezy. Now you can change the alpha of the <code style="font-family: Courier;">myTextField</code></p>
<p>If you liked this post, you might also like&#8230;</p>
<p><a title="How to embed fonts in Actionscript 3.0" href="http://north.interactivedesignlab.com/archives/634">How to embed fonts in Actionscript 3.0 &#8211; the easy way</a></p>
<p><a title="Image gallery with Flash CS4" href="http://north.interactivedesignlab.com/archives/67">Simple  Image Gallery in Flash CS4</a></p>
]]></content:encoded>
			<wfw:commentRss>http://north.interactivedesignlab.com/archives/625/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sublime HTML5 Video Player</title>
		<link>http://north.interactivedesignlab.com/archives/604</link>
		<comments>http://north.interactivedesignlab.com/archives/604#comments</comments>
		<pubDate>Sun, 14 Feb 2010 20:31:35 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[browser plugins]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[HTML5 Video]]></category>
		<category><![CDATA[interactive design]]></category>
		<category><![CDATA[Jilion]]></category>
		<category><![CDATA[Sublime Video]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://north.interactivedesignlab.com/?p=604</guid>
		<description><![CDATA[

With HTML5 just around the corner many people are excited as to what this new technology will bring us. One of the coolest parts of HTML5 is the ability to watch video without any plugins what so ever! This means no Adobe Flash or DivX to watch movies on your website! HTML5 is still being <a href="http://north.interactivedesignlab.com/archives/604" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">
<p><img class="size-full wp-image-605 alignright" title="SublimeVideo" src="http://north.interactivedesignlab.com/wp-content/uploads/2010/02/SublimeVideo.png" alt="Sublime Video HTML5 Player" width="330" height="101" /></p>
<p style="text-align: left;">With HTML5 just around the corner many people are excited as to what this new technology will bring us. One of the coolest parts of HTML5 is the ability to watch video without any plugins what so ever! This means no Adobe Flash or DivX to watch movies on your website! HTML5 is still being finalized but the people at <a title="Jilion" href="http://jilion.com/" target="_blank">Jilion</a> have already hopped on to the band wagon and created their own custom HTML5 Video player. They have created a beautiful interface for the video player and it is currently supported by most HTML5 capable browsers. You can check out the Sublime Video player and full details <a title="Sublime Video" href="http://jilion.com/sublime/video" target="_blank">here</a>. I hope more people will get inspired by this and create their own video players for their own sites. If you haven&#8217;t already heard Vimeo and YouTube have already created their own HTML5 video players that you can test out right now!</p>
<p style="text-align: left;">
<p>If you liked this post, you might also like…</p>
<p><a title="HTML5 Tutorial" href="http://north.interactivedesignlab.com/archives/529">HTML5  Local Storage, Session Storage, and Client-Side Database Tutorial</a></p>
<p><a title="HTML5 Link Element" href="http://north.interactivedesignlab.com/archives/491">HTML5 Link  Element Explained</a></p>
<p><a title="Awesome Uses of HTML5's Canvas Tag" href="http://north.interactivedesignlab.com/archives/665">Awesome Uses of HTML5&#8217;s Canvas Tag</a></p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://north.interactivedesignlab.com/archives/604/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple Image Gallery in Flash CS4</title>
		<link>http://north.interactivedesignlab.com/archives/67</link>
		<comments>http://north.interactivedesignlab.com/archives/67#comments</comments>
		<pubDate>Fri, 22 Jan 2010 22:51:23 +0000</pubDate>
		<dc:creator>Thomas</dc:creator>
				<category><![CDATA[Flash Tutorials]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[actionscript 3.0]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash CS4]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://north.interactivedesignlab.com/?p=67</guid>
		<description><![CDATA[Want to create a cool image gallery in flash? Then this tutorial is perfect for you! This will teach you how to create a simple image gallery with thumbnails in Adobe Flash CS4.
Click Here for the Tutorial
]]></description>
			<content:encoded><![CDATA[<p>Want to create a cool image gallery in flash? Then this tutorial is perfect for you! This will teach you how to create a simple image gallery with thumbnails in <a title="Adobe Flash" href="http://www.adobe.com/products/flash/" target="_blank">Adobe Flash CS4</a>.</p>
<p><a title="How To Create A Simple Image Gallery In Flash CS4" href="http://tuts.flashmint.com/how-to-create-a-simple-image-gallery-in-flash-cs4/" target="_blank">Click Here for the Tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://north.interactivedesignlab.com/archives/67/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

