====== ASDT - ActionScript Development Tool ====== {{tag>project asdt}} ===== Summary ===== * **Homepage **: [[http://asdt.org]] * **License **: An ActionScript Editor for Eclipse. Provides code coloring, code completion, outlining etc. ===== Tutorials ===== * A brief guide to getting started with ASDT, mainly focused on the ASDT Logger [[projects:asdt:tutorials:logging]]. * A couple of tutorials [[http://theresidentalien.typepad.com/ginormous/2005/10/eclipse_mtasc_f.html|tutorial 1]] and [[http://theresidentalien.typepad.com/ginormous/2005/10/eclipse_mtasc_f_1.html|Tutorial 2]] on getting ASDT 0.0.8 build 5 running with eclipse, MTASC, flashout and how to use it in conjuction with the flash IDE for the symbols by Grant Davies. ===== Download ===== The Eclipse Update URL is: http://aseclipseplugin.sourceforge.net/updates Here are more detailed instructions from Peter Schreiber, as sent to the OSFlash mailing list: * Remove all old ASDT Versions from plugin-folder (only if you installed an older, plug-in version manually) * Choose "Help" > "Software Update" > "Find and install" from the Eclipse Menu * Select "Search for new features to install" * Choose "New remote site" * Write "ASDT Update" for "Name" and http://aseclipseplugin.sourceforge.net/updates for URL * Press "OK", select the "ASDT Update" site and press "Finish". ===== Templates for Actionscript Development Tool ===== Here are a few templates that could be helpful in your coding as well as in figuring out how to make your own templates. I found these templates helpful in my daily coding and thought that they might also be helpful to you. To use these templates, go to the Templates page in the ASDT preferences screen (Windows > Preferences... > Actionscript 2 > Templates) and select "Import". Find the xml files that you have downloaded here and select "Open". === Templates for dispatchEvent() Calls === These are a couple of templates that were put together because of the repetitive nature of calling dispatchEvent(). When you type "dis" and then hit the Ctrl-Space key combination you will be presented with the choice of three dispatchEvent templates. The "dis" template is a simple dispatchEvent() call that you can begin editing. The "dise" call is a simple event pass-through. The "disp" template is a dispatchEvent() call with one parameter. [[http://osflash.org/downloads/asdt/dispatchEvent_templates.zip]] ==== Solving solitary line ending issues ==== It seems that some versions of ASDT have trouble with line endings and insert solitary Mac line endings on the Windows Platform. The Duplciate line function seems to be the culprit. If you have several files that are afflicated with this issue, the following Ant task will convert all the solitary line endings to Unix format: