By admin | Published:
April 25, 2009
Originally posted on 10/25/08 at http://likesalmon.wordpress.com
Turns out the width and height properties only work on anchor tags when used in conjunction with display:block. WTF?
So this does not work:
a { width: 100px; height: 100px; }
But this does:
a { width: 100px; height: 100px; display:block; }
Again, have I seriously never run into this before? Do I [...]
Also posted in CSS, Tests |
By admin | Published:
April 25, 2009
Originally posted on 10/19/08 at http://likesalmon.wordpress.com
The other day I was laying out a wordpress driven site in css and realized that I didn’t actually understand how the “width” property works. This was extremely embarrassing to admit to myself, because it means I’ve been flubbing and cheating my way through the layout of every website [...]
Also posted in CSS, Tests |
By admin | Published:
April 25, 2009
Originally posted on 10/10/08 at http://likesalmon.wordpress.com
I struggled with this, as the usual method of including a javascript library and an external javascript script did not work. Usually, I would do this:
<script style=”text/javascript” src=<?php bloginfo(’url’); ?>/wp-includes/js/jquery/jquery.js” ></style>
<script style=”text/javascript” src=<?php bloginfo(’template_directory’); ?>/myScript.js” ></style>
But that didn’t work at all, even when I included the jQuery.noConflict() line in [...]
Also posted in Tutorial, Wordpress |
By admin | Published:
April 25, 2009
Originally posted on 10/10/08 at http://likesalmon.wordpress.com
I decided not to use MTASC as my compiler after all, since it can’t do Actionscript 3. I’m going with Haxe instead.
Installation:
Go to http://haxe.org/download and download the OSX Universal Installer.
Unpack the installer and double click on it
Open up .bash_login from you home directory in your text [...]
Also posted in Flash, Tutorial |
By admin | Published:
April 25, 2009
Originally posted on 10/10/08 at http://likesalmon.wordpress.com
I decided that if MTASC is only good for Actionscript 2 I should probably try Haxe, which is a compiler that does Actionscript 3 as well as a lot of other stuff. It looks like my development platform is not going to resemble the book I was referencing at [...]
By admin | Published:
April 25, 2009
Originally posted on 10/9/08 at http://likesalmon.wordpress.com
This is important because it allows me to use textmate as my editor. I freaking love textmate. For instructions of how to do this go here:
http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle-for-textmate/
Do what he says, copy and paste the code he gives into the terminal all at once and press enter. Terminal will [...]
Also posted in Flash, Solutions |
By admin | Published:
April 25, 2009
Originally posted on 10/9/08 at http://likesalmon.wordpress.com/
This was easy enough:
Download the Mac OSX package from http://www.mtasc.org/#download
Unzip it and change the name of the folder to “mtasc” for ease of use
Put the unzipped folder in your Applications directory
Put a new entry in your .bash_login file that says:
export PATH=”/Applications/mtasc:$PATH”
Also posted in Flash, Tutorial |
By admin | Published:
April 25, 2009
Originally posted on 10/3/08 at http://likesalmon.wordpress.com
Vague instructions from the book led me to my first roadblock. Can’t blame ‘em, there’s just to many OSs out there to write for all of them. But we’re smart right? Right.
This video includes step by step instructions for how to install the Flex SDK and the correct [...]
Also posted in Flash, Solutions |
By admin | Published:
April 25, 2009
Originally posted on 10/3/08 at http://likesalmon.wordpress.com
I haven’t written for a while but there’s no time for apologizing. I decided (after years of swearing I never would) its time to learn flash. I’m doing this totally open source, so I’m going to post all the steps it takes to get up and running in [...]
By admin | Published:
April 25, 2009
Originally posted on 4/5/08 at http://likesalmon.wordpress.com
My girlfriend and I are house sitting this week while our friends are in Hawaii. They have four cats and a dog, good wine, and a lot of food in the fridge. I’ve been going on lots of walks, entertaining friends, and cooking, but precious little javascript.
I do [...]
Also posted in Design, Shiny and New |