<?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-26985247</id><updated>2011-10-17T03:14:07.119-05:00</updated><title type='text'>Tales of an Actionscript fetishist</title><subtitle type='html'>Short, but useful, actionscript tidbits.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26985247.post-3223543613150300</id><published>2006-12-03T23:19:00.000-06:00</published><updated>2006-12-04T23:57:49.554-06:00</updated><title type='text'>User Events With Actionscript 3</title><summary type='text'>I came across this problem the other day.  I was looking all over for a simple article explaining how to create your own events with the new event system in AS3.  I found a few interesting links, such as Darron Schall's blog post, but nothing completely definitive.  Along with that article and some digging in the AS3 documentation I managed, amazingly, to successfully create my own custom </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/3223543613150300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=3223543613150300' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/3223543613150300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/3223543613150300'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/12/user-events-with-actionscript-3.html' title='User Events With Actionscript 3'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-115518672824219102</id><published>2006-08-10T00:06:00.000-05:00</published><updated>2006-08-10T00:12:24.260-05:00</updated><title type='text'>Using The Flex 2 SDK with Flash Develop</title><summary type='text'>I saw Keith Peter's blog post about using FlashDevelop and the Flex 2 SDK. However, there is one problem; insects really bother me.  Especially ants.  So here's a way to use the Flex 2 SDK without those pesky ants getting in the way.First you need to download all the files needed.The new ASCompletion DLLThe Flex2 SDKFlash 9 Intrinsic Class FilesFlash Build PluginDownload and unzip the new </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/115518672824219102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=115518672824219102' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115518672824219102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115518672824219102'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/08/using-flex-2-sdk-with-flash-develop.html' title='Using The Flex 2 SDK with Flash Develop'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-115470196304612500</id><published>2006-08-04T08:41:00.000-05:00</published><updated>2006-08-04T09:32:43.126-05:00</updated><title type='text'>Head First Design Patterns</title><summary type='text'>Link:Head First Design PatternsI always found patterns rather gimicky.  I've tried to understand them with little success.  I tried to read the infamous gang of four book (here) and ended up confused and bored.  I've read and read the pattern section in Essential AS2.0 but can't stop but get the feeling of "why isn't he actually saying anything?".At the bookstore the other day I was browsing the </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/115470196304612500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=115470196304612500' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115470196304612500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115470196304612500'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/08/head-first-design-patterns.html' title='Head First Design Patterns'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-115432908364090530</id><published>2006-07-31T01:46:00.000-05:00</published><updated>2006-07-31T01:58:03.650-05:00</updated><title type='text'>PHPVars -- Handy LoadVars Accessory</title><summary type='text'>Documentation:PHPVarsDocs.htmlDownload:PHPVars.asI had to load itemized PHP data in a project I was working on and couldn't find any good solutions to easily load many items with PHP at once.  Check the doc's usage to see what I mean by itemized data.</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/115432908364090530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=115432908364090530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115432908364090530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115432908364090530'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/07/phpvars-handy-loadvars-accessory.html' title='PHPVars -- Handy LoadVars Accessory'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-115149450277577128</id><published>2006-06-28T06:26:00.000-05:00</published><updated>2006-06-28T06:35:02.786-05:00</updated><title type='text'>Flash 9 Pro Public Alpha!</title><summary type='text'>Download!This popped up first on digg of all places!Get it while it's hot!</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/115149450277577128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=115149450277577128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115149450277577128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115149450277577128'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/06/flash-9-pro-public-alpha.html' title='Flash 9 Pro Public Alpha!'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-115140392620917615</id><published>2006-06-27T05:14:00.000-05:00</published><updated>2006-06-27T05:26:16.590-05:00</updated><title type='text'>Arrays Faster Than Objects?</title><summary type='text'>I was talking with my friend Jarrad tonight and he pointed out that simply switching out an object for an array yeilded speed improvements.  This got me thinking, is it true?In my test it showed that objects are faster, but only slightly.The test involves both an object and an array filled with seven values/properties all containing the same ammount of data.  It then runs a ten-thousand iteration</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/115140392620917615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=115140392620917615' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115140392620917615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115140392620917615'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/06/arrays-faster-than-objects.html' title='Arrays Faster Than Objects?'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-115008050473987935</id><published>2006-06-11T20:59:00.000-05:00</published><updated>2006-06-11T21:50:49.513-05:00</updated><title type='text'>SmurfLib Update-- Templates</title><summary type='text'>Download:SmurfLib.zipI added two template classes to com.object.utils: StaticTemplate and Template.JavaDocs:StaticTemplate.htmlTemplate.htmlStaticTemplate is unique because it transpose all the values changed within a template instance onto all templated objects.  For example:import com.object.utils.StaticTemplate;var obj1:Object = {};var obj2:Object = {};var sTemplate:StaticTemplate = new </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/115008050473987935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=115008050473987935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115008050473987935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/115008050473987935'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/06/smurflib-update-templates.html' title='SmurfLib Update-- Templates'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114933996867488682</id><published>2006-06-03T07:57:00.000-05:00</published><updated>2006-06-03T08:06:08.686-05:00</updated><title type='text'>PreRender -- Polished, ready for consumption.</title><summary type='text'>Download:PreRenderExample.zipView SWF:PreRender.htmlView JavaDocs:PreRenderDocs.htmlFinished this up and added a few handy little features.  Don't know if it'll be much use to anyone but hey, play with it a bit and show me your results.  Comments and/or suggestions on how to improve the class would be appreciated.</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114933996867488682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114933996867488682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114933996867488682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114933996867488682'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/06/prerender-polished-ready-for.html' title='PreRender -- Polished, ready for consumption.'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114908314995769945</id><published>2006-05-31T07:44:00.000-05:00</published><updated>2006-05-31T08:45:49.970-05:00</updated><title type='text'>A little fun with BitmapData.draw()</title><summary type='text'>I got this idea the other day and decided to try it out.What if I could prerender, of sorts, a complex vector animation as a series of bitmaps?After a bit of testing I got it to work.Warning: May freeze your browser for a few seconds while it renders the frames.PreRender.htmlIt's quite slow to do the inital rendering but it does as advertised.</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114908314995769945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114908314995769945' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114908314995769945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114908314995769945'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/little-fun-with-bitmapdatadraw.html' title='A little fun with BitmapData.draw()'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114885816585505587</id><published>2006-05-28T18:10:00.000-05:00</published><updated>2006-05-29T23:00:35.510-05:00</updated><title type='text'>SmurfLib Class Library</title><summary type='text'>Download:SmurfLib.zipAll my classes are compiled.  The structure looks like below.SmurfLib+com|-+movieclip|-|--SmartClip.as||-+array|-|--ArrayUtils.as||-+utils|-|--Delegate.as|-|--Interval.as|-|--ColourSpace.as|-|--WatchManager.asOver the next few days I'll be making the docs up and adding a couple more classes. Stay tuned.</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114885816585505587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114885816585505587' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114885816585505587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114885816585505587'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/smurflib-class-library.html' title='SmurfLib Class Library'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114885190728822830</id><published>2006-05-28T16:24:00.000-05:00</published><updated>2006-05-28T16:31:47.300-05:00</updated><title type='text'>SmartBitmap -- Renamed, updated.</title><summary type='text'>I updated and renamed the SmartBitmap class to SmartClip.Documentation:SmartClip.as DocumentationDownload:SmartClip.asI added attachMovie and createEmptyMovieClip along with the _visible property (which should have been there in the first place).I'm working on transfering all my classes into one big package instead of a bunch of .as files that are loosely tied togeather.</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114885190728822830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114885190728822830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114885190728822830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114885190728822830'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/smartbitmap-renamed-updated.html' title='SmartBitmap -- Renamed, updated.'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114848083401487975</id><published>2006-05-24T08:21:00.000-05:00</published><updated>2006-05-24T12:45:03.643-05:00</updated><title type='text'>SmartBitmap -- Caching when you only need it!</title><summary type='text'>Flash 8 introduced one of the greatest features ever, atleast in my opinion, the BitmapData object along with cacheAsBitmap.  Using cacheAsBitmap can greatly increase your performance or it can make it much worse.  When you use cacheAsBitmap Flash first, renders the vector, then it converts it into a bitmap.  It only does this when you're changing a visual property of the movieclip.  These </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114848083401487975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114848083401487975' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114848083401487975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114848083401487975'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/smartbitmap-caching-when-you-only-need.html' title='SmartBitmap -- Caching when you only need it!'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114829503416767029</id><published>2006-05-22T05:10:00.000-05:00</published><updated>2006-05-22T22:33:04.186-05:00</updated><title type='text'>Grid Positioning-- out with the old, in with the new.</title><summary type='text'>When ever I've had to position items in a grid I've always gone about it the same way every time, by using a lot of vars. var xPos:Number, yPos:Number; var yStart:Number = 10; var xStart:Number = 10; var xMove:Number = 62.5; var yMove:Number = 70; var xMax:Number = Stage.width-xMove; var yMax:Number = Stage.height-yMove; for(var i:Number = 0; i &lt; pictureArray.length; i++){     var pData:Object = </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114829503416767029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114829503416767029' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114829503416767029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114829503416767029'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/grid-positioning-out-with-old-in-with.html' title='Grid Positioning-- out with the old, in with the new.'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114811810733442743</id><published>2006-05-20T02:52:00.000-05:00</published><updated>2006-05-20T04:56:16.956-05:00</updated><title type='text'>Custom Intervals -- Pause, Extend, Change</title><summary type='text'>SWF Example:Class Files:Interval.asSource FLA:IntervalExample.zipOn IRC tonight someone asked if it was possible to pause, or even extend an interval for a certian ammount of time.  I wrote this class to allow you to do just that with an interval created via it.  You can pause, unpause, change the interval (in real time with compensation), and extend the time of the current iteration of the </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114811810733442743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114811810733442743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114811810733442743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114811810733442743'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/custom-intervals-pause-extend-change.html' title='Custom Intervals -- Pause, Extend, Change'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114796458885470265</id><published>2006-05-18T09:47:00.000-05:00</published><updated>2006-05-18T10:03:40.606-05:00</updated><title type='text'>Updated WatchManager</title><summary type='text'>Updated Class: WatchManager.asBug Fixes:Arguments are now fixed and passed correctly.You can use $obj (parentObj.child1.child2....childN) for nested objects instead of $scope.  However, this doesn't change the rules for $scope, it needs to be the scope of the top most object.SWF Example:Source: .FLA File</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114796458885470265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114796458885470265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114796458885470265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114796458885470265'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/updated-watchmanager.html' title='Updated WatchManager'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114746226200433815</id><published>2006-05-12T13:51:00.000-05:00</published><updated>2006-05-12T18:50:17.076-05:00</updated><title type='text'>Watch Manager -- Beating The System</title><summary type='text'>Download:Required:MTASC Compliant Delegate ClassWatch Manager ClassExample FilesNote: You may have to change the class names and import data in order to make sure your classpath is correct.I've been writing this class on and off for fun (it really is a fetish) in the past week or so.  It's not ment to replace events or even be used in an every day situtation if at all.  I mainly wrote it to see </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114746226200433815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114746226200433815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114746226200433815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114746226200433815'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/watch-manager-beating-system.html' title='Watch Manager -- Beating The System'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114707968215658575</id><published>2006-05-08T03:46:00.000-05:00</published><updated>2006-05-16T21:29:29.653-05:00</updated><title type='text'>Basic ColourData Class --Updated--</title><summary type='text'>DownloadNote: Requires ColourSpace class.You may also need to change the import line and the class name dependant on where you put it in your classpath.I made this class so I'd have an easier time managing many 32bit and 16bit colour values at once.  It works rather nicely so I decided to put it up here for anyone else in need it.Obligatory sample syntax:var myColour:ColourData = new ColourData( </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114707968215658575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114707968215658575' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114707968215658575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114707968215658575'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/basic-colourdata-class-updated.html' title='Basic ColourData Class --Updated--'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114707795380734527</id><published>2006-05-08T03:28:00.000-05:00</published><updated>2006-05-08T03:45:53.866-05:00</updated><title type='text'>Best Font For Programming</title><summary type='text'>The Proggy fonts have to be simply the best font for programming.I perfer the Proggy Clean with slashed zero and bold punctuation.  Out of the many fonts I've tried in the past two years this one is the easiest on the eyes and the bold punctuation is a must.What it looks like in action (click for full size):</summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114707795380734527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114707795380734527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114707795380734527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114707795380734527'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/best-font-for-programming.html' title='Best Font For Programming'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114657040282382946</id><published>2006-05-02T05:16:00.000-05:00</published><updated>2006-05-02T06:49:23.006-05:00</updated><title type='text'>Object.watch, santa's little helper</title><summary type='text'>This handy little function allows you to watch when a certian property of any object changes and call a callback. There are a few catches however.The callback has to have access to the watched object (in the same scope).Only one callback can occur per property of an object (no multiple watches).The callback function is always called with three arguments: property, oldval, newval.The callback </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114657040282382946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114657040282382946' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114657040282382946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114657040282382946'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/05/objectwatch-santas-little-helper.html' title='Object.watch, santa&apos;s little helper'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114621624954901930</id><published>2006-04-28T03:51:00.000-05:00</published><updated>2006-04-28T06:06:29.790-05:00</updated><title type='text'>Colour Space Conversion Class</title><summary type='text'>Download:HereNotes:The colour space conversion isn't 100% automated in this class.  In order to convert from RGB to LAB you need to convert from RGB to XYZ then to LAB.  Eventually I will create a wrapper class that will allow you to convert from anything to anything.  Without messy calls like:var rgbColour:Object = {r:100, g:231, b:16}; //Super sweet colourvar labColour:Object = </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114621624954901930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114621624954901930' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114621624954901930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114621624954901930'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/04/colour-space-conversion-class.html' title='Colour Space Conversion Class'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114612638165307865</id><published>2006-04-27T03:13:00.000-05:00</published><updated>2006-04-27T03:29:16.773-05:00</updated><title type='text'>Finding The Closest Value To X In An Array</title><summary type='text'>For a project I'm working on I needed to find the value in a lookup table that was closest to whatever value I put in.  I wrote a simple little prototype that does the job nice and easy, it even returns both the closest value and the index of the element containing that value.Array.prototype.findNearest = function(compare:Number):Object{  var c:Object = {value:null, index:null};  var d:Number = </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114612638165307865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114612638165307865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114612638165307865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114612638165307865'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/04/finding-closest-value-to-x-in-array.html' title='Finding The Closest Value To X In An Array'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114612164821294804</id><published>2006-04-27T01:57:00.000-05:00</published><updated>2006-04-27T02:07:28.220-05:00</updated><title type='text'>Stripping The Alpha Channel From An ARGB Value</title><summary type='text'>I ran into this problem when I was working on a project where I was holding one large set of ARGB data within flash.  For those of you who don't know flash's non-base 10 number support is half-hearted at best.  I kept wracking my mind on how to remove the alpha channel.  I could break up the ARGB number into it's components: alpha, red, green, and blue.  Once that's done simply take the red, </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114612164821294804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114612164821294804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114612164821294804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114612164821294804'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/04/stripping-alpha-channel-from-argb.html' title='Stripping The Alpha Channel From An ARGB Value'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114604678825414638</id><published>2006-04-26T05:03:00.000-05:00</published><updated>2006-04-26T05:32:32.080-05:00</updated><title type='text'>FlashDevelop Code Injection</title><summary type='text'>Download:SWF Mill Ready TemplatePlace in /../FlashDevelop/TemplatesCreate a new project using the "Mill Ready Project".Basic Directory Structureclasses---Contains all of the base classes. library ---For external library data (See note below!)swfmill---Contains the source to build the application.swf from in simple SWFML. ---Also contains the compiled classes.swf that is injected into </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114604678825414638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114604678825414638' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114604678825414638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114604678825414638'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/04/flashdevelop-code-injection.html' title='FlashDevelop Code Injection'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26985247.post-114602462253403865</id><published>2006-04-25T22:32:00.000-05:00</published><updated>2006-04-26T05:34:54.133-05:00</updated><title type='text'>Using Delegate.create to maintain scope</title><summary type='text'> For those using mtasc:If you're using mtasc you're going to need to use this special mtasc friendly Delegate class.  It's also a good alternative to the built in macromedia delegate class becuase it allows for arguments./**  * Delegate class  * - MTASC friendly  * - allows additional parameters when creating the Delegate  */ class Delegate {    /**     * Create a delegate function     * @param </summary><link rel='replies' type='application/atom+xml' href='http://asfetish.blogspot.com/feeds/114602462253403865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26985247&amp;postID=114602462253403865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114602462253403865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26985247/posts/default/114602462253403865'/><link rel='alternate' type='text/html' href='http://asfetish.blogspot.com/2006/04/using-delegatecreate-to-maintain-scope.html' title='Using Delegate.create to maintain scope'/><author><name>Sam Coles</name><uri>http://www.blogger.com/profile/09504003667150232819</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
