﻿<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>THEACTIONSCRIPTER.COM</title>
	<updated>2012-05-30T09:22:10Z</updated>
	<id>http://theactionscripter.com/atom.aspx</id>
	<link href="http://theactionscripter.com/atom.aspx" rel="self" type="application/rss+xml" />
	<link href="http://theactionscripter.com" rel="alternate" type="application/rss+xml" />
	<generator uri="http://app.onlinequickblog.com/" version="2.6.8">Quick Blogcast</generator>
	<entry>
		<title>HTML5 vs Flash</title>
		<link rel="alternate" href="http://theactionscripter.com/2010/06/13/html5-vs-flash-2.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2010-06-13:e3aafbb8-c9c9-48f9-862e-4d4f3c3ebb24</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Flash" />
		<updated>2010-06-13T20:46:13Z</updated>
		<published>2010-06-13T20:46:13Z</published>
		<content type="html">A while back &lt;a target="_blank" href="http://www.apple.com/hotnews/thoughts-on-flash/"&gt;Steve Jobs wrote a blog&lt;/a&gt; about why he doesn't like Flash and will never allow it on his products.  I have been meaningto respond to it but have been busy with a number of projects.&amp;nbsp; Actually a number of them were Flash developed apps for touch screens, which was one point Jobs said Flash was bad for.&amp;nbsp; Obviously Jobs' statement below is just wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="border: 1px solid #7f9db9; overflow-y: auto;" class="reCodeBlock"&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span style="margin-left: 0px ! important; color: #bfbfbf;"&gt;&lt;code style="color: #000000;"&gt;"Flash was designed for PCs using mice, not for touch screens using fingers. For example, many Flash websites rely on “rollovers”, which pop up menus or other elements when the mouse arrow hovers over a specific spot." ~ Jobs&lt;br /&gt;
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Flash works exceptionally well for touch screens and kiosks.&amp;nbsp; A lot of clients want their kiosk created in Flash.&amp;nbsp; Of course rollovers will not work on a touch screen, but all websites developed in any language in today's world have rollovers.&amp;nbsp; The majority of DHTML and JavaScript navigation would have the same difficulty if a pop up menu could only be displayed via rollover.&amp;nbsp; It has nothing to do with Flash.&amp;nbsp; It is the way the site was designed and can be a hurdle for any language.&amp;nbsp; &lt;strong&gt;Jobs is reaching with this point.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Another comment Jobs mentioned that isn't fully true is that Flash does not perform well on mobile devices.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="reCodeBlock" style="border: 1px solid #7f9db9; overflow-y: auto;"&gt;
&lt;div style="background-color: #ffffff;"&gt;&lt;span style="margin-left: 0px ! important;"&gt;&lt;code style="color: #000000;"&gt;"In addition, Flash has not performed well on mobile devices. We have routinely asked Adobe to show us Flash performing well on a mobile device, any mobile device, for a few years now." ~ Jobs&lt;br /&gt;
&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Below is a video from Adrian Ludwig, who works on the Flash team at Adobe.&amp;nbsp; Adrian demos the HTC Hero and its capabilities with the Flash player.&amp;nbsp; Flash performed well on the HTC Hero.&amp;nbsp; I wonder why HTC was able to have Flash performing well on their device and Apple wasn't.&amp;nbsp; Is it Flash's fault?&amp;nbsp; I think not.&lt;br /&gt;
&lt;br /&gt;
&lt;object width="560" height="340"&gt;
&lt;param name="movie" value="http://www.youtube.com/v/QZLOndllpUM&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999"&gt;
&lt;param name="allowFullScreen" value="true"&gt;
&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/QZLOndllpUM&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="340" width="560"&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
The topic that has been driving me crazy, is Jobs big push of HTML5 and how it is the future of the web.&amp;nbsp; If HTML5 becomes the future of the web, it'll be a far future.&amp;nbsp; Currently HTML5 is about as strong as Flash was 10 years ago.&amp;nbsp; HTML5 may have a future but Flash has been here longer, is proven and will continue to evolve while HTML5 is playing catch up.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Flash's ability to allow graphic designers to easily import their Illustrator and PhotoShop assets into the IDE is something HTML5 cannot compete with.&amp;nbsp; The backbone of rich media on the web is the creative.&amp;nbsp; Creative will never stop using Illustrator and Photoshop.&amp;nbsp; I do not care how much money Apple invests in creating a graphics suite it will never out duel &lt;a target="_blank" href="http://www.adobe.com/products/creativesuite/design/?promoid=DTEMS"&gt;Adobe's creative suite&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
In the video below a Flash developer named Michael explains the major differences between Flash and HTML5.&amp;nbsp; The most interesting part of Michael's video was when he was demonstrating the performances between HTML5 and Flash.&amp;nbsp; Jobs claimed that Flash couldn't perform well and can kill a processor.&amp;nbsp; Yes, this can be true if the Flash experience was developed poorly and had memory leaks in the code.&amp;nbsp; That could happen with any language though.&amp;nbsp; It has nothing to do with the language but all with the developer.&lt;br /&gt;
&lt;br /&gt;
Anyways, Michael shows how HTML5 was always using more CPU usage than his Flash examples.&amp;nbsp; While the Flash examples were also a better experience, richer graphics, better performance, etc.&lt;br /&gt;
&lt;br /&gt;
Take a look at the video yourself and draw your own conclusion.&lt;br /&gt;
&lt;br /&gt;
&lt;object width="480" height="385"&gt;
&lt;param name="movie" value="http://www.youtube.com/v/aVjIsL8qwNw&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999"&gt;
&lt;param name="allowFullScreen" value="true"&gt;
&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/aVjIsL8qwNw&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="385" width="480"&gt;&lt;br&gt;
&lt;br&gt;
In conclusion, Jobs is just hating on Flash.&amp;nbsp; It is a smart business move because Apple wouldn't sell as much apps from their app store if users can just get them for free from and website that has Flash.&amp;nbsp; The biggest issue I have with him though, is before the iPod Apple had NOTHING.&amp;nbsp; The only people who were buying Mac computers were graphic designers and every graphic designer uses Adobe products.&amp;nbsp; You would think Jobs would be thankful and support Adobe with their endeavors, but he doesn't.&amp;nbsp; There has to be more to this story.&lt;br&gt;
&lt;/object&gt;</content>
	</entry>
	<entry>
		<title>Free Gucci Mane Flash Game</title>
		<link rel="alternate" href="http://theactionscripter.com/2010/01/18/free-gucci-mane-flash-game.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2010-01-18:b6ef0410-d76a-4b82-ac1e-8c40b6bc8498</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Projects" />
		<category term="Flash" />
		<updated>2010-01-18T16:51:00Z</updated>
		<published>2010-01-18T16:51:00Z</published>
		<content type="html">I recently developed &lt;a target="_blank" href="http://djx-rated.com/free_gucci.aspx"&gt;a shooting game featuring Atlanta based rapper Gucci Mane&lt;/a&gt;.&amp;nbsp; Gucci Mane has recently been sent to jail and his fans want him out.&amp;nbsp; The games objective is to help free Gucci Mane from jail.&amp;nbsp; Try and freeze the guards with the ice gun (burrrrr) allowing enough time for Gucci to make his escape.&amp;nbsp; There is a helicopter waiting for the rapper at the end of the game to bring him to freedom.&amp;nbsp; &lt;br&gt;&lt;br&gt;This game is an example on how you can use Flash and other online tools to market and promote music artists on the internet in a new hip way.&amp;nbsp; Simply add a sound track to the game and have their fans rock out while saving Gucci Mane.&lt;br&gt;&lt;br&gt;
&lt;embed src="http://www.djx-rated.com/flash/free_gucci/freeGucci.swf" type="application/x-shockwave-flash" height="475" width="650"&gt;</content>
	</entry>
	<entry>
		<title>Flash Input Text Font Issue with Mask</title>
		<link rel="alternate" href="http://theactionscripter.com/2010/01/05/flash-input-text-font-issue-with-mask.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2010-01-05:091bac99-6d84-44a8-90c9-d31792ba275c</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Imports" />
		<category term="Flash" />
		<updated>2010-01-05T15:00:00Z</updated>
		<published>2010-01-05T15:00:00Z</published>
		<content type="html">Why isn't my text showing up when I enter it in an input textfield?&amp;nbsp; That was the question I was asking myself.&amp;nbsp; Usually when I have an input text field the text shows up perfectly when keying inside it.&amp;nbsp; The reason I was having this issue was because my textbox was under a mask.&lt;br&gt;&lt;br&gt;&lt;strong&gt;The solution:&lt;/strong&gt;&lt;br&gt;Embed the characters needed like you would a dynamic text field.&amp;nbsp; That's it.&lt;br&gt;</content>
	</entry>
	<entry>
		<title>Developing Flash on a Mac vs PC</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/12/29/developing-flash-on-a-mac-vs-pc.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-12-29:58e65d43-c453-4647-9b7e-286edcf7c8e3</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="General" />
		<updated>2009-12-29T16:53:00Z</updated>
		<published>2009-12-29T16:53:00Z</published>
		<content type="html">&lt;img src="http://images.quickblogcast.com/3/2/7/2/6/85366-162723/MacPC.jpg?a=72"&gt;&lt;div&gt; &lt;/div&gt;&lt;br&gt;&lt;br&gt;I finally did it.&amp;nbsp; I made the jump from PC to MAC.&amp;nbsp; I have been PC my entire life and figured it was about time to try out the MAC after all those commercials. I got a new MacBook Pro and it looks cool.&amp;nbsp; The keyboard lights up and everything.&amp;nbsp; &lt;br&gt;&lt;br&gt;I have been developing Flash on it for the past month and came to some conclusions.&amp;nbsp; The Apple learning curve will take me longer than I thought.&amp;nbsp; I guess this is because I lived and died by the shortcuts on my PC.&amp;nbsp; I adjusted to the basic Apple differences quite easily, like using the command instead of the control key. The Flash shortcuts are what have been killing me.&amp;nbsp; F5 and F6 were not creating new keyframes or blank keyframes for me.&amp;nbsp; It took me a while to realize this was because you have to hit fn and F5 or F6.&amp;nbsp; So I had to do it the long way insert &amp;gt; timeline &amp;gt; Frame.&lt;br&gt;&lt;br&gt;I guess part of my struggles is because I have a laptop with limited keys.&amp;nbsp; Not having a home and end key has also slowed me down.&amp;nbsp; &lt;br&gt;&lt;br&gt;The positive thing about the switch has defiantly been dealing with my creative partners.&amp;nbsp; This was the main reason I made the switch.&amp;nbsp; Since the creative assets I get were designed by people using MACs a lot of time I would have missing fonts or fonts that were not compatible.&amp;nbsp; This doesn't happen anymore.&lt;br&gt;&lt;br&gt;All in all I have mixed emotions on the switch from PC to MAC dealing with Flash development.&amp;nbsp; I have to say I miss my PC, like it more and much much faster with it, but time will tell.&amp;nbsp; Maybe in 3 months I will be singing a different tune when I know my MAC inside and out but until then I have to say,&amp;nbsp; "I am still a PC guy!".&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	</entry>
	<entry>
		<title>AS 3 Hide/Show Mouse Cursor</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/12/15/as-3-hideshow-mouse-cursor.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-12-15:a5efb294-29d2-4444-a638-5274a9ad5f61</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="ActionScript 3" />
		<updated>2009-12-15T21:42:00Z</updated>
		<published>2009-12-15T21:42:00Z</published>
		<content type="html">&lt;P&gt;Need the ActionScript 3 code to hide or show the mouse cursor?&amp;nbsp; Take a look below at it.&amp;nbsp; It is real simple.&amp;nbsp; Make sure you include the import.&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="TEXT-DECORATION: underline"&gt;&lt;STRONG&gt;Syntax:&lt;BR&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;CODE&gt;&lt;SPAN style="COLOR: #336699"&gt;import flash.ui.Mouse;&lt;BR&gt;&lt;BR&gt;Mouse.hide();&lt;BR&gt;Mosue.show(); &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/BLOCKQUOTE&gt;</content>
	</entry>
	<entry>
		<title>Where Can I Find Omniture Flash ActionSource Documentation?</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/11/06/where-can-i-find-omniture-flash-actionsource-documentation.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-11-06:15885523-9c24-42e7-9f38-9450963e177c</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Omniture" />
		<updated>2009-11-06T15:01:00Z</updated>
		<published>2009-11-06T15:01:00Z</published>
		<content type="html">You can find a version of Omniture's ActionSource documentation for Flash/ActionScript implementation at the link below.&lt;BR&gt;&lt;BR&gt;&lt;A href="http://issuu.com/carismarie/docs/omniture_flash_documentation" target=_blank&gt;http://issuu.com/carismarie/docs/omniture_flash_documentation&lt;/A&gt;</content>
	</entry>
	<entry>
		<title>Flash Making Extra Omniture Tracking Calls</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/11/05/flash-making-extra-omniture-tracking-calls.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-11-05:2782a22b-8b61-4c2e-b360-9d6d63f6d0d4</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Omniture" />
		<updated>2009-11-05T15:40:00Z</updated>
		<published>2009-11-05T15:40:00Z</published>
		<content type="html">&lt;IMG src="http://images.quickblogcast.com/3/2/7/2/6/85366-162723/Omniture.gif?a=67"&gt;&lt;BR&gt;&lt;BR&gt;Omniture tracking can be very tricky inside of Flash.&amp;nbsp; Omniture's introduction of ActionSource has made it easier to implement the tracking calls but there is still a number of issues that happens if not explained correctly.&amp;nbsp; One common mistake is extra tracking calls.&amp;nbsp; A lot of times when users click on different trackable components inside Flash&amp;nbsp;the Omniture call gets triggered more than once.&amp;nbsp; This is becasue the Omniture call variables are not being nulled out after it is being fired.&lt;BR&gt;&lt;BR&gt;When implementing Omniture on normal web pages each link click usually sends the user to a new http page.&amp;nbsp; Since the user is being sent to a new http page the Omniture variables are automatically refreshed because of the new http headers.&amp;nbsp; In Flash you have to refresh them on your own.&lt;BR&gt;&lt;BR&gt;The example below shows an Omniture call in Flash via ActionSource that is not getting refreshed after the call is executed.&amp;nbsp; Since the variables are not being reset after the call, it is being saved in the ActionSource object and is being sent again on each of the next calls.&lt;BR&gt;&lt;BR&gt;&lt;CODE&gt;&lt;SPAN style="COLOR: #336699"&gt;s.campaign = "Campaign Name";&lt;BR&gt;s.pageName = "About Us";&lt;BR&gt;s.eVar17 = "value";&lt;BR&gt;s.track();&lt;/SPAN&gt;&lt;/CODE&gt;&lt;BR&gt;&lt;BR&gt;Since campaign, pageName and eVar17 have not been nulled out after s.track() was called, everytime s.track() gets called in the future it will continue to pass campaign, pageName and eVar17.&amp;nbsp; This will give you incorrect stats.&amp;nbsp; You may think you have gotten more hits related to that campaign or eVar than&amp;nbsp; you really did.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;Solution:&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;CODE&gt;s.campaign = "Campaign Name";&lt;BR&gt;s.pageName = "About Us";&lt;BR&gt;s.eVar17 = "value";&lt;BR&gt;s.track();&lt;BR&gt;s.campaign = null;&lt;BR&gt;s.pageName = null;&lt;BR&gt;s.eVar17 = null;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;That is it.&amp;nbsp; Just null out the vars after you make a tracking call and you are good to go.&lt;BR&gt;&lt;BR&gt;Let me know.&lt;/CODE&gt;</content>
	</entry>
	<entry>
		<title>Connecting to a Web Service in Flex</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/11/04/connecting-to-a-web-service-in-flex.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-11-04:4dcacab3-1c21-4c8a-8187-ac97066dbd28</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Demo" />
		<category term="Flex" />
		<updated>2009-11-04T20:49:00Z</updated>
		<published>2009-11-04T20:49:00Z</published>
		<content type="html">I figured it was time to dive into Flex and see how different it is than Flash.&amp;nbsp; There are some differences but not too many.&amp;nbsp; For my first Flex project I decided to make an app to look up stock quotes.&amp;nbsp; I figured this would be a good place to start because communicating with web services is a common task for ActionScript projects.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;In this example I used &lt;A href="http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&amp;amp;WSID=9" target=_blank&gt;WebserviceX.NET Stock Quote free web service&lt;/A&gt;.&amp;nbsp; To connect to the webservice you have to instantiate a Web Service instance in your MXML file.&amp;nbsp; Below is example syntax to instantiate a WebService in your MXML.&lt;BR&gt;&lt;BR&gt;&lt;TEXTAREA rows=5 cols=70&gt;&amp;lt;mx:WebService id="service" wsdl="http://www.webservicex.net/stockquote.asmx?WSDL" fault="onFault(event)" result="onResult(event)"&amp;gt;&amp;lt;/mx:WebService&amp;gt;&lt;/TEXTAREA&gt; &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;id : &lt;/STRONG&gt;name to identify your web service&lt;BR&gt;&lt;STRONG&gt;wsdl :&lt;/STRONG&gt; web service address&lt;BR&gt;&lt;STRONG&gt;fault : &lt;/STRONG&gt;function to handle faults when connecting to your web service&lt;BR&gt;&lt;STRONG&gt;result :&lt;/STRONG&gt; function that will be called after connecting to your web service&lt;BR&gt;&lt;BR&gt;Now it is time to make the call to your web service.&amp;nbsp; The following code gets executed after the user clicks the search button.&amp;nbsp; This code lives inside the same MXML page inside an &amp;lt;mx:Script&amp;gt; tag.&lt;BR&gt;&lt;BR&gt;&lt;TEXTAREA rows=5 cols=70&gt;private function search():void{     searching = true;     service.GetQuote.send(txtSymbol.text);}&lt;/TEXTAREA&gt;&lt;BR&gt;&lt;BR&gt;We are almost done.&amp;nbsp; All we need to do now is display the results.&amp;nbsp; This code also lives inside the same MXML page inside an &amp;lt;mx:Script&amp;gt; tag.&lt;BR&gt;&lt;BR&gt;&lt;TEXTAREA rows=10 cols=70&gt;private function onResult(event:ResultEvent):void{     searching = false;     var stock:Object = XML(event.result);				     var str:String = "Symbol: \t" + stock.Stock.Symbol.toString();     str += "\n Last: \t" + stock.Stock.Last.toString();     str += "\n Date: \t" + stock.Stock.Date.toString();     str += "\n Change: \t" + stock.Stock.Change.toString();     str += "\n Open: \t" + stock.Stock.Open.toString();     str += "\n High: \t" + stock.Stock.High.toString();     str += "\n Low: \t" + stock.Stock.Low.toString();     str += "\n Previous Close: \t" + stock.Stock.PreviousClose.toString();     str += "\n Percentage Change: \t" + stock.Stock.PercentageChange.toString();     output.text = str;				}&lt;/TEXTAREA&gt;&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Take a look at the demo below. &lt;/STRONG&gt;Currently we are getting a security issue because this demo is trying to access data from another domain.&amp;nbsp; The solution is to add a crossdomain.xml in the root directory of the server but I do not have access to the blog's server root directory.&amp;nbsp; Please download the source MXML file and add it to your Flex project to see it running.&lt;BR&gt;&lt;BR&gt;&lt;EMBED src=http://theactionscripter.com/files/3/2/7/2/6/85366-162723/webservicedemo.swf width=320 height=227 type=application/x-shockwave-flash&gt;&lt;/EMBED&gt;&lt;BR&gt;&lt;BR&gt;&lt;A href="http://theactionscripter.com/files/3/2/7/2/6/85366-162723/webservicedemo.zip"&gt;Source MXML File&lt;/A&gt;&lt;BR&gt;</content>
	</entry>
	<entry>
		<title>Reading a RSS/Twitter feed with ActionScript 3</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/11/03/reading-a-rsstwitter-feed-with-actionscript-3.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-11-03:39ef45fd-29d4-44b6-b85b-1a6f8985ddbd</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Demo" />
		<category term="ActionScript 3" />
		<updated>2009-11-03T18:28:00Z</updated>
		<published>2009-11-03T18:28:00Z</published>
		<content type="html">Everyone is tweeting!&amp;nbsp; Time to tweet in style.&amp;nbsp; Below is an example I made that reads in an RSS or Twitter feed and displays the entries inside a Flash component.&lt;BR&gt;&lt;BR&gt;Try out this Flash RSS Feed Reader by entering your blog or Twitter's RSS feed below then clicking go.&lt;BR&gt;&lt;BR&gt;&lt;EMBED src=http://theactionscripter.com/files/3/2/7/2/6/85366-162723/starterkit.swf width=425 height=400 type=application/x-shockwave-flash&gt;&lt;/EMBED&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;How it works?&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;It is&lt;/FONT&gt; pretty simple to create your own Flash Twitter reader with ActionScript 3.&amp;nbsp; RSS feeds are read in similiar to XML.&amp;nbsp; After you read in the RSS feed loop through the RSS' channel items to display each entry.&amp;nbsp;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Let me know your thoughts or if you need to see any code.</content>
	</entry>
	<entry>
		<title>AS3 :: Get all Children MovieClips</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/10/09/as3--get-all-children-movieclips.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-10-09:b02e14f4-9674-41c6-9dc6-658dbc89e56a</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Demo" />
		<category term="ActionScript 3" />
		<updated>2009-10-09T15:14:00Z</updated>
		<published>2009-10-09T15:14:00Z</published>
		<content type="html">It is easy in ActionScript 3 to get all the chlidren instances of a MovieClip.&amp;nbsp; Take a look at the AS3 code below for help.&amp;nbsp; &lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;CODE&gt;for (var i:uint = 0; i &amp;lt; mcMain.numChildren; i++){&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;txtOutput.htmlText += 'name:' + mcMain.getChildAt(i).name;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;txtOutput.htmlText += '\t type:' + typeof (mcMain.getChildAt(i));&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;txtOutput.htmlText += '\t' + mcMain.getChildAt(i);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;txtOutput.htmlText += ""; &lt;BR&gt;}&lt;BR&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The above code uses a for loop, to loop through the total number of children in mcMain.&amp;nbsp; &lt;CODE&gt;mcMain.getChildAt(i)&lt;/CODE&gt; will get the reference to the child instance.&amp;nbsp; By tacking &lt;CODE&gt;.name&lt;/CODE&gt; to the end of &lt;CODE&gt;mcMain.getChildAt(i)&lt;/CODE&gt; you can get the name of the child object.&lt;BR&gt;&lt;BR&gt;&lt;EMBED src=http://theactionscripter.com/files/3/2/7/2/6/85366-162723/childrenMovieClips.swf width=550 height=225 type=application/x-shockwave-flash&gt;&lt;/EMBED&gt;&amp;nbsp;&lt;BR&gt;&lt;BR&gt;&lt;A href="http://theactionscripter.com/files/3/2/7/2/6/85366-162723/childrenMovieClips.fla"&gt;download source&lt;/A&gt;&lt;/P&gt;</content>
	</entry>
	<entry>
		<title>AS3 MOUSE_OVER VS. ROLL_OVER</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/09/29/as3-mouse_over-vs-roll_over.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-09-29:da7f67ab-183a-420d-9322-581b3ca038bb</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Demo" />
		<category term="ActionScript 3" />
		<updated>2009-09-29T17:46:00Z</updated>
		<published>2009-09-29T17:46:00Z</published>
		<content type="html">A lot of Flash developers I come across have an issue with mouse actions when MovieClips are embedded inside other MovieClips.&amp;nbsp; AS3 has multiple ways to handle embedded mouse actions&amp;nbsp;within MovieClips.&amp;nbsp; The two main ways are MOUSE_OVER and ROLL_OVER.&amp;nbsp; They sound the same but have slight differences.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;MOUSE_OVER&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;MOUSE_OVER will be triggered when you first rollover the main MovieClip.&amp;nbsp; It will also be triggered every time you rollover any MovieClip inside the main MovieClip.&amp;nbsp; This can get dangerous when you have additional buttons inside the main MovieClip with MOUSE_OUT functionality.&amp;nbsp; Be careful because your MOUSE_OVER functionality will be called multiple times.&lt;BR&gt;&lt;BR&gt;* If you set the main MovieClip to mouseChildren = false, it will prevent the MOUSE_OVER action being triggered when you mouse over any embedded MovieClip.&amp;nbsp; Be careful though because you will not be able to add any mouse actions to those embedded MovieClips.&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;ROLL_OVER&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;ROLL_OVER will be triggered when you first rollover the main MovieClip.&amp;nbsp; It will not be triggered again until you roll out of the main MovieClip and back over it.&amp;nbsp; You can rollover as many embedded MovieClips as you want without it being triggered multiple times.&amp;nbsp; ROLL_OVER is best for when you have embedded MovieClips with mouse actions.&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;EMBED src=http://theactionscripter.com/files/3/2/7/2/6/85366-162723/mouse_over.swf width=550 height=400 type=application/x-shockwave-flash&gt;&lt;/EMBED&gt;</content>
	</entry>
	<entry>
		<title>Best Practices for Flash AS3</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/08/24/best-practices-for-flash-as3.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-08-24:af020ca6-b55a-4b98-b1e1-f9189ce3bbc8</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Best Practices" />
		<category term="General" />
		<category term="ActionScript 3" />
		<updated>2009-08-24T13:48:00Z</updated>
		<published>2009-08-24T13:48:00Z</published>
		<content type="html">Take a look at this article I wrote on &lt;A href="http://www.bukisa.com/articles/137106_flash-and-actionscript-3-best-practices-to-improve-performance" target=_blank&gt;Bukisa&lt;/A&gt;.&amp;nbsp; In this article you will read about best practices for developing a website in Flash.&amp;nbsp; Learn different tricks to make your site perform better, load faster, and maintain easier.&lt;BR&gt;&lt;BR&gt;&lt;A href="http://www.bukisa.com/articles/137106_flash-and-actionscript-3-best-practices-to-improve-performance" target=_blank&gt;http://www.bukisa.com/articles/137106_flash-and-actionscript-3-best-practices-to-improve-performance&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-5469459714653711";
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = "200x200_as";
google_ad_slot = "";
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;/script&gt;</content>
	</entry>
	<entry>
		<title>Align Text with ActionScript 3 - Center AS3 Text</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/08/18/align-text-with-actionscript-3--center-as3-text.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-08-18:711389d2-01e9-4631-b485-42bdaac93b91</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="ActionScript 3" />
		<updated>2009-08-18T17:46:00Z</updated>
		<published>2009-08-18T17:46:00Z</published>
		<content type="html">&lt;P&gt;&lt;STRONG&gt;Imports needed to align your Flash text in AS3.&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;import flash.text.TextField;&lt;BR&gt;import flash.text.TextFieldAutoSize;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;STRONG&gt;Alignments you can do with your text:&lt;/STRONG&gt; 
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;SPAN class=searchhilite&gt;TextFieldAutoSize&lt;/SPAN&gt;.LEFT&lt;BR&gt;&lt;SPAN class=searchhilite&gt;TextFieldAutoSize&lt;/SPAN&gt;.RIGHT&lt;BR&gt;&lt;SPAN class=searchhilite&gt;TextFieldAutoSize&lt;/SPAN&gt;.CENTER&lt;BR&gt;&lt;SPAN class=searchhilite&gt;TextFieldAutoSize.NONE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;STRONG&gt;Syntax needed to align your dynamic text in AS3.&lt;/STRONG&gt; 
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;_textField.autoSize = TextFieldAutoSize.LEFT;&lt;BR&gt;_textField.text = "Hello World!&amp;nbsp; This is my text.";&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;Make sure that you assign the autoSize before you set the text. If you set the text first the alignment will not work correclty.</content>
	</entry>
	<entry>
		<title>Disable the right click menu in Flash AS3</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/08/03/disable-the-right-click-menu-in-flash-as3.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-08-03:297bf58a-a06c-45fa-84dc-9080fb18cd9d</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="ActionScript 3" />
		<updated>2009-08-03T16:01:00Z</updated>
		<published>2009-08-03T16:01:00Z</published>
		<content type="html">Gain control of your Flash Movie. Do not let users right click and zoom in on it if you do not want them to. Take a look below at the AS3 code to prevent users from right clicking on your Flash experience. 
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;
&lt;P&gt;stage.showDefaultContextMenu = false;&lt;/P&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;STRONG&gt;Example Flash Movie with Right Click Functionality Disabled.&lt;BR&gt;&lt;BR&gt;&lt;/STRONG&gt;&lt;EMBED src=http://theactionscripter.com/files/3/2/7/2/6/85366-162723/rightclickmenu.swf width=300 height=200 type=application/x-shockwave-flash&gt;&lt;/EMBED&gt;</content>
	</entry>
	<entry>
		<title>Error #2044: Unhandled ioError: With .DAE file in Papervision</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/07/27/error-2044-unhandled-ioerror-with-dae-file-in-papervision.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-07-27:5f720f6f-97fa-45b2-b626-ba0939335efc</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Flash Error" />
		<category term="Papervision" />
		<updated>2009-07-27T13:50:00Z</updated>
		<published>2009-07-27T13:50:00Z</published>
		<content type="html">&lt;P&gt;I got the classic &amp;nbsp;#2044 Error today when I moved a project I have been working on from local to test environment.&amp;nbsp; Usually you receive this error because the file doesn't exist.&amp;nbsp; That wasn't the case for me.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;I am building a papervision project and the file that was causing the #2044 error was the Collida .DAE file.&amp;nbsp; Since the test environment was IIS, I had to add the .DAE file the the MIME Map.&amp;nbsp; After I added the .DAE file to the MIME Map I was able to load my Collida .DAE into my PaperVision project.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Add the following code to your Web.config file&lt;/STRONG&gt;&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;&amp;lt;system.webServer&amp;gt;&lt;BR&gt;&amp;lt;staticContent&amp;gt;&lt;BR&gt;&amp;lt;mimeMap fileExtension=".dae" mimeType="application/octet-stream"/&amp;gt;&lt;BR&gt;&amp;lt;/staticContent&amp;gt;&lt;BR&gt;&amp;lt;/system.webServer&amp;gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;This is is more common when trying to dynamically load a .flv file on the server.</content>
	</entry>
	<entry>
		<title>AS3 Tint MovieClip</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/07/16/as3-tint-movieclip.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-07-16:b79f2e50-e47d-4fd0-b76d-823096ede688</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Demo" />
		<category term="ActionScript 3" />
		<updated>2009-07-16T19:15:00Z</updated>
		<published>2009-07-16T19:15:00Z</published>
		<content type="html">Here is how to tint a MovieClip in Flash via AS3.&lt;BR&gt;&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;CODE&gt;var c:Color = new Color();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #3f9030"&gt;//Create a color object&lt;/SPAN&gt;&lt;BR&gt;c.setTint(Math.random() * 0xffffff, 1);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="COLOR: #3f9030"&gt;//Set tint to a random color&lt;/SPAN&gt;&lt;BR&gt;mcObject.transform.colorTransform = c;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #3f9030"&gt;//Apply tint to your MovieClip&lt;/SPAN&gt;&lt;BR&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;STRONG&gt;Below is an example of randomly changing a MovieClip's tint with ActionScript 3&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;&lt;EMBED src=http://theactionscripter.com/files/3/2/7/2/6/85366-162723/tinting.swf width=400 height=325 type=application/x-shockwave-flash&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;A href="http://theactionscripter.com/files/3/2/7/2/6/85366-162723/tinting.zip"&gt;Source Code&lt;/A&gt;</content>
	</entry>
	<entry>
		<title>Going from ActionScript 3 back to ActionScript 2 isn't fun</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/07/15/going-from-actionscript-3-back-to-actionscript-2-isnt-fun.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-07-15:78430e44-bd28-4607-a9af-1c8743aed187</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="General" />
		<category term="ActionScript 3" />
		<updated>2009-07-15T13:39:00Z</updated>
		<published>2009-07-15T13:39:00Z</published>
		<content type="html">I remember when I first made the jump from ActionScript 2 to ActionScript 3.&amp;nbsp; I wasn't excited about the switch at the time.&amp;nbsp; I remember always asking myself why did they change this, I can't I do this anymore but after my first project I was happy I made the switch.&amp;nbsp; AS3 made coding easier.&amp;nbsp; I write less code in AS3 than I needed to do in AS2 with the exception of &lt;A href="http://theactionscripter.com/2009/05/30/open-url-in-actionscript-3.aspx"&gt;getURL&lt;/A&gt;.&lt;BR&gt;&lt;BR&gt;I've been doing AS3 straight for the past year now.&amp;nbsp;&amp;nbsp;Every time I have to start a new ActionScript project I always write it in AS3 for obvious reasons.&amp;nbsp; The challenge is when someone asked me to write a project that had to be done in AS2.&amp;nbsp; No AS3!&amp;nbsp; Sure, I thought, no problem. I have been coding for years in ActionScript 2 but wow how quickly I forget the differences.&amp;nbsp; I felt I had to reteach myself some of the basics.&lt;BR&gt;&lt;BR&gt;The project should have only took me 4-6 hours but ended up taking me 8-10 hours.&amp;nbsp; If I could have wrote it in AS3 it probably would have took me just 2 hours.&amp;nbsp; Making the jump back seemed more difficult than the jump forward.&amp;nbsp; Some of the simplest actions I just forgot.&amp;nbsp; For example, assigning actions to buttons from my class.&amp;nbsp; It took me a moment to remember that inside the onClick function there is no true reference to the class, so I had to set one before I declared the action.&amp;nbsp; Simple code like that, which I used to write like clockwork, I just forgot.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;In all the change back was frustrating but kind of funny.&amp;nbsp; Seems like I need to do some more small AS2 projects on my own to stay sharp but if I have to do anything important I'm writing it in good new ActionScript 3.</content>
	</entry>
	<entry>
		<title>Omniture Media Tracking in Flash with ActionScript 3</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/07/13/omniture-media-tracking-in-flash-with-actionscript-4.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-07-13:59884edb-f200-4950-ad61-d519438eca0a</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="Omniture" />
		<category term="ActionScript 3" />
		<updated>2009-07-13T18:23:39Z</updated>
		<published>2009-07-13T18:23:39Z</published>
		<content type="html">Omniture made media&amp;nbsp;tracking easy with their creation of ActionSource.&amp;nbsp; You no longer have to make external javascript calls for when the video starts, pauses, plays, ends, etc.&amp;nbsp; The ActionSource object handles it all.&amp;nbsp; ActionSource is pretty easy to learn and implement but I do feel Omniture in general and the way they handle their reporting is quite ambiguous.&amp;nbsp; I'm lucky I just have to do the implementation and not the naming strategy for the tracking.&amp;nbsp; I am told what props, eVars, events, etc to implement and can easily fire them correctly because of ActionSource.&lt;BR&gt;&lt;BR&gt;First you will have to setup your ActionScource object as usual.&amp;nbsp; Then you can track your videos by using the below function calls.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;When the video get initialized you need to call the media open function.&lt;BR&gt;&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #3f9030"&gt;&lt;CODE&gt;// mediaName :: Name of video&lt;BR&gt;// mediaLength :: Duration of video&lt;BR&gt;// mediaPlayName :: Name of video player&lt;BR&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;CODE&gt;s.Media.open(mediaName, mediaLength, mediaPlayerName); &lt;/CODE&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;When the video play listener is called you need to call the media play function.&lt;BR&gt;&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;CODE&gt;s.Media.play(mediaName, mediaOffset); &lt;/CODE&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;When a user pauses the video or it stops you need to call the media stop function.&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;CODE&gt;s.Media.stop(mediaName, mediaOffset);&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;When the video is finished you need to call the media close function.&lt;BR&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;SPAN style="COLOR: #336699"&gt;&lt;CODE&gt;s.Media.close(mediaName);&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;The tracking call to Omniture doesn't get fired until the close() function gets called.&lt;BR&gt;&lt;BR&gt;&lt;FONT size=4&gt;
&lt;P&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-5469459714653711";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_slot = "";
//--&gt;
&lt;/script&gt;
&lt;script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;/script&gt;&lt;/P&gt;Omniture Media Tracking Reports&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;
&lt;UL&gt;
&lt;LI&gt;How many people watched a video 
&lt;LI&gt;How long a user stayed on a video 
&lt;LI&gt;What sections of the video a user watched 
&lt;LI&gt;When the user exited the video 
&lt;LI&gt;Videos By Player 
&lt;LI&gt;If you have Omniture tracking throughout your site, you can also know the user flow before and after the video&lt;/LI&gt;&lt;/UL&gt;&lt;/CODE&gt;&lt;/SPAN&gt;
&lt;BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;</content>
	</entry>
	<entry>
		<title>AS3 ? Conditional</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/06/29/as3--conditional.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-06-29:b39e3cc2-0444-4e19-a03e-0c7e4879bf2a</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="ActionScript 3" />
		<updated>2009-06-29T18:16:00Z</updated>
		<published>2009-06-29T18:16:00Z</published>
		<content type="html">You can use the following line of code as a if/else statement. &lt;BR&gt;&lt;BR&gt;x = ( a == b ) ? y : z; &lt;BR&gt;&lt;BR&gt;if(a==b){&lt;BR&gt;x=y&lt;BR&gt;}&lt;BR&gt;else{&lt;BR&gt;x=z;&lt;BR&gt;}</content>
	</entry>
	<entry>
		<title>Cool Papervision and Web Cam Video</title>
		<link rel="alternate" href="http://theactionscripter.com/2009/06/15/cool-papervision-and-web-cam-video.aspx?ref=rss" />
		<id>tag:theactionscripter.com,2009-06-15:0b6dae47-83cc-4f9c-90fb-ed3d23a1f231</id>
		<author>
			<name>Mike</name>
		</author>
		<category term="ActionScript 3" />
		<category term="Papervision" />
		<updated>2009-06-15T14:23:00Z</updated>
		<published>2009-06-15T14:23:00Z</published>
		<content type="html">Take a look at this cool Papervision and Web Cam video I found on YouTube. You can hold your virtual creations in your hands now.&lt;BR&gt;&lt;BR&gt;&lt;EMBED src=http://www.youtube.com/v/vS6r5d-0hZ8&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00 width=560 height=340 type=application/x-shockwave-flash allowscriptaccess="always" allowfullscreen="true"&gt;&lt;/EMBED&gt;</content>
	</entry>
</feed>
