Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Actionscript 3.0: Scope

Tutorials usually don't deal with scope in Actionscript. Can you point me to some documentation and/or explain what should I know about it. I want to avoid problems arising from certain classes are not visible at certain places.

like image 950
George Avatar asked Apr 14 '09 22:04

George


People also ask

Is ActionScript still being used?

(Deprecated with Animate) ActionScript 1.0 is the simplest form of ActionScript, and is still used by some versions of the Adobe Flash Lite Player.

What is the difference using ActionScript 2.0 and ActionScript 3.0 for controlling video?

The main difference is that you can develop flash applications with a much stronger OOP influence than in AS2. AS3 makes it much easier to utilise third party code such as Greensock's Tweenlite, Papervision 3D and box2d.

What replaced ActionScript?

Java, TypeScript, JavaScript, HTML5, and Python are the most popular alternatives and competitors to ActionScript.

Is ActionScript easy to learn?

ActionScript was the first language I learned and it's a really easy one to learn first. It sounds like you're already learning JavaScript, though, and JavaScript is comparable to ActionScript in many ways.


1 Answers

These should help.

Function scope:

http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_21.html

Packaging and namespace:

http://livedocs.adobe.com/flex/3/html/03_Language_and_Syntax_04.html#119303

like image 163
Bjorn Avatar answered Sep 22 '22 04:09

Bjorn