perez
perez

Reputation: 145

Is actionscript a client-side or server-side language?

Someone just told me that Actionscript is a client-side language. I'm not sure how this is true if we save the .as files on the server? I also heard several times before people referring to it as a server-side language. Which is true (if you can, please clarify with a reference). Thanks.

Upvotes: 1

Views: 2867

Answers (5)

RJ Owen
RJ Owen

Reputation: 615

While most action script is client side, as Joel noted there are server side implementations. Additionally, Adobe demoed an implementation that runs actionscript on both sides without forcing the developer to discriminate at Adobe MAX 2008. You can watch that video here, or read a synopsis of it here.

Upvotes: 0

Joel Hooks
Joel Hooks

Reputation: 6565

There are many systems that run server-side AS. FMS, SmartFoxServer...

Upvotes: 0

danii
danii

Reputation: 5693

Please read:

Client-Side (wikipedia)

Server-Side (wikipedia)

Executable files are ALWAYS stored in the server. What matters is where they will be run.

In your case, please note that .as files are not executable, they will be compiled into a .swf flash movie which will be run by the flash player inside the client's browser.

Upvotes: 7

AnthonyWJones
AnthonyWJones

Reputation: 189457

Its a client-side language. Even if the files are saved as discrete items in the web site they aren't executed on the server, they are downloaded and executed on the client.

Upvotes: 1

Mark Dickinson
Mark Dickinson

Reputation: 6633

It runs on the client, that's why it is client side code.

Upvotes: 2

Related Questions