Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre> <b>Note: The Askee did like the answer:</b><p><code> SWF's as SWF's for EXE's.? I would say that is native to Adobe Flash, plus there has always been ANT 'Build Commands' -- as well as -- ITASCA in use for these processes (now deprecated). The main positive outcome for your situation is that I already had code that I used for something similar, so I added it to github - Take a look, it is very straightforward with comments and instructions: Note, the Application Manifest files along with custom **bat** files allow the /exe files to be generated from your action-script within **Main.as and application.xmL https://github.com/leonardo-m-mendevil/esexes.git **</code></p></pre> <p><sub></p> <ul> <li>@original: SACKS, S</li> <li>@notes:AS2 and AS3 compliant, </li> <li>@notes:Based on Scaffolding Framework </li> <li>@github: <a href="https://github.com/stevensacks/Gaia-Framework/wiki/_history" rel="nofollow">https://github.com/stevensacks/Gaia-Framework/wiki/_history</a></li> <li>@notation: Using JSFL: original: Change Publish Profile Settings: v2: SACKS: MARCH 26, 2008 <strong>/ /</strong></li> <li>@author: Eddie Martinez</li> <li>@update: Generating an .exe/projector </li> <li>@using: .as3 || .swf FileLoader || .jsfl</li> <li>@revision: July 2013 </li> <li>@info: This is a slight alteration</li> <li>@info: Alteration derived from Gaia's JSFL scaffolding [Gaia's scaffolding JSFL]</li> <li>@framework: <a href="https://github.com/stevensacks/Gaia-Framework/wiki/_history" rel="nofollow">https://github.com/stevensacks/Gaia-Framework/wiki/_history</a></li> </ul> <p></sub></p> <pre><code>function setPPS(F1, ActionVersion) { if (fl.fileExists(F1) { var _x, _f, _t, _d; fl.openDocument(F1); var file_n = F1.split("/").pop(); var path_f = F1.split(file_n)[0].join("/"); file_n = file_n.split(".")[0]; var pt = path_f + "/_Profile_._x"; fl.getDocumentDOM().exportPublishProfile(pt); _x = FLfile.read(pt); _f = _x.indexOf("&lt;defaultNames&gt;"); _t = _x.indexOf("&lt;/defaultNames&gt;"); _d = _x.substring(_f, _t); _x = _x.split(_d).join("&lt;defaultNames&gt;0"); _f = _x.indexOf("&lt;flashDefaultName&gt;"); _t = _x.indexOf("&lt;/flashDefaultName&gt;"); _d = _x.substring(_f, _t); _x = _x.split(_d).join("&lt;flashDefaultName&gt;0"); _f = _x.indexOf("&lt;flashfile_n&gt;"); _t = _x.indexOf("&lt;/flashfile_n&gt;"); _d = _x.substring(_f, _t); var p3i = "../"; if (file_n.indexOf("/") &gt; -1){ var splitPath = file_n.split("/"); splitPath.length--; var i = splitPath.length; while (i--) { p3i += "../"; } } _x = _x.split(_d).join("&lt;flashfile_n&gt;" + p3i + "deploy/" + file_n + ".swf"); var types = {}; types.projectorWinfile_n = "exe"; for (var n in types) { _f = _x.indexOf("&lt;" + n + "&gt;"); _t = _x.indexOf("&lt;/" + n + "&gt;"); _d = _x.substring(_f, _t); _x = _x.split(_d).join("&lt;" + n + "&gt;" + file_n + "." + types[n]); } _f = _x.indexOf("&lt;ActionScriptVersion&gt;"); _t = _x.indexOf("&lt;/ActionScriptVersion&gt;"); _d = _x.substring(_f, _t); _x = _x.split(_d).join("&lt;ActionScriptVersion&gt;" + ActionVersion); _f = _x.indexOf("&lt;PackageExportFrame&gt;"); _t = _x.indexOf("&lt;/PackageExportFrame&gt;"); _d = _x.substring(_f, _t); _x = _x.split(_d).join("&lt;PackageExportFrame&gt;1"); if (ActionVersion == 2) { _f = _x.indexOf("&lt;PackagePaths&gt;"); _t = _x.indexOf("&lt;/PackagePaths&gt;"); } else { _f = _x.indexOf("&lt;AS3PackagePaths&gt;"); _t = _x.indexOf("&lt;/AS3PackagePaths&gt;"); } _d = _x.substring(_f, _t); var cpt = "./"; if (file_n.indexOf("/") &gt; -1){ cpt = ""; var t4 = file_n.split("/"); t4.length--; var i = t4.length; while (i--){ cpt += "../"; } } switch(ActionVersion){ case 2: _x = _x.split(_d).join("&lt;PackagePaths&gt;" + cpt + "classes"); break; case 3: _x = _x.split(_d).join("&lt;AS3PackagePaths&gt;" + cpt + "classes"); } function writeAllDOM(xstrg,pt){ FLfile.write(pt, xstrg); fl.getDocumentDOM().importPublishProfile(pt); fl.saveDocument(fl.getDocumentDOM(), cpt); fl.getDocumentDOM().publish(); } FLfile.remove(fPath); } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload