Actually, the company that I work for is doing a complex embedded
application that uses Flash as the UI presentation. Our driver application
is written in C++. So yes, it is possible to use AS for a complex
application. It does have it's idiosyncrasies, but what programming language
doesn't.
I personally would recommend using AS 2 vs. AS1. It has more of the features
that you mentioned below. It is based on the ECMA-262 standard, same as
Javascript. AS uses a class definition to define classes and has a keyword
extends that defines inheritance. You can inherit from AS built in objects,
Movieclip, Color, etc, or you can inherit from your own custom classes. One
thing to note, AS does not directly support multiple inheritance, but, since
AS is a prototype based language you can simulate multiple inheritance by
manipulating the prototype.
A couple of other things, it does support an Interface, type checking,
casting, polymorphism, no operator overriding, unfortunately, and
public/private members. The worst thing about AS is that you can cheat and
get around many of the features, so you need to be careful about how you
program things.
As for your last question regarding managing AS as the project gets bigger
and more complex, I don't know. I'll tell you in 8 months. :)
woody
[quoted text, click to view] "verni0" <verni0@yahoo.com> wrote in message
news:c060uu$qna$1@forums.macromedia.com...
> Hi
>
> I'm an experienced programmmer in C++ and Java but I'm a beginner in
> ActionScript
> I'm wondering about the posibilities of AscionScript as an Object
Oriented (I
> guess) programming language
> I don't expect it to have Interface, (Multiple) Inheritance, Abstract
Classes
> or Virtual Functions, but what about the rest, Type Checking/Casting,
> Polimorfysm, Function Overide or Public/Private Members
> What is the feeling of doing a complex object oriented application in
> ActionScript comparring to C++ or Java, is it bareable? Can you manage
> ActionScript as the application grows bigger? I'm interested, as you see
in
> some inside feelings about complex application programming in ActionScript
>
> Thanks in advance
> Rare
>