<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7909530262862149240</id><updated>2012-01-04T16:41:05.514-08:00</updated><title type='text'>script action three</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-2762362897637486877</id><published>2011-10-06T22:32:00.001-07:00</published><updated>2011-10-07T00:15:58.275-07:00</updated><title type='text'>Updated Youtube ID retrieval...</title><content type='html'>// get the youtube ID from a link, look ma, no REGEX!&lt;br /&gt;// to accomodate the new short URL format&lt;br /&gt;&lt;br /&gt;function getVideoId(url){&lt;br /&gt;    if(url.indexOf('?') != -1 ) {&lt;br /&gt;        var query = decodeURI(url).split('?')[1];&lt;br /&gt;        var params = query.split('&amp;');&lt;br /&gt;        for(var i=0,l = params.length;i&lt;l;i++)&lt;br /&gt;            if(params[i].indexOf('v=') === 0)&lt;br /&gt;                return params[i].replace('v=','');&lt;br /&gt;    } else if (url.indexOf('youtu.be') != -1) {&lt;br /&gt;        return decodeURI(url).split('youtu.be/')[1];&lt;br /&gt;    }&lt;br /&gt;    return null;&lt;br /&gt;}&lt;br /&gt;var urlOLD = "http://www.youtube.com/watch?v=UF8uR6Z6KLc&amp;feature=feedlik";&lt;br /&gt;var urlNEW = "http://youtu.be/UF8uR6Z6KLc";&lt;br /&gt;trace(getVideoId(urlOLD));&lt;br /&gt;trace(getVideoId(urlNEW));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-2762362897637486877?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/2762362897637486877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=2762362897637486877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2762362897637486877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2762362897637486877'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2011/10/updated-youtube-id-retrieval.html' title='Updated Youtube ID retrieval...'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-1434024937641175756</id><published>2011-08-01T06:45:00.000-07:00</published><updated>2011-08-01T07:29:25.026-07:00</updated><title type='text'>Animating perspectiveProjection AS3 (CS5)</title><content type='html'>I use TweenMax a lot, but sometimes you need to animate a complex object or 3D object.&lt;br /&gt;&lt;br /&gt;In this case, it's the perspectiveProjection class of the native 3D features of flash player 10, in particular it's fieldOfView and focalLength properties.&lt;br /&gt;&lt;br /&gt;Why bother with this at all? Well, although you probably can't do mesh, the native 3D features can be much faster than libraries like Away3D for simple 3D effects.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://jibjub.com/tutorials/perspectiveProjection/"&gt;View demo&lt;/a&gt;. &lt;a href="http://jibjub.com/tutorials/perspectiveProjection/files.zip"&gt;Download example&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;And below is the code, just in case you want to jump right in... (sorry for the procedural code!)&lt;br /&gt;&lt;br /&gt;import com.greensock.TweenMax;&lt;br /&gt;import com.jibjub.quickZsort;&lt;br /&gt;&lt;br /&gt;TweenMax.to(cube_test, 10, {rotationX:700, rotationZ:400, rotationY:500, repeat:-1, yoyo:true});&lt;br /&gt;&lt;br /&gt;//new PerspectiveProjection&lt;br /&gt;var pers:PerspectiveProjection = new PerspectiveProjection();&lt;br /&gt;//set the field of view - doesn't really do much&lt;br /&gt;pers.fieldOfView = 1;//Default: 55, Range: 1 - 180&lt;br /&gt;//set the focal length&lt;br /&gt;pers.focalLength = 1000;//Default: 663&lt;br /&gt;//set the projection center to stage center for a straight view&lt;br /&gt;pers.projectionCenter = new Point(stage.stageWidth * 0.5, stage.stageHeight * 0.5);&lt;br /&gt;&lt;br /&gt;// tween the perspective projection&lt;br /&gt;TweenMax.to(pers, 1, {fieldOfView:179, repeat:-1, yoyo:true});&lt;br /&gt;&lt;br /&gt;// apply the perspective each frame (and also z-sort out clips)&lt;br /&gt;addEventListener(Event.ENTER_FRAME, function(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;quickZsort.sort(cube_test);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//assign to target/DisplayObject&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cube_test.transform.perspectiveProjection = pers;&lt;br /&gt;});&lt;br /&gt;&lt;br /&gt;stage.align     = StageAlign.TOP_LEFT;&lt;br /&gt;stage.scaleMode = StageScaleMode.NO_SCALE;&lt;br /&gt;&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;br /&gt;addEventListener(Event.RESIZE, onResize);&lt;br /&gt;stage.addEventListener(Event.RESIZE, onResize);&lt;br /&gt;&lt;br /&gt;function onResize(e:Event) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// keep our vanishing point centred&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pers.projectionCenter = new Point(stage.stageWidth * 0.5, stage.stageHeight * 0.5);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// keep our cube centred&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cube_test.x = stage.stageWidth * 0.5;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cube_test.y = stage.stageHeight * 0.5;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-1434024937641175756?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/1434024937641175756/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=1434024937641175756' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/1434024937641175756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/1434024937641175756'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2011/08/animating-perspectiveprojection-as3-cs5.html' title='Animating perspectiveProjection AS3 (CS5)'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-7542747924715616094</id><published>2011-02-20T19:07:00.000-08:00</published><updated>2011-02-20T19:08:54.530-08:00</updated><title type='text'>auto hide/show UIScrollBar after updating text AS3</title><content type='html'>// after updating the text (can be text or htmlText)...&lt;br /&gt;&lt;br /&gt;my_textfield.scrollV = 0; // reset the scroll to the top&lt;br /&gt;my_scrollbar.update(); // make sure the scrollbar knows it's been changed&lt;br /&gt;if (my_scrollbar.maxScrollV &lt;= 1) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;my_scrollbar.visible = false;&lt;br /&gt;} else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;my_scrollbar.visible = true;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-7542747924715616094?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/7542747924715616094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=7542747924715616094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/7542747924715616094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/7542747924715616094'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2011/02/auto-hideshow-uiscrollbar-after.html' title='auto hide/show UIScrollBar after updating text AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-2325904086956368485</id><published>2011-02-06T17:33:00.000-08:00</published><updated>2011-02-06T17:36:51.373-08:00</updated><title type='text'>Useful displayObject Utilities</title><content type='html'>// remove any displayObject, irrespective of location (remove a parent from the child etc)&lt;br /&gt;function kill(object:*):void {&lt;br /&gt; if(object.parent != null){&lt;br /&gt;  var parent:DisplayObjectContainer = object.parent;&lt;br /&gt;  parent.removeChild(object);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// remove all contents of a target MovieClip&lt;br /&gt;function burn(target:MovieClip):void {&lt;br /&gt;   while (target.numChildren) target.removeChildAt(0);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-2325904086956368485?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/2325904086956368485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=2325904086956368485' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2325904086956368485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2325904086956368485'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2011/02/remove-any-displayobject-irrespective.html' title='Useful displayObject Utilities'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-4100822358999547266</id><published>2010-08-14T01:56:00.000-07:00</published><updated>2010-08-14T01:59:45.485-07:00</updated><title type='text'>removeChild() from the child itself AS3</title><content type='html'>&lt;font color="#4242FF"&gt;function&lt;/font&gt; destroyMe(object:*):&lt;font color="#4242FF"&gt;void&lt;/font&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#4242FF"&gt;if&lt;/font&gt;(object.&lt;font color="#4242FF"&gt;parent&lt;/font&gt; != &lt;font color="#4242FF"&gt;null&lt;/font&gt;){&lt;br /&gt;&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;font color="#4242FF"&gt;var&lt;/font&gt; parent:DisplayObjectContainer = object.parent;&lt;br /&gt;&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;parent.&lt;font color="#4242FF"&gt;removeChild&lt;/font&gt;(object);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-4100822358999547266?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/4100822358999547266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=4100822358999547266' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/4100822358999547266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/4100822358999547266'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2010/08/removechild-from-child-itself-as3.html' title='removeChild() from the child itself AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-2797756306061549250</id><published>2010-07-13T00:22:00.000-07:00</published><updated>2010-07-13T00:23:50.829-07:00</updated><title type='text'>AS3 subscript and superscript with CSS</title><content type='html'>var style:StyleSheet = new StyleSheet();&lt;br /&gt;style.parseCSS('sub{font-family:"GG Subscript";}sup{font-family:"GG Superscript";}');&lt;br /&gt;myDynamicTextfield.styleSheet = style;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-2797756306061549250?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/2797756306061549250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=2797756306061549250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2797756306061549250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2797756306061549250'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2010/07/as3-subscript-and-superscript-with-css.html' title='AS3 subscript and superscript with CSS'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-8754860232676689929</id><published>2010-04-12T22:48:00.000-07:00</published><updated>2010-04-12T22:49:50.533-07:00</updated><title type='text'>Outstanding Tutorial on Physics in AS3</title><content type='html'>&lt;a href="http://active.tutsplus.com/tutorials/effects/introduction-to-quickbox2d-part-1/"&gt;http://active.tutsplus.com/tutorials/effects/introduction-to-quickbox2d-part-1/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-8754860232676689929?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/8754860232676689929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=8754860232676689929' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8754860232676689929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8754860232676689929'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2010/04/outstanding-tutorial-on-physics-in-as3.html' title='Outstanding Tutorial on Physics in AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-7144312196656916904</id><published>2009-05-13T04:44:00.000-07:00</published><updated>2009-05-13T04:46:53.521-07:00</updated><title type='text'>Validate a youtube link and extract the ID with regular expressions AS3</title><content type='html'>// you can just copy paste, I don't feel like colouring all this code :)&lt;br /&gt;&lt;br /&gt;// input a youtube link (or embed code)&lt;br /&gt;var youtubeInput:String = "http://www.youtube.com/watch?v=LGq271wYzow&amp;feature=related&amp;fmt=18";&lt;br /&gt;// our regular expression to extract the youtube ID&lt;br /&gt;var youtubeIDRX:RegExp = /\?v=(.{11})|\/v\/(.{11})/;&lt;br /&gt;var youtubeFeedURI:String = "http://gdata.youtube.com/feeds/api/videos/";&lt;br /&gt;&lt;br /&gt;var youtubeLoader:URLLoader = new URLLoader();&lt;br /&gt;youtubeLoader.addEventListener(Event.COMPLETE, parseYoutubeFeed);&lt;br /&gt;youtubeLoader.addEventListener(IOErrorEvent.IO_ERROR, youtubeFeedERROR);&lt;br /&gt;function parseYoutubeFeed(myEvent:Event):void {&lt;br /&gt; var xml:String = myEvent.target.data;&lt;br /&gt; //trace(xml);&lt;br /&gt; if (xml.indexOf("noembed") != -1) {&lt;br /&gt;  // looks like embed is turned off, let them know to turn it on&lt;br /&gt;  trace("not a tube we can embed.");&lt;br /&gt; } else {&lt;br /&gt;  // everything's cool&lt;br /&gt;  trace("cool bananas, let's hopscotch!");&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;function youtubeFeedERROR(e:Event = null):void {&lt;br /&gt; // it might not be a tube if this doesn't load, but they might not have internet either...&lt;br /&gt; trace("not a tube?");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if (youtubeIDRX.test(youtubeInput)) {&lt;br /&gt; var RXresultArray:Array = youtubeIDRX.exec(youtubeInput);&lt;br /&gt; if (!RXresultArray) {&lt;br /&gt;  // if there's nothing in the array, they probably didn't give us the right link&lt;br /&gt;  trace("not a tube.");&lt;br /&gt; } else if (RXresultArray[1]) {&lt;br /&gt;  // if there's something here, it's probably a URL they gave us&lt;br /&gt;  trace(RXresultArray[1]);&lt;br /&gt;  youtubeLoader.load(new URLRequest(youtubeFeedURI + RXresultArray[1]));&lt;br /&gt; } else if (RXresultArray[2]) {&lt;br /&gt;  // if there's something here, they pasted an embed tag, silly duffers...&lt;br /&gt;  youtubeLoader.load(new URLRequest(youtubeFeedURI + RXresultArray[2]));&lt;br /&gt;  trace(RXresultArray[2]);&lt;br /&gt; } else {&lt;br /&gt;  // I have no idea how they could get here but anyway, we can't help them...&lt;br /&gt;  trace("not a tube?");&lt;br /&gt; }&lt;br /&gt;} else {&lt;br /&gt; // I don't think it was a youtube link they gave us..&lt;br /&gt; trace("not a tube?");&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-7144312196656916904?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/7144312196656916904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=7144312196656916904' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/7144312196656916904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/7144312196656916904'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2009/05/validate-youtube-link-and-extract-id.html' title='Validate a youtube link and extract the ID with regular expressions AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-180967868967848689</id><published>2009-04-29T09:50:00.000-07:00</published><updated>2009-04-29T09:58:35.823-07:00</updated><title type='text'>Security Risk: No Cookies in FileReference.upload();</title><content type='html'>// SECURITY PROBLEMS, we need cookies in FileReference.upload();&lt;br /&gt;&lt;br /&gt;cookies work fine when using URLRequest but not when using upload() ??!! In the mean time, I thought of something... Not perfect but at least stops the casual hacker (as is currently the vulnerability)&lt;br /&gt;&lt;br /&gt;When we start the upload, we do two things. First, make a URLRequest to a php page that cross checks the session data, if it checks out, store their IP address in a database table &lt;?php echo $_SERVER['REMOTE_ADDR']; ?&gt;&lt;br /&gt;&lt;br /&gt;In the actual upload.php file, simply open the database, compare the IP address inbound to the one validated by the cookies. If these match, we have a pretty strong case for letting them write to the server. You could take it a little further and add store a timestamp or epoch, then compare that to an acceptable time window to complete an upload, but you might cut of some 56k modems...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-180967868967848689?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/180967868967848689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=180967868967848689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/180967868967848689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/180967868967848689'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2009/04/security-risk-no-cookies-in.html' title='Security Risk: No Cookies in FileReference.upload();'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-8870199793514645458</id><published>2009-03-01T21:10:00.000-08:00</published><updated>2009-03-01T21:16:15.362-08:00</updated><title type='text'></title><content type='html'>If you live in Victoria, tomorrow is supposed to be a very dangerous day, even in the city with combination of high wind and fire risk, they can't use the fire aircraft. You probably already received and SMS from Vic Police and it is no hoax. Make sure you &lt;a href="http://www.google.com.au/landing/victorianbushfires/"&gt;monitor the &lt;br /&gt;fires&lt;/a&gt; tonight and tomorrow and listen to local ABC Radio for emergency updates.&lt;br /&gt;&lt;a href="http://www.abc.net.au/news/stories/2009/03/02/2504801.htm"&gt;More here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-8870199793514645458?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/8870199793514645458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=8870199793514645458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8870199793514645458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8870199793514645458'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2009/03/if-you-live-in-victoria-tomorrow-is.html' title=''/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-1170219982478468486</id><published>2009-03-01T16:28:00.000-08:00</published><updated>2009-03-01T16:31:01.840-08:00</updated><title type='text'>Preloading External Assets AS3</title><content type='html'>Do you need to preload multiple assets before your movie starts? Like jpg's, mp3, fla or collada files? Here is a really neat pre-loader class in AS3: &lt;a href="http://code.google.com/p/bulk-loader/"&gt;code.google.com/p/bulk-loader/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-1170219982478468486?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/1170219982478468486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=1170219982478468486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/1170219982478468486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/1170219982478468486'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2009/03/preloading-external-assets-as3.html' title='Preloading External Assets AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-4559057813931241211</id><published>2009-02-04T23:28:00.001-08:00</published><updated>2009-02-04T23:29:37.147-08:00</updated><title type='text'>Blur Focus AS3</title><content type='html'>blurFocus, hideFocus, just get rid of that damn focus:&lt;br /&gt;&lt;br /&gt;&lt;font color="#4242FF"&gt;this.stage.focus&lt;/font&gt; = &lt;font color="#4242FF"&gt;null&lt;/font&gt;;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-4559057813931241211?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/4559057813931241211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=4559057813931241211' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/4559057813931241211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/4559057813931241211'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2009/02/blur-focus-as3.html' title='Blur Focus AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-3417925510727204426</id><published>2008-11-22T00:36:00.000-08:00</published><updated>2008-11-22T00:40:28.908-08:00</updated><title type='text'>Clicking Through MovieClips to Underlying Objects AS3</title><content type='html'>here we use the mouseEnabled property on the obstructing clip.&lt;br /&gt;&lt;br /&gt;myMovieClip.&lt;font color="#4242FF"&gt;mouseEnabled&lt;/font&gt; = &lt;font color="#4242FF"&gt;false;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-3417925510727204426?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/3417925510727204426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=3417925510727204426' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/3417925510727204426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/3417925510727204426'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/11/clicking-through-movieclips-to.html' title='Clicking Through MovieClips to Underlying Objects AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-3483414154149432568</id><published>2008-11-06T21:03:00.000-08:00</published><updated>2008-11-06T21:07:39.968-08:00</updated><title type='text'>Resize swffit AS3</title><content type='html'>Double check that the "swffit.fit" matches your javascript and also "my_flash". eg, in your HTML: &lt;b&gt;swffit.fit&lt;/b&gt;(&lt;b&gt;"my_flash"&lt;/b&gt;, 1024, 2000);&lt;br /&gt;&lt;br /&gt;&lt;font color="#4242FF"&gt;import flash.external&lt;/font&gt;.&lt;font color="#4242FF"&gt;ExternalInterface&lt;/font&gt;;&lt;br /&gt;&lt;font color="#4242FF"&gt;function&lt;/font&gt; resizeSwffit(newWidth:&lt;font color="#4242FF"&gt;Number&lt;/font&gt;, newHeight:&lt;font color="#4242FF"&gt;Number&lt;/font&gt;):&lt;font color="#4242FF"&gt;void&lt;/font&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#4242FF"&gt;ExternalInterface.call&lt;/font&gt;(&lt;font color="#0B9E0B"&gt;"swffit.fit"&lt;/font&gt;,&lt;font color="#0B9E0B"&gt;"my_flash"&lt;/font&gt;,newWidth,newHeight);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-3483414154149432568?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/3483414154149432568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=3483414154149432568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/3483414154149432568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/3483414154149432568'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/11/resize-swffit-as3.html' title='Resize swffit AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-8110728967701740017</id><published>2008-11-06T18:57:00.000-08:00</published><updated>2008-11-06T19:11:27.235-08:00</updated><title type='text'>reverse set ComboBox as3</title><content type='html'>You can use selectedIndex to change a comboBox, but the selectedIndex is usualy independent from the data or the label properties of the Object. Apparently there is no way of doing a reverse look up to select the item, you have to searh through and find it yourself (if you know a better way, let me know!).&lt;br /&gt;&lt;br /&gt;&lt;font color="#4242FF"&gt;function&lt;/font&gt; reverseSetComboBox(target:&lt;font color="#4242FF"&gt;String&lt;/font&gt;, targetComboBox:&lt;font color="#4242FF"&gt;ComboBox&lt;/font&gt;, targetDataProvider:&lt;font color="#4242FF"&gt;Array&lt;/font&gt;):&lt;font color="#4242FF"&gt;void&lt;/font&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//loop over the items in the dataProvider&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#4242FF"&gt;for&lt;/font&gt; (&lt;font color="#4242FF"&gt;var&lt;/font&gt; i:&lt;font color="#4242FF"&gt;uint&lt;/font&gt; = 0; i&amp;lt;targetComboBox&lt;font color="#4242FF"&gt;.length&lt;/font&gt;; i++) {&lt;br /&gt;&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;//compare desired value to current item.data value&lt;br /&gt;&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;font color="#4242FF"&gt;if&lt;/font&gt; (target==targetDataProvider[i]&lt;font color="#4242FF"&gt;.label&lt;/font&gt;) {&lt;br /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//set the seletedIndex of the combo box&lt;br /&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;targetComboBox&lt;font color="#4242FF"&gt;.selectedIndex&lt;/font&gt; = i;&lt;br /&gt;&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;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-8110728967701740017?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/8110728967701740017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=8110728967701740017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8110728967701740017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8110728967701740017'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/11/reverse-set-combobox-as3.html' title='reverse set ComboBox as3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-5206534837994198817</id><published>2008-10-16T06:22:00.000-07:00</published><updated>2008-10-16T06:33:07.338-07:00</updated><title type='text'>Call an Event function indirectly in AS3 with dispatchEvent</title><content type='html'>Event listeners are a great way to work but if you have an event function, you can't just call it directly in the script anymore (ala AS2), well you can try, but you will get an argument error. You can, however, dispatch a matching event to trigger listener and fires that function.&lt;br /&gt;&lt;br /&gt;Perhaps you have a timer event that calls a function and you want to call without involving the timer or, a more common one, you have a script to do stuff when the stage is resized, but you want to execute that function when the movie first loads:&lt;br /&gt;&lt;br /&gt;&lt;font color="#4242FF"&gt;stage.addEventListener&lt;/font&gt;(&lt;font color="#4242FF"&gt;Event.RESIZE&lt;/font&gt;, resizeHandler);&lt;br /&gt;&lt;font color="#4242FF"&gt;stage.dispatchEvent&lt;/font&gt;(&lt;font color="#4242FF"&gt;new Event&lt;/font&gt;(&lt;font color="#4242FF"&gt;Event.RESIZE&lt;/font&gt;));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-5206534837994198817?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/5206534837994198817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=5206534837994198817' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/5206534837994198817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/5206534837994198817'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/10/triggerdispatch-event-as3.html' title='Call an Event function indirectly in AS3 with dispatchEvent'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-2987050682505933393</id><published>2008-09-04T22:29:00.001-07:00</published><updated>2008-09-04T23:51:46.531-07:00</updated><title type='text'>using REAL http cookies in flash AS3</title><content type='html'>Using real cookies just makes sense for some tasks and can also make your life easier as any &lt;font color="#4242FF"&gt;urlRequest&lt;/font&gt; includes them, great news for your server side processing.&lt;br /&gt;&lt;br /&gt;As you can imagine, google gets a little confused with so many different "cookies" and comes back with one of two things...&lt;br /&gt;&lt;br /&gt;1. "flash cookies" (SharedObject)&lt;br /&gt;2. Doufus saying "HEY WOW, I figured out how to use cookies! just put them in the swf URL / loaderInfo flashvars!"&lt;br /&gt;&lt;br /&gt;firstly, "flash cookies" are useless if you are calling php or asp files because they are not passed with the http request and as for the second option, it is poor security not to mention a pain in the ass to include cookie values in a URL.&lt;br /&gt;&lt;br /&gt;A third approach was to use ExternalInterface to call a javascript function on the page that returns the cookie value, again, this is poor security because the value can just as easily be modified and faked. but it is closer to our goal.&lt;br /&gt;&lt;br /&gt;The solution we came up with was to keep all the javascript flash side and pull the cookie string apart.&lt;br /&gt;&lt;br /&gt;// make a javascript call in flash to return cookies from the DOM&lt;br /&gt;&lt;font color="#4242FF"&gt;var&lt;/font&gt; cookieValue:&lt;font color="#4242FF"&gt;*&lt;/font&gt; = &lt;font color="#4242FF"&gt;ExternalInterface.call&lt;/font&gt;(&lt;font color="#0B9E0B"&gt;"function(){return document.cookie;}"&lt;/font&gt;);&lt;br /&gt;&lt;br /&gt;&lt;a href="http://jibjub.com/flash/eatmycookie/"&gt;view a demo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;remember, you will need to refresh the page for the flashvars method to work [you can't set and get a cookie at the same time]&lt;br /&gt;&lt;br /&gt;&lt;a href="http://jibjub.com/flash/eatmycookie/eatmycookie.zip"&gt;download example files&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-2987050682505933393?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/2987050682505933393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=2987050682505933393' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2987050682505933393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2987050682505933393'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/09/using-real-http-cookies-in-flash-as3.html' title='using REAL http cookies in flash AS3'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-5434631144942840974</id><published>2008-08-09T20:51:00.000-07:00</published><updated>2008-08-09T20:55:28.003-07:00</updated><title type='text'>recursive removeChild AS3 (unloadMovie)</title><content type='html'>you may be tempted to use a for loop to recursively remove movieclips or sprites nested in another display object.&lt;br /&gt;but this single line will take care of it for you:&lt;br /&gt;&lt;br /&gt;&lt;font color="#4242FF"&gt;while&lt;/font&gt; (mySprite&lt;font color="#4242FF"&gt;.numChildren&lt;/font&gt;) mySprite&lt;font color="#4242FF"&gt;.removeChildAt&lt;/font&gt;(0);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-5434631144942840974?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/5434631144942840974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=5434631144942840974' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/5434631144942840974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/5434631144942840974'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/08/you-may-be-tempted-to-use-for-loop-to.html' title='recursive removeChild AS3 (unloadMovie)'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-1592196036268225986</id><published>2008-08-03T17:44:00.000-07:00</published><updated>2008-08-03T22:54:35.723-07:00</updated><title type='text'>AS3 for loop</title><content type='html'>&lt;font color="#4242FF"&gt;var&lt;/font&gt; myArray:&lt;font color="#4242FF"&gt;Array&lt;/font&gt; = &lt;font color="#4242FF"&gt;new Array&lt;/font&gt;(1, 2, 3, 4, 5);&lt;br /&gt;&lt;br /&gt;// loop through an array with uint&lt;br /&gt;&lt;font color="#4242FF"&gt;var&lt;/font&gt; i:&lt;font color="#4242FF"&gt;uint&lt;/font&gt;;&lt;br /&gt;&lt;font color="#4242FF"&gt;for&lt;/font&gt; (i=0; i&amp;lt;myArray&lt;font color="#4242FF"&gt;.length&lt;/font&gt;; i++) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#4242FF"&gt;trace&lt;/font&gt;(myArray[i]&lt;font color="#4242FF"&gt;&lt;/font&gt;);&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-1592196036268225986?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/1592196036268225986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=1592196036268225986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/1592196036268225986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/1592196036268225986'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/08/as3-for-loop.html' title='AS3 for loop'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-4683076561851777135</id><published>2008-06-25T20:03:00.000-07:00</published><updated>2008-06-25T20:25:36.666-07:00</updated><title type='text'>HEX to RGB to greyscale conversion</title><content type='html'>Converting a hex value to the equivalent grey scale is not as simple as averaging the values and dividing by 3 as the eye responds more to the green content than to red or blue.&lt;br /&gt;&lt;br /&gt;There are different formulas in use, but a common one is 0.30*r + 0.59*g + 0.11*b&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// split HEX into RGB components&lt;br /&gt; &lt;font color="#4242FF"&gt;var&lt;/font&gt; r = hex &gt;&gt; 16;&lt;br /&gt; &lt;font color="#4242FF"&gt;var&lt;/font&gt; g = hex &gt;&gt; 8 &amp; 0xFF;&lt;br /&gt; &lt;font color="#4242FF"&gt;var&lt;/font&gt; b = hex &amp; 0xFF;&lt;br /&gt;// create a new grey value&lt;br /&gt;&lt;font color="#4242FF"&gt;var&lt;/font&gt; grey = 0.30*r + 0.59*g + 0.11*b;&lt;br /&gt;// create a new HEX colour&lt;br /&gt;&lt;font color="#4242FF"&gt;var&lt;/font&gt; k = grey.&lt;font color="#4242FF"&gt;toString&lt;/font&gt;(16) + grey.&lt;font color="#4242FF"&gt;toString&lt;/font&gt;(16) + grey.&lt;font color="#4242FF"&gt;toString&lt;/font&gt;(16);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-4683076561851777135?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/4683076561851777135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=4683076561851777135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/4683076561851777135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/4683076561851777135'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/06/hex-to-rgb-to-greyscale-conversion.html' title='HEX to RGB to greyscale conversion'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-8980956026611295774</id><published>2008-05-15T00:04:00.000-07:00</published><updated>2008-05-15T00:07:12.061-07:00</updated><title type='text'>AS3 setInterval</title><content type='html'>// new Timer([interval], [repeat]);&lt;br /&gt;&lt;font color="#4242FF"&gt;var&lt;/font&gt; myTimer:&lt;font color="#4242FF"&gt;Timer&lt;/font&gt; = &lt;font color="#4242FF"&gt;new Timer&lt;/font&gt;(500, 10);&lt;br /&gt;&lt;br /&gt;myTimer.&lt;font color="#4242FF"&gt;addEventListener&lt;/font&gt;(&lt;font color="#4242FF"&gt;TimerEvent.TIMER&lt;/font&gt;, myFunction);&lt;br /&gt;&lt;br /&gt;&lt;font color="#4242FF"&gt;function&lt;/font&gt; myFunction(&lt;font color="#4242FF"&gt;event&lt;/font&gt;:&lt;font color="#4242FF"&gt;TimerEvent&lt;/font&gt;):&lt;font color="#4242FF"&gt;void&lt;/font&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trace(myTimer&lt;font color="#4242FF"&gt;.currentCount&lt;/font&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// start the timer&lt;br /&gt;myTimer&lt;font color="#4242FF"&gt;.start&lt;/font&gt;();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-8980956026611295774?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/8980956026611295774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=8980956026611295774' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8980956026611295774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/8980956026611295774'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/05/as3-setinterval.html' title='AS3 setInterval'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-2166031894941563298</id><published>2008-05-05T23:09:00.000-07:00</published><updated>2008-05-15T01:16:41.696-07:00</updated><title type='text'>AS3 basic XML use</title><content type='html'>// we use URLLoader instead of XML.load();&lt;br /&gt;&lt;font color="#4242FF"&gt;var&lt;/font&gt; loader:&lt;font color="#4242FF"&gt;URLLoader&lt;/font&gt; = &lt;font color="#4242FF"&gt;new URLLoader&lt;/font&gt;();&lt;br /&gt;&lt;br /&gt;loader.&lt;font color="#4242FF"&gt;addEventListener&lt;/font&gt;(&lt;font color="#4242FF"&gt;Event.COMPLETE&lt;/font&gt;, loadXML);&lt;br /&gt;loader&lt;font color="#4242FF"&gt;.load&lt;/font&gt;(&lt;font color="#4242FF"&gt;new URLRequest&lt;/font&gt;(&lt;font color="#0B9E0B"&gt;"example.xml"&lt;/font&gt;));&lt;br /&gt;&lt;br /&gt;&lt;font color="#4242FF"&gt;function&lt;/font&gt; loadXML(myEvent:&lt;font color="#4242FF"&gt;Event&lt;/font&gt;):&lt;font color="#4242FF"&gt;void&lt;/font&gt; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;font color="#4242FF"&gt;var&lt;/font&gt; xml:&lt;font color="#4242FF"&gt;XML&lt;/font&gt; = &lt;font color="#4242FF"&gt;new XML&lt;/font&gt;(myEvent&lt;font color="#4242FF"&gt;.target.data&lt;/font&gt;);&lt;br /&gt;&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;// you can now traverse the xml object using the actual tag names&lt;br /&gt;&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;font color="#4242FF"&gt;trace&lt;/font&gt;(xml.tagname.anothertagname&lt;font color="#4242FF"&gt;.text&lt;/font&gt;());&lt;br /&gt;&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;br /&gt;&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;// you can also target all tags of a certain name&lt;br /&gt;&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;// with the .. "descendent accessor"&lt;br /&gt;&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;font color="#4242FF"&gt;trace&lt;/font&gt;(xml..anothertagname&lt;font color="#4242FF"&gt;.length&lt;/font&gt;());&lt;br /&gt;&lt;br /&gt;&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;// and we use the @ accessor for attributes&lt;br /&gt;&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;font color="#4242FF"&gt;trace&lt;/font&gt;(xml.tagname.anothertagname.@myattribute);&lt;br /&gt;&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;br /&gt;}&lt;br /&gt;&lt;br /&gt;// here is some xml for your example.xml file&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;xml&amp;gt;&lt;br /&gt; &amp;lt;tagname&amp;gt;&lt;br /&gt;  &amp;lt;anothertagname myattribute=&amp;quot;my attribute goes here&amp;quot;&amp;gt;my text goes here&amp;lt;/anothertagname&amp;gt;&lt;br /&gt; &amp;lt;/tagname&amp;gt;&lt;br /&gt;&amp;lt;/xml&amp;gt;&lt;br /&gt;&lt;br /&gt;*/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-2166031894941563298?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/2166031894941563298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=2166031894941563298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2166031894941563298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/2166031894941563298'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/05/as3-basic-xml-use.html' title='AS3 basic XML use'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7909530262862149240.post-7473518039008127392</id><published>2008-04-29T00:50:00.001-07:00</published><updated>2008-05-15T01:08:57.511-07:00</updated><title type='text'>AS3 stage height and width (+ Hello)</title><content type='html'>A pretty common one and In AS2 you would access this property like this:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;trace(Stage._height);&lt;br /&gt;trace(Stage._width);&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So in AS3, you might at first try something like this:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;font color="#4242FF"&gt;trace&lt;/font&gt;(&lt;font color="#4242FF"&gt;stage.width&lt;/font&gt;);&lt;br /&gt;&lt;font color="#4242FF"&gt;trace&lt;/font&gt;(&lt;font color="#4242FF"&gt;stage.height&lt;/font&gt;);&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Only to find it now returns the &lt;i&gt;bounds&lt;/i&gt; of any objects on the stage.&lt;br /&gt;We now access the stage width and height in AS3 like this:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;font color="#4242FF"&gt;trace&lt;/font&gt;(&lt;font color="#4242FF"&gt;stage.stageWidth&lt;/font&gt;);&lt;br /&gt;&lt;font color="#4242FF"&gt;trace&lt;/font&gt;(&lt;font color="#4242FF"&gt;stage.stageHeight&lt;/font&gt;);&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Have a nice day.&lt;br /&gt;&lt;br /&gt;This is a new blog for people like me, who are migrating to from actionscript 2 (AS2) to actionscript 3 (AS3) out of necessity. I will be speaking mainly to [myself] people like me who are already professionals who can deliver AS2 projects swiftly and are now in need of maintaining client expectations so this blog will be light on the basic descriptions of how stuff works and feature a lot of code to copy and paste straight into a new document to get your AS3 projects over the line and on time.&lt;br /&gt;&lt;br /&gt;I will colour the code, but I will leave the AS2 code (depreciated) in a nice comment shade of grey.&lt;br /&gt;&lt;br /&gt;A little about me; I am a professional flash and web-application developer, I am also currently a sessional lecturer at Swinburne University teaching flash. OK.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7909530262862149240-7473518039008127392?l=scriptactionthree.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://scriptactionthree.blogspot.com/feeds/7473518039008127392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7909530262862149240&amp;postID=7473518039008127392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/7473518039008127392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7909530262862149240/posts/default/7473518039008127392'/><link rel='alternate' type='text/html' href='http://scriptactionthree.blogspot.com/2008/04/hello-and-welcome-as3-stage-height-and.html' title='AS3 stage height and width (+ Hello)'/><author><name>Oliver</name><uri>http://www.blogger.com/profile/12923437151000619932</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://homepage.mac.com/sonicboy/images/kindagreen.jpg'/></author><thr:total>0</thr:total></entry></feed>
