bgw
bgw

Reputation: 2046

Advice for a new JavaScript developer moving from Flash / ActionScript 3?

I have been moving over to JavaScript (esp. canvas) from Flash / Flex / ActionScript 3 (JavaScript is a more open platform), and I was wondering if anyone has any advice on differences between the two platforms, important things to note, pitfalls, optimizations, etc.

Upvotes: 1

Views: 650

Answers (2)

TheHippo
TheHippo

Reputation: 63139

First advice: Turn arround! ;-)
If you can't then I would tell you the following:

  • On the AVM2 everything is consistent in behaviour and how things were displayed. JavaScript is exactly the different. You can find parts of you code that work different in every browser. So you really need to test on different browsers.
  • Start learning JavaScript, NOT any framework (most people on Stackoverflow would suggest jQuery). Later if you are familiar with most of the pure JavaScript stuff you could chose a framework of you choice.

Upvotes: 3

Jarrett Widman
Jarrett Widman

Reputation: 6429

Canvas in particular does not work as consistently between browsers as Flash, which is almost completely consistent when its available. If you don't already, you will want to get used to testing things in multiple browsers.

Upvotes: 1

Related Questions