neosnippet.vim/autoload/neosnippet/snippets/actionscript.snip
2012-09-30 17:04:46 +09:00

274 lines
2.6 KiB
Plaintext

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