Archive for October, 2007
Thank me later
If you use TextMate, and write ActionScript, then you need to learn about TextMate’s code “snippets”. Once you understand that, you can use this:
${1:newName} = ${2:target}.createEmptyMovieClip(”${1:newName}”, ${2:target}.getNextHighestDepth() );
Thank me later.[UPDATE:] also, this as a shortcut for creating a new text field (I use tab trigger ‘ctf’):
${1:target}.createTextField(”${2:name}”, ${3:${1:target}.getNextHighestDepth()}, ${4:xpos}, ${5:ypos}, ${6:width}, ${6:height} );var ${2:name}:TextField = ${1:target}.${2:name};
Here’s […]