SEPY 1.5.1

Due to various changes in latest version of SEPY, there was a major subversion change from 1.0.x to 1.5.x
Those are:

  • New left Panel rendering. The multline notebook has been replaced by a vertial custom notebook
  • Regular Expression Kit. Panel which allows you to test match/search regular expressions and create the ActionScript 3.0 code for using them.
  • Enhancement of the TODO Panel.
    Now you can define, using this panel, different words you want to be marked both in the right border panel and listed in the todo panel itself.
  • Import Classes panel. Search/Select which class to import in your document and manage a list of favourites classes.
  • Speed up improvement in the code autocompletion
  • Added “Match multiline mode” in Find&Replace in files

P.S. Installer is available for both Win32 and OSX (compiled on 10.4).…id=114139&release_id=373747

Draggable Controller

After reading all the comments added on the Drag n’ Drop Tree component made some time ago I spent some time to make a small component which is capable to manage drag and drop between almost all the Macromedia builtins component (such as List, DrataGrid, Tree…).
It requires Flash 8 to work because I’m using BitmapData for clone the dragged item (wow, this is incredible easy to do now 🙂 )
You can see a demo here: DraggableController.html
This is the code used in the .fla, in order to manage the component events:

Setting up the list of relationship between components
dc.AddReference(this._datagrid_1, this._list_1)
dc.AddReference(this._datagrid_1, this._datagrid_2)
dc.AddReference(this._datagrid_1, this._tree_1)
dc.AddReference(this._datagrid_1, this._datagrid_1)
dc.AddReference(this._list_1, this._list_2)
dc.AddReference(this._list_1, this._text_ctrl_1)
dc.AddReference(this._text_ctrl_2, this._list_2)
dc.AddReference(this._tree_1, this._list_2)
dc.AddReference(this._tree_1, this._text_ctrl_2)
dc.AddReference(this._tree_1, this._text_area_1)
dc.AddReference(this._list_2, this._text_area_1)
/** drag complete listener **/
dc.addEventListener("drag_complete", this)
- target_component = drop destination component
- source_component = drag n' drop source component
- source_item      = item dragged
- source_index     = selectedIndex of the source component
- target_item      = drop destination item inside target_component
- target_index     = drop destination index
IMPORTANT: once received evt you must Veto() or Skip() the evt itself.
evt.Skip() will simply remove the dragging movieclip
evt.Veto() will move back the dragging item to its source
function drag_complete(evt:Object):Void{
if(evt.target_component == _list_1){
} else if(evt.target_component == _datagrid_2 or evt.target_component == _datagrid_1){
evt.target_component.addItemAt(evt.target_index, evt.source_item)
evt.target_component.selectRow(evt.target_index, false, false)
} else if(evt.target_component == _tree_1){
var node:XMLNode = new XMLNode(1, "node")
node.attributes.label = evt.source_item.title +  "(Cloned)" = evt.source_item
} else if(evt.target_component == _text_ctrl_1){
evt.target_component.text = evt.source_item.label
} else if(evt.target_component == _list_2 && evt.source_component == _tree_1){
evt.source_component.dataProvider = evt.source_component.getDataProvider()
evt.target_component.addItemAt(evt.target_index, evt.source_item.attributes.label)
} else if(evt.target_component == _text_area_1 && evt.source_component == _list_2){
evt.target_component.text = evt.source_item.label
} else if(evt.target_component == _text_area_1 && evt.source_component == _tree_1){
evt.source_component.dataProvider = evt.source_component.getDataProvider()
evt.target_component.text = evt.source_item
} else {

The .zip with all the file is available here, if anyone want to test and improve it.

Drag and Drop manager for ui components
Title: DraggableController (0 click)
Caption: Drag and Drop manager for ui components
Size: 438 KB

Flash Media Server 2 Available

Macromedia has released Flash Media Server 2.
Also in this version there’s a free developer edition available: this will make happy a lot of users that was afraid because the old news about FMS 2 wasn’t speaking about a free edition 🙂
You can read the Press release, watch the product page or read the the comments of Stefan Richter.

Which documentator for AS2?

I was searching for a valid AS documentation tool…
I have tested the AS2Doc trial but it doesn’t parse correctly my classes.
Also ZenDoc seems to be a valid alternative, also because it’s written in PHP, but it skip all the uncommented methods 🙁
NaturalDocs probably is the best choice, for me, but it doesn’t support standard javadoc comments
Acid gives me python errors while parsing the packages and the python code is quite unreadable.
BLDoc is really promising, but it’s still in beta
Probably the best program I found is as2api, which creates a standard javadoc html output. The only thing is that it doesn’t seem to have an option to allow documentation for private methods
Did you have experience with some of these tools, or someone else I didn’t tested?
Which one do you currently use?


mtascGUI Reading today the MTASC mailing list I’ve read that a new Windows GUI for MTASC has been just release.
Quoting the author words: “after setting all the options (e.g. all mtasc paramters) you can switch to a small window, called ‘launch bar’, that will always stay on top of other applications, so that compiling with mtasc is only one click away, no matter where you are in your editor. This launch bar also lets you choose in which FlashPlayer version you would like to open your swf-file (options are 6, 7 and 8, provided that you install the standalone players that come with the flash ide’s)…”
What is MTASC?
MTASC is the first ActionScript 2 Open Source free compiler