neosnippet.vim/autoload/neosnippet/snippets/actionscript.snip

266 lines
2.7 KiB
Plaintext
Raw Normal View History

2012-10-30 03:06:31 +00:00
snippet ec
2012-02-02 04:33:35 +00:00
#endinitclip
snippet inc
#include "${1}"
snippet br
break;
snippet ca
2012-10-30 03:06:31 +00:00
call(${1:#:frame});
2012-02-02 04:33:35 +00:00
snippet case
abbr ce
2012-10-30 03:06:31 +00:00
case ${1:#:expression} :
${1:TARGET}
2012-02-02 04:33:35 +00:00
snippet catch
abbr ch
catch ($1) {
$2
}
snippet class
2012-10-30 03:06:31 +00:00
class ${1:#:ClassName} {
2012-02-02 04:33:35 +00:00
var _${2};
function ${1}(${2}){
_${2} = ${2};${0}
}
}
2012-10-30 03:06:31 +00:00
2012-02-02 04:33:35 +00:00
snippet co
continue;
snippet dt
default :
2012-10-30 03:06:31 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
snippet de
delete ${1};
snippet do
do {
2012-10-30 03:06:31 +00:00
${1:TARGET}
} while (${2:#:condition});
2012-02-02 04:33:35 +00:00
snippet dm
2012-10-30 03:06:31 +00:00
duplicateMovieClip(${1:#:target}, ${2:#:newName}, ${3:#:depth});
2012-02-02 04:33:35 +00:00
snippet ei
else if (${1}) {
2012-10-30 03:06:31 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
}
snippet fori
abbr fi
2012-10-30 03:06:31 +00:00
for (var ${1} in ${2}){
${3:TARGET}
2012-02-02 04:33:35 +00:00
};
snippet for
abbr fr
2012-10-30 03:06:31 +00:00
for (var ${1} = 0; $1 < ${2}.length; $1++) {
${0:TARGET}
2012-02-02 04:33:35 +00:00
};
snippet fs
2012-10-30 03:06:31 +00:00
fscommand(${1:#:command}, ${2:#:paramaters});
2012-02-02 04:33:35 +00:00
snippet fn
function ${1}(${2}):${3}{
2012-10-30 03:06:31 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
};
snippet gu
getURL(${1});
snippet gp
gotoAndPlay(${1});
snippet gs
gotoAndStop(${1});
snippet if
if (${1}) {
2012-10-30 03:06:31 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
}
snippet il
ifFrameLoaded (${1}) {
2012-10-30 03:06:31 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
}
snippet ip
import ${1};
snippet it
interface ${1}{
2012-10-30 03:06:31 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
}
snippet lm
2012-10-30 03:06:31 +00:00
loadMovie(${1:url}, ${2:target}, ${3:method});
2012-02-02 04:33:35 +00:00
snippet ln
2012-10-30 03:06:31 +00:00
loadMovieNum(${1:url}, ${2:level}, ${3:method});
2012-02-02 04:33:35 +00:00
snippet lv
2012-10-30 03:06:31 +00:00
loadVariables(${1:url}, ${2:target}, ${3:method});
2012-02-02 04:33:35 +00:00
snippet vn
2012-10-30 03:06:31 +00:00
loadVariables(${1:url}, ${2:level}, ${3:method});
2012-02-02 04:33:35 +00:00
snippet mc
MovieClip
snippet nf
nextFrame();
snippet ns
nextScene();
snippet on
on (${1}) {
${2}
};
snippet oc
onClipEvent (${1}) {
2012-10-30 03:06:31 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
};
snippet pl
play();
snippet pf
pravFrame();
snippet ps
prevScene();
snippet pr
2012-10-30 03:06:31 +00:00
print(${1:#:target}, ${2:#:type});
2012-02-02 04:33:35 +00:00
snippet bn
2012-10-30 03:06:31 +00:00
printAsBitmapNum(${1:#:level}, ${2:#:type});
2012-02-02 04:33:35 +00:00
snippet pn
2012-10-30 03:06:31 +00:00
printNum(${1:#:level}, ${2:#:type});
2012-02-02 04:33:35 +00:00
snippet rm
2012-10-30 03:06:31 +00:00
removeMovieClip(${1:#:target});
2012-02-02 04:33:35 +00:00
snippet rt
return ${1};
snippet sp
2012-10-30 03:06:31 +00:00
setProperty(${1:#:target}, ${2:#:property}, ${3:#:value});
2012-02-02 04:33:35 +00:00
snippet sv
2012-10-30 03:06:31 +00:00
set(${1:#:name}, ${2:#:value});
2012-02-02 04:33:35 +00:00
snippet dr
2012-10-30 03:06:31 +00:00
startDrag(${1:#:target}, ${2:#:lockcenter}, ${3:#:l}, ${4:#:t}, ${5:#:r}, ${6:#:b} );
2012-02-02 04:33:35 +00:00
snippet st
stop();
snippet ss
stopAllSounds();
snippet sd
stopDrag();
snippet sw
2012-10-30 03:06:31 +00:00
switch ( ${1:#:condition} ) {
${0:TARGET}
2012-02-02 04:33:35 +00:00
}
2012-10-30 03:06:31 +00:00
2012-02-02 04:33:35 +00:00
snippet tt
2012-10-30 03:06:31 +00:00
tellTarget( ${1:#:target} ) {
${0:TARGET}
2012-02-02 04:33:35 +00:00
}
snippet th
throw ${1};
snippet tq
toggleHighQuality();
snippet tr
trace(${1:"$0"});
snippet ty
try {
2012-10-30 03:06:31 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
};
snippet um
2012-10-30 03:06:31 +00:00
unloadMovie(${1:#:target});
2012-02-02 04:33:35 +00:00
snippet un
2012-10-30 03:06:31 +00:00
unloadMovieNum(${1:#:level});
2012-02-02 04:33:35 +00:00
snippet vr
var ${1}:${2};
snippet wh
2012-10-30 03:06:31 +00:00
while (${1:#:condition}) {
${0:TARGET}
2012-02-02 04:33:35 +00:00
};
snippet wt
2012-10-30 03:06:31 +00:00
with (${1:#:target});
${0:TARGET}
2012-02-02 04:33:35 +00:00
};
2012-10-30 03:06:31 +00:00