Forum Topic: Javascript or AS

(512 views • 28 replies)

This topic is 1 page long.

<< < > >>
Questioning

JOHNNY29

Reply To Post Reply & Quote

Posted at: 10/14/09 07:29 PM

JOHNNY29 DARK LEVEL 26

Sign-Up: 09/01/07

Posts: 399

I was wondering what kind of script is easier and better for a beginner?

Java Script or Action Script (2)

So what's better to start with?


None

Jessii

Reply To Post Reply & Quote

Posted at: 10/14/09 07:37 PM

Jessii DARK LEVEL 36

Sign-Up: 02/10/05

Posts: 9,146

Javascript is enhancements for webpages (that can be disabled by the viewer) and actionscript is for flash applications so it depends on what you're in to.


None

henke37

Reply To Post Reply & Quote

Posted at: 10/15/09 01:24 AM

henke37 NEUTRAL LEVEL 23

Sign-Up: 09/10/04

Posts: 3,576

Noone should ever begin with actionscript 2 ever again, just save it for history class and use actionscript 3.0 instead.

Each time someone abuses hittest, God kills a kitten. Please, learn real collision testing.


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 10/15/09 03:44 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,376

AS and JS are very much identical as languages. They're just used in different places.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 10/15/09 10:18 AM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,172

Well if you learned Javascript you would very likely have to learn HTML too, because all Javascript does it make HTML web pages dynamic.

Action Script is just action script, there's not another language you have to learn to be really good at it.

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


None

Deadclever23

Reply To Post Reply & Quote

Posted at: 10/15/09 05:01 PM

Deadclever23 FAB LEVEL 12

Sign-Up: 11/27/06

Posts: 1,030

At 10/15/09 10:18 AM, Super-Yombario wrote: Well if you learned Javascript you would very likely have to learn HTML too, because all Javascript does it make HTML web pages dynamic.

Action Script is just action script, there's not another language you have to learn to be really good at it.

You can learn HTML in a day.

IndyDev - Reviews, News and Tutorials. the hottest new Indy blog of it's kind. (Shameless self promotion).

BBS Signature

Elated

jake-thesnake

Reply To Post Reply & Quote

Posted at: 10/17/09 12:20 AM

jake-thesnake EVIL LEVEL 10

Sign-Up: 12/21/08

Posts: 533

At 10/15/09 05:01 PM, Deadclever23 wrote: You can learn HTML in a day.

You are correct sir! I took an online course and now consider myself an amateur. I would learb Javascript seeing as it can be applied throughout your life rather than AS which is used solely in Flash.

DON'T ask if Im Liquid or Solid! My Art Thread The best thread ever! PM me for Sigs!

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 10/17/09 12:22 AM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,301

At 10/15/09 05:01 PM, Deadclever23 wrote: You can learn HTML in a day.

And I bet if you do, you will have awful practices that do not standardise to anything, ever.

BBS Signature

None

Afro-Ninja

Reply To Post Reply & Quote

Posted at: 10/17/09 12:35 AM

Afro-Ninja EVIL LEVEL 37

Sign-Up: 03/02/02

Posts: 13,464

At 10/15/09 05:01 PM, Deadclever23 wrote: You can learn HTML in a day.

you can learn the basics of just about anything in a day

BBS Signature

Happy

hdxmike

Reply To Post Reply & Quote

Posted at: 10/18/09 09:12 AM

hdxmike LIGHT LEVEL 08

Sign-Up: 09/11/09

Posts: 1,738

At 10/15/09 01:24 AM henke37 wrote:
:Noone should ever begin with actionscript 2 ever again, just save it for history class and use actionscript 3.0 instead.

At 10/15/09 03:44 AM, GustTheASGuy wrote: AS and JS are very much identical as languages. They're just used in different places.

These two pretty much sum it up

JS is a HTML/ AS hybrid . It needs HTML to do anything but the syntax and structure is almost identical to AS

I prefer to make websites in Flash because its easier to develop stuff in flash and get superior effects

But JS is more flexible when it comes to serious web development

OOP AS3 || Flash 8,CS3,CS4 || PC or MAC ? || one month of sarcasm !

BBS Signature

None

littleMonsterGames

Reply To Post Reply & Quote

Posted at: 10/18/09 10:38 AM

littleMonsterGames DARK LEVEL 05

Sign-Up: 12/24/08

Posts: 340

Concerning how they're written they are pretty similar.

Just decide what you want to do: Make games and/or flash web apps? --> learn AS. Make websites, web apps, etc.? --> Learn Javascript.

Or you could learn Javascript, and Actionscript 3, which would be the optimal situation.

The LittleMonsterGames website: http://www.littlemonstergames.com - super fun, I promise :)

BBS Signature

None

UnknownFear

Reply To Post Reply & Quote

Posted at: 10/19/09 05:33 PM

UnknownFear FAB LEVEL 34

Sign-Up: 02/27/04

Posts: 6,912

Not sure what the best language to learn would be for beginners. If you want to use Flash to make / code webpages, than go with AS. As for JavaScript, I've never done anything with it let alone know what it is. I do, however, code Java at school.

Blog
[ T | F | G/MSN ]
--Ubuntu 9.10 "Karmic Koala" User--


Sleeping

shinkaizen

Reply To Post Reply & Quote

Posted at: 10/23/09 05:58 AM

shinkaizen NEUTRAL LEVEL 02

Sign-Up: 10/23/09

Posts: 1

At 10/15/09 01:24 AM, henke37 wrote: Noone should ever begin with actionscript 2 ever again, just save it for history class and use actionscript 3.0 instead.

Agreed. actionscript 3.0 can do much better functions than 2. But the thing is, AS3 is too long! For instance:
AS2 - on (release){gotoAndStop("frame1");}
AS3 - button_mc.addEventListener(MouseEvent.CL ICK, showpic1); function showpic1 (event:MouseEvent): void {gotoAndStop("label1");}

You see the diference? It's kinda crazy and this demotivates me from learning AS3 but when I heard Flash CS5 can produce iPhone games ONLY from AS3, got no choice but to learn... :S


None

littleMonsterGames

Reply To Post Reply & Quote

Posted at: 10/23/09 10:42 AM

littleMonsterGames DARK LEVEL 05

Sign-Up: 12/24/08

Posts: 340

Coding buttons can be a bit more annoying in as3 for sure, which is why i made a 'button' class so my code stays clean.

You'll find yourself adopting good practices like that when you start coding in as3.

The LittleMonsterGames website: http://www.littlemonstergames.com - super fun, I promise :)

BBS Signature

None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 10/23/09 02:28 PM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,172

At 10/19/09 05:33 PM, UnknownFear wrote: Not sure what the best language to learn would be for beginners. If you want to use Flash to make / code webpages, than go with AS. As for JavaScript, I've never done anything with it let alone know what it is. I do, however, code Java at school.

Least useful reply.

Javascript is FAR more widely used for Web Design than Flash being as it's free and that's 99.9% what it's used/made for.

Of the 3 or 4 sites I've coded, one of them used Flash, and that was only a fancy file viewer.

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


Resigned

UnknownFear

Reply To Post Reply & Quote

Posted at: 10/23/09 04:45 PM

UnknownFear FAB LEVEL 34

Sign-Up: 02/27/04

Posts: 6,912

At 10/23/09 02:28 PM, Super-Yombario wrote: Least useful reply.

Well sorry for trying to contribute.

Blog
[ T | F | G/MSN ]
--Ubuntu 9.10 "Karmic Koala" User--


None

CaptinChu

Reply To Post Reply & Quote

Posted at: 10/23/09 06:18 PM

CaptinChu DARK LEVEL 15

Sign-Up: 09/11/05

Posts: 3,219

Learn Ruby. It's easy and you could end up getting some super serious server-side skill sets seeing some sample c-c-c-code.

All programming problems can be solved with Arrays!

BBS Signature

None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 10/24/09 05:20 PM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,172

At 10/23/09 06:18 PM, CaptinChu wrote: Learn Ruby. It's easy and you could end up getting some super serious server-side skill sets seeing some sample c-c-c-code.

hidden meme is hidden

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


None

SASeelkadoom

Reply To Post Reply & Quote

Posted at: 10/24/09 08:34 PM

SASeelkadoom DARK LEVEL 06

Sign-Up: 03/22/09

Posts: 5

What you think what is the program more good to use the ActionScript if you are new on making Flash Games?And where can download the AS?

The darkness Hedgehog in S.uperA.dvanced mode.I´m a hidden user.
I only post in nicely games.My Reviews number : 11(no resps).


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 10/26/09 11:18 AM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,172

At 10/24/09 08:34 PM, SASeelkadoom wrote: What you think what is the program more good to use the ActionScript if you are new on making Flash Games?

Gee, I don't know, maybe the only program in existence that makes Flash games? FLASH.

And where can download the AS?

I assume you mean code that you use. You can find tutorials anywhere, even on Newgrounds. I suggest googling.

Plus use spaces after punctuation.

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


None

hdxmike

Reply To Post Reply & Quote

Posted at: 10/26/09 02:59 PM

hdxmike LIGHT LEVEL 08

Sign-Up: 09/11/09

Posts: 1,738

At 10/23/09 02:28 PM, Super-Yombario wrote: Javascript is FAR more widely used for Web Design than Flash as it's free

It would seem that you are implying that AS costs money , have you ever heard of Flex by any chance ?

In fact there is a nifty program called notepad++ that lets you write in virtually any language including AS

Also you dont do very much designing with JS as you do enhancing what is already there

OOP AS3 || Flash 8,CS3,CS4 || PC or MAC ? || one month of sarcasm !

BBS Signature

None

urbn

Reply To Post Reply & Quote

Posted at: 10/26/09 05:18 PM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,301

At 10/26/09 02:59 PM, hdxmike wrote: Also you dont do very much designing with JS as you do enhancing what is already there

Regardless, HTML + CSS + Javascript is still much better than flash, if only for the accessibility features available out of the box.

BBS Signature

None

robin1232

Reply To Post Reply & Quote

Posted at: 10/27/09 04:28 AM

robin1232 DARK LEVEL 15

Sign-Up: 01/19/08

Posts: 2,478

At 10/15/09 03:44 AM, GustTheASGuy wrote: AS and JS are very much identical as languages. They're just used in different places.

hell no they're not, maybe the grammar, but nearly all functions are different


None

Palias

Reply To Post Reply & Quote

Posted at: 10/30/09 10:07 AM

Palias NEUTRAL LEVEL 02

Sign-Up: 10/27/09

Posts: 4

Actionscript uses a more normal method of implementing Object Orientation, using classes and inheritence. In javascript you use prototype functions to essentially achieve the same effect as classes - which is alright I guess...

Go with actionscript for your fist language since it has more in common with well used languages such as Java and Cpp.


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 11/1/09 01:38 AM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,172

At 10/26/09 02:59 PM, hdxmike wrote:
In fact there is a nifty program called notepad++ that lets you write in virtually any language including AS

You can write AS with Word, Wordpad, Notepad, you can write AS in this very textbox. Just because Notepad++ provides syntax highlighting doesn't mean a thing.

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


None

kiwi-kiwi

Reply To Post Reply & Quote

Posted at: 11/1/09 02:05 AM

kiwi-kiwi LIGHT LEVEL 08

Sign-Up: 03/06/09

Posts: 643

At 11/1/09 01:38 AM, Super-Yombario wrote:
At 10/26/09 02:59 PM, hdxmike wrote:
In fact there is a nifty program called notepad++ that lets you write in virtually any language including AS
You can write AS with Word, Wordpad, Notepad, you can write AS in this very textbox. Just because Notepad++ provides syntax highlighting doesn't mean a thing.

Yes,but word,worpad,notepad and this very textbox don't give you the option of setting up a compiler to run your program, nor do they offer auto-completion for the programming language you are currently using.


None

GustTheASGuy

Reply To Post Reply & Quote

Posted at: 11/1/09 05:29 AM

GustTheASGuy LIGHT LEVEL 08

Sign-Up: 11/02/05

Posts: 11,376

At 10/30/09 10:07 AM, Palias wrote: Actionscript uses a more normal method of implementing Object Orientation, using classes and inheritence. In javascript you use prototype functions to essentially achieve the same effect as classes - which is alright I guess...

Actionscript also uses prototypes.

#ngprogramming at irc.freenode.net
haXe | Keel imperative | Spyro! | Thru you


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 11/1/09 11:30 AM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,172

At 11/1/09 02:05 AM, kiwi-kiwi wrote:
Yes,but word,worpad,notepad and this very textbox don't give you the option of setting up a compiler to run your program, nor do they offer auto-completion for the programming language you are currently using.

Oh, really? You can make and compile a Flash game in a text editor? Would you mind telling me how to do that?

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


None

kiwi-kiwi

Reply To Post Reply & Quote

Posted at: 11/1/09 12:22 PM

kiwi-kiwi LIGHT LEVEL 08

Sign-Up: 03/06/09

Posts: 643

At 11/1/09 11:30 AM, Super-Yombario wrote:
At 11/1/09 02:05 AM, kiwi-kiwi wrote:
Yes,but word,worpad,notepad and this very textbox don't give you the option of setting up a compiler to run your program, nor do they offer auto-completion for the programming language you are currently using.
Oh, really? You can make and compile a Flash game in a text editor? Would you mind telling me how to do that?

link Read skabeles' post. Notepad++ lets you configure commands to run in cmd, command line compiling fun ensues


All times are Eastern Standard Time (GMT -5) | Current Time: 02:02 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!