By admin | Published:
April 28, 2009
Snippets are extremely useful feature of Gedit that make it usable for TextMate fiends like myself. They work exactly the same as in TM: in Gedit go to Edit -> Preferences -> Plugins and put a check next to “Snippets”. Now open, say, an html file, type body and press TAB. Gedit [...]
By admin | Published:
April 25, 2009
I just completed adding all of my posts from my previous blog at http://likesalmon.wordpress.com to this blog. I haven’t even read all of my original posts but I can tell you that there are some factual errors and naivete that I am not taking responsibility for. Use at your own risk, there is [...]
Posted in Flash, Musings |
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 [...]
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 [...]
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 [...]
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 [...]
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 [...]
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”
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 [...]