You are here: Recent News » Projects » ASDT - ActionScript Development Tool

 

ASDT - ActionScript Development Tool

Tags : ,

Summary

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 ASDT Logging.
  • A couple of tutorials tutorial 1 and 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:

<?xml version="1.0" encoding="utf-8"?>
<project name="CorrectLineEndings" default="correctLineEndings">
	
	<!-- Environment variables: -->
	<property environment="env" />
	
	<!-- user modifiable properties -->
	<property name="src" value="c:/path/to/your/project/" />
 
	<!-- TASKS -->
	<target name="correctLineEndings">
		<replace dir="${src}" value="&#0010;" excludes="*.fla,**/*.fla">
		  <replacetoken>&#0013;&#0010;</replacetoken>
		</replace>
		<replace dir="${src}" value="&#0010;" excludes="*.fla,**/*.fla">
		  <replacetoken>&#0013;</replacetoken>
		</replace>
	</target>
</project>

projects/asdt.txt · Last modified: 2007/02/20 07:09 by niko