actionscript or javascript

Started by: sticky505 | Replies: 4 | Views: 400 | Closed

sticky505

Posts: 34
Joined: Sep 2008
Rep: 10

View Profile
Nov 4, 2008 9:13 PM #286815
I have three questions:


    [1]Is actionscript better than javascript?
    [2]What is the diffrence between actionscript and javascript?
    [3]Would javasript work on flash 8 professional?
Mr.Pancake

Posts: 780
Joined: Jul 2008
Rep: 10

View Profile
Nov 4, 2008 9:35 PM #286830
ehm slap me if i'm wrong but, javascript is only used for internet sites etc, and actionscript flash only.
Scorpioxxx
2

Posts: 1,454
Joined: Apr 2006
Rep: 10

View Profile
Nov 4, 2008 9:57 PM #286842
Quote from Mr.Pancake
ehm slap me if i'm wrong but, javascript is only used for internet sites etc, and actionscript flash only.


Yup, you can however send variable to and from javascript using actionscript. Dunno why but you can. Anyway, flash only used actionscript so you're better of just using a text processor like notepad for your javascript, unless you use taco, dreamweaver or something.
Automaton
2

Posts: 4,779
Joined: Nov 2007
Rep: 10

View Profile
Nov 4, 2008 10:57 PM #286878
javascript is a programming language/script used only in websites. There are 3 main programming languages for sites:

html - basic layouts etc
CSS - styling/appearance
javascript - bevaviour

Javascript controls things like scroll menus and popup message boxes etc. Actionscript is a totally different thing.
sticky505

Posts: 34
Joined: Sep 2008
Rep: 10

View Profile
Feb 14, 2009 11:49 PM #357548
ok thank you people for your help