Blog

HTML CSS Tip: Horizontal List - UL LI tags

 To make an HTML list appear horizontally instead of stacked vertically, simpy set the list item tag's display style to "inline" in your CSS file or style attribute, and be sure your container element's width is wide enough for the list items to be stacked horizontally. example: .exHorizontalListClass {  /* Horizontal List Items: */    display: inline;  /* To remove bullets: */  list-style: none; } ...
Tue, December 01, 2009 (No Comments)

Shorter than Shortcuts - Best Free Windows App - A Must Have for Computer Professionals

Make Windows way, way less annoying. http://humanized.com/enso/Enso is a free application for windows that allows you to use your computer with instant short-cut commands that you can type in plain English while in any (or no) application to do things that usually entire reaching for the mouse, shaking it around to find it, going to the start menu, scanning the list, maybe go to submenus, etc... etc... etc...  FORGET THATFor all my MacBoy friends, let me start by saying mac already has this...
Tue, December 01, 2009 (No Comments)

PHP Opening Posted

Are you an expert PHP developer available for part-time work?  Please review our requirements on our openings page and let us know if you sound like a match! ...
Mon, November 30, 2009 (No Comments)

AS3 MovieClip / Sprite / DisplayObejct Filters does not work like Array - .push() .pop() .slice()

To apply effects filters to display objects (sprites, movie clips, etc) ActionScript 3 display objects have a nice little .filters property that allows you to set an Array of effects filters at runtime.  This is great for effects like Bevel, Drop Shadow, Glow, Blur, Inner Shadow, KnockOut, etc..ex:(assuming you've created the filter instances myBevelFilter, myGlowFilter, myDropShadowFilter) 1) Works:_myMovieClip.filters = [myBevelFilter, myGlowFilter, myDropShadowFilter];2) Works:var fx:Arr...
Fri, November 27, 2009 (No Comments)

Common Flash/Flex AS3 Mistake... Loader Doesn't Work - No Events Working When Loading External URLs

If you seem to have everything set up correctly with a Loader class instance, but there's just nothing happening... You probably made the same mistake I've made a number of times when coding a little too quickly:  attaching the event listeners to the Loader object itself, rather than your loader's property: .contentLoaderInfo - where all the information and events on loading status actually occur.For example... The Common Wrong Way:var myLoader:Loader = new Loader();myLoader.addEventLi...
Mon, November 09, 2009 (4 Comments)

FlashDevelop Error Creating New AS3 Projects in an Existing Project's Directory

If you try to create a new as3 project in a directory of an existing project, you may get this error:Could not create the requested project:  The file '...expressInstall.swf' already exists....or similar error for "swfobject.js'Careful!Don't delete these files or remove bin/ and create a new project b/c it will overwrite existing classes like Main.as!Your best bet is to copy your the entire existing project directory to a new directory and create a new project there. Then, copy over whate...
Sat, October 17, 2009 (No Comments)

Color Schemes Complete with Hex Codes: The ONE Website You Need

 Do you find yourself always looking for hex codes?  Either a specific color code, matching colors, etc.?  If so, bookmark this page right now!!  http://kuler.adobe.com/#create/fromacolor  Your google searches for hex codes ends now. :) Enjoy!  ...
Mon, October 12, 2009 (No Comments)

Get Rid of Annoying Outlook Reminders That Cannot Be Removed / Found

This really, really annoying bug started popping up for me not too long ago when a co-worker created some reoccurring  event in outlook that I accepted as attending, and at some point she must have removed it incorrectly or something, because it would always come up as "Canceled:" but when I would try to dismiss or OK it... I would always get this error message prompt (every freakin' day!):"Cannot turn off the reminder.  You may be reminded again.  Cannot locate recurrence informa...
Mon, September 28, 2009 (No Comments)

Flash/Flex AS3 - How to Select / Highlight All Text in an Input Text Field On Click

This took forever to google for some reason...Issue:You want an input textbox to highlight everything in it when the user clicks it (on focus). Problem is, when the user clicks the text box places the carat, thus un-highlighting the text. I could be wrong, but the second problem seems to be that if you use the FocusEvent.FOCUS_IN event setting selection doesn't work, so you're forced to use MouseEvent.CLICK event... but if you highlight the entire box every time the user clicks, the user can'...
Wed, September 23, 2009 (7 Comments)

AS3 / Flash / FlashDevelop - scaleY = 0 ... Bug with scaleY value on Custom Class

I haven't found much on the web about this...Issue:Has anyone experienced an issue where a custom class extending a library MovieClip instantiated on stage has an initial scaleY value of 0, but scaleX is 1? example: - class MovieClipAndThenSome extends - class MovieClipPlus extends class FL_MCFromLibrary - class FL_MCFromLibrary is generated by flash when not found in the classpath (it is the linkage name of a library movie clip in flash) and extends MovieClip //as3 example.. var newCustomMC:Mo...
Wed, September 23, 2009 (No Comments)

AS3 - Load a Remote Image from Any URL / Domain with No Stupid Security Sandbox Errors

Issue:You want to load an image from an unkown external URL. It works on your computer... Sandbox Security error online (and/or the annoying images just showing up as solid white feature).By default, Flash wants a crossdomain.xml file on the server you are loading from, but let's say there is none, because it's probably not your website.  Well, then the flash player isn't going to let you take that data and do what you want with it.Attempting to do so will give you some error similar to:***...
Fri, September 18, 2009 (15 Comments)

Listen to Pandora Without a Web Browser (windows desktop app / tray widget)

I love Pandora for listening to music.  But, I hate having to keep a tab open for it all day.  Luckily, thanks to CFDan, now I have Pandora in my windows taskbar with a nice right-click menu.Get Pandora's Box for Windows Here (free)Many Thanks to cfdan!...
Wed, September 09, 2009 (5 Comments)

Migrating AS2 to AS3 - Easiest "Bring to Front" / "Stay On Top" for a MovieClip

In the days of AS2, the quick and dirty little line...   mc.swapDepths(mc.parent.getNextHighestDepth()); ...would do the trick, and the MC would be on top. In AS3 there is no "getNextHighestDepth" function.  Instead, there is a display stack with no missing slots.Thus, this is the easiest way to set a MovieClip (or Sprite or DisplayObject, for that matter) to the foremost depth of it's parent container:public function bringMCToFront($mc:MovieClip){    $mc.parent.set...
Tue, September 08, 2009 (8 Comments)

Flash/Flex AS3 BugFix: Error: #1074: Illegal write to read-only property String on global.

#1074: Illegal write to read-only property String on global.What an extremely obscure description that is.  Most google results say something or other about setting "application domain".  This can be an issue if you are using / loading external filesacross domains...In my case, this issue was simply a loose type declaration: ex:_baseURL:String = _domainURL; left over :String from when it was a function scope variable...  removing the :String fixed error....
Thu, September 03, 2009 (No Comments)

How to Kill a Frozen iPhone App (v 3.0+)

 In version 2.X of the iPhone software, if an app froze, pressing/holding the main home button would kill the app process and un-freeze your phone.  In 3.0... not so much.  This is actually because after the 3.0 software update, this was changed.  Now, to force an app to close to unfreeze your phone, you must:1) Hold the power button (top right) until the red power off slider appears. 2) Hold down the home button to quit the unresponsive application and return to the main hom...
Wed, September 02, 2009 (No Comments)

Image -> AS3 -> BitmapData -> JPG -> PHP -> Server / Hard Drive

How to encode Bitmap Data as a JPG and save it a remote server:(and/or back down to your hard drive)  hint:  Unless you want to re-invent the wheel, get AS3 CoreLib actionscript library from google docs  ...Great articles, really clear / short and helped me breeze through getting this working compared to some other tutorials that came up first.http://actionscript-blog.imaginationdev.com/5/save-jpg-jpeg-png-bmp-image-action-script-3/http://designreviver.com/tutorials/actionscript-3...
Mon, August 24, 2009 (No Comments)

Free Icons from Wikimedia, Great Resource

Icons can be a pain to find, but wikimedia has a great collection full of rights free images: http://commons.wikimedia.org/wiki/Category:Crystal_128  ...
Fri, August 21, 2009 (No Comments)

Compiling with Flash Develop 3, AS3, FlexSDK - Using Custom Classes and Designs in the Flash Library

After beating myself up over this, I have a working solution where you can identify library items with custom classes, as well as child MC's.  It seems to work fine compiling in Flash... Make a library MovieClip, add a class name, create that class with same name, and code away.  FlexSDK / SWC setup, not so much.  Tested again and again, and removing the .as custom class with matching name to linkage would allow it to show on stage again, and re-adding it stops it from showing but...
Tue, August 11, 2009 (7 Comments)

Fix for HTML DIV gap from padding / margin in Firefox

Struggling to eliminate that gap between DIV tags in your HTML?  Tried everything with margin: 0 padding: 0 and still getting it?  Mind boggled when setting style="border: 1px dashed red;" removes the gap every time?  Then border: 0 and it's back again?It happens in FireFox more than IE, from what I can tell.  It's extremely annoying, but alas, there is a quick fix.Try this with all troublesome DIVs involved:overflow: hidden;...
Mon, June 15, 2009 (1 Comments)

Problems launching your website?

Problem: You somehow ended up with a domain registered through a website builder or template site. You only have limited access to change the DNS, which prevents you from changing the A records. Easy Solution: Transfer your domain to Godaddy!! New Problem: You have to launch the site today.Solution: I had this problem today, and after going back and forth with the domain registrar, website builder site, hosting site, I finally figured out how to get the site launched today! I discovered www.d...
Mon, June 15, 2009 (No Comments)

Keep the Footer Down at the Bottom of the Page Where It Belongs

If you hand craft your own tableless web page layouts, you're probably going to learn the hard way how annoying it can be when the footer DIV floats up into the design layout.  Especially when it does it one browser, and not the other.There are a number of methods, but the one I use the most uses negative wrapper DIV padding and corresponding footer height. Here's probably the easiest tutorial I've found so far:http://ryanfait.com/resources/footer-stick-to-bottom-of-page/...
Fri, June 05, 2009 (No Comments)

Adobe Flash Player (FP9/FP10) Full Screen Mode Does Not Support Input Text

Adobe's release of Full Screen Mode allows for the user to cue a full screen instance of a flash movie, making video (ex: youtube vids, hulu..) nice and large to watch, as well as making some internet applications (RIAs) a nice full screen inclusive user experience.  This is really nice for websites that make sense to go full screen, especially for movies or web apps where screen real estate improves the usefullness of the app. ...Until you try to type into a text box.  It just doesn't...
Mon, June 01, 2009 (18 Comments)

Best ActionScript Editor (Notably Better Than Adobe)

 FlashDevelop is awesome. You might also consider Eclipse or FDT as options to sculpt your AS3 masterpieces, both pretty nice from what I can tell... but after some playing around (not really a thorough comparison by any means) I've come to find FlashDevelop to be the nicest, cleanest, most productive ActionScript 3 editor available.A few highlights (IMHO):It's Free.Better / smarter code-hints (aka the menu that pops up with auto complete options) everything from import suggestions to e...
Mon, May 25, 2009 (No Comments)

One Giant Logos

 One Giant Media logos for public use:       ...
Sat, December 20, 2008 (No Comments)

Yet Another Scary Reason to Avoid Internet Explorer - Use Firefox or Get Hacked

 This is a follow up to a previous article pointing out the security risk difference between IE and FireFox -  Is Mozilla FireFox (FF) Better Than Microsoft Internet Explorer (IE)Today an article on the BBC News website makes the same point even further about the risky IE browser, quoting experts that suggest that people switch to another browser (like firefox) before you get a virus:"Users of Microsoft's Internet Explorer are being urged by experts to switch to a rival until a serious...
Tue, December 16, 2008 (No Comments)