Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: rathomas@provismed on September 13, 2004, 12:38:17 pm

Title: Request: Actionscript Support
Post by: rathomas@provismed on September 13, 2004, 12:38:17 pm
Enterprise Architect Developers,

Will you please consider adding the templates for actionscript 1.0, 2.0.  

Both these languages, although especially AS 2.0, support OOP functionality.

There is quite a large, and rapidly growing,  development community for the macromedia languages, which would broaden your potential customer base!  Please see the following link, a survey "Flash Player Version Penetration".
http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html  .  Those are some astonishing figures.

Just as a sample.. here is the code needed for a ParentTempClass and TempClass
////////////////////////////////////////////////////////////////////////////
//-- ParentTempClass Class  ----------------------------------------------------------

function ParentTempClass(){
     this.init();

}

ParentTempClass.prototype.init = function(){
     
}

////////////////////////////////////////////////////////////////////////////
//-- TempClass Class Extends ParentTempClass ----------------------------------------

function TempClass(){
     this.init();
}

TempClass.prototype = new ParentTempClass();

TempClass.prototype.init = function(){
     super.init();
     
}

__________________
Ryan Thomas
Provis Media Group, LLC
888.880.6682
910.401.1300 fax
www.provismedia.com  
Title: Re: Request: Actionscript Support
Post by: Eve on September 13, 2004, 04:33:16 pm
Hello Ryan,

Thank you for your suggestion.  We may at some point in the future, in the mean time you can write your own templates for Actionscript.

Those statistics are interesting, but not really relevant.

The survey was looking at what percentage of browsers had support for Flash.  That isn't an indication of what is relevant to our customer base.  That would be, how many programmers are there using these technologies.

The reason that we have the functionality for users to create templates for new languages is because we can't possibly hope to support every object oriented language out there, but we still want to offer the possibility.

Simon
Title: Re: Request: Actionscript Support
Post by: rathomas@provismed on September 16, 2004, 03:49:40 pm
Simon,

Thanks for your reply.  I do not understand why you are saying the information that I provided is "not really relevant".   The data in the above link is a study that was conducted on the “penetration of various online media types among a representative Internet population”.  Keep in mind that those ubiquity percentages are for browsers running virtually all OS's (win, unix, mac, etc.) and many different types PDAs as well.  In fact, the number of eligible end users for flash applications has far exceeded the user base of the windows operating system.  Are you trying to say this number is not really relevant to the numbers of potential developers that could potentially buy your software?  
Title: Re: Request: Actionscript Support
Post by: Eve on September 16, 2004, 04:42:36 pm
Exactly, the number of potential end users is not a good measure of how many people are developing for that platform.  It may be some idication, but it's not really a good guide.

A question for you.

Do you care about this functionality enough to write the templates yourself?
Title: Re: Request: Actionscript Support
Post by: rathomas@provismed on September 17, 2004, 09:20:44 am
Simon,

Absolutely!  I will give a try..  One question though, are the template used for both code generation and reverse engineering?  

Thanks,

Ryan Thomas
Title: Re: Request: Actionscript Support
Post by: Eve on September 19, 2004, 04:47:09 pm
No, unfortunately the templates aren't also used for reverse engineering.

However, we are currently working on a system where users can write grammars that will mean they can import non supported languages into EA.  In many ways we aren't far away from that, but it's not ready for release yet.

Simon
Title: Re: Request: Actionscript Support
Post by: rathomas@provismed on September 24, 2004, 09:10:51 am
Thanks Simon,

We are looking forward to that added functionality!

Title: Re: Request: Actionscript Support
Post by: yehia.shouman on September 30, 2005, 11:14:27 am
Dear All,

I made a tool that would convert your Enterprise Architect generated XMI files to actionscript files (classes generating the namespace structure folders as well).

This will convert your UML to actionscript 2.0 classes.

find its features below  

http://osflash.org/doku.php?id=xmi2actionscript