Last active
August 29, 2015 13:57
-
-
Save overbyte/9545438 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
var flashvars = {}; | |
var params = {}; | |
var attributes = {}; | |
params.menu = false; | |
params.scale = 'noscale'; | |
params.wmode = 'transparent'; | |
params.allowScriptAccess = 'always'; | |
params.allowFullscreen = 'true'; | |
attributes.id = '${1:item name}'; | |
attributes.name = '${1:item name}'; | |
swfobject.embedSWF('${2:swf name}-${3:width}x${4:height}.swf', | |
'b${3:width}x${4:height}', | |
'${3:width}', '${4:height}', | |
'8.0.0', null, | |
flashvars, params, attributes); | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>swfobj</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment