Skip to content

Instantly share code, notes, and snippets.

View xthesaintx's full-sized avatar

Stephen Garrett xthesaintx

View GitHub Profile
@xthesaintx
xthesaintx / ActionScript.js
Last active September 3, 2018 21:18
Dynamic typewriter effect for AdobeAnimate CC
//Global Script
var txt = new Array();
var x = 2; //speed multiplier
var count = 0;
var ti = 0;
txt[0] = "";
txt[1] = "FAST TRACK YOUR CAREER IN\nPOLITICS OR GOVERNMENT"; //51
txt[2] = "Study for a Master of Philosophy,\nPolitics and Economics at\nVictoria University in 2019.";//90
@xthesaintx
xthesaintx / export_png.jsx
Created August 19, 2018 23:10
Export all items in INDESIGN file as individual PNG files
// Set resolution options
var rp = [72,150,300];
// Set EXPORT presets
app.pngExportPreferences.exportResolution = 72;
app.pngExportPreferences.antiAlias = true;
app.pngExportPreferences.pngQuality = PNGQualityEnum.MAXIMUM;
app.pngExportPreferences.pngColorSpace = PNGColorSpaceEnum.RGB;
app.pngExportPreferences.pngExportRange = PNGExportRangeEnum.EXPORT_RANGE;