Questions tagged [actionscript]

ActionScript is a scripting language used to create Rich Internet Applications (RIA), mobiles applications, web applications, etc. It is the main language for Flash and Flex.

ActionScript is an object-oriented programming language originally developed by Macromedia (now dissolved into Adobe Systems). Its latest version is ActionScript 3.

It is used to create web applications (including RIAs), desktop applications and mobile applications. The web target is served using the Adobe Flash Player runtime, while the desktop and mobile targets are served using the Adobe AIR (previously Adobe Integrated Runtime).

Popular IDEs are Adobe Animate (rebranded from Adobe Flash), Adobe Flash Builder, FlashDevelop, IntelliJ and others.

Some of the popular compilers are Adobe Animate, Apache Flex, Haxe, OpenFL and others.

Adobe Scout and FlashFirebug can be used to debug the Adobe AIR and the Adobe Flash Player runtimes.

9141 questions
8
votes
5 answers

My computer got stupid. 0 + 20 = 19.921875!!! Help me!

You know it's bugger-all when your computer can't get a sum right! I have not the slightest idea why this is happening: _root.attachMovie("clippy","aClip",_root.getNextHighestDepth()); trace("alpha 1 = "+aClip._alpha); aClip._alpha =…
navand
  • 1,379
  • 1
  • 16
  • 20
8
votes
5 answers

Interview Questions for ActionScript 3 / Flex Programmer

What could be good question to decide if candidate has strong or atleast fair knowledge working with Flex and ActionScript.
DexTer
  • 2,043
  • 1
  • 22
  • 45
8
votes
3 answers

Finding Actionscript within an FLA file

I am dealing with a Flash file which has been created by a third party. It has a lot of folders and files in the library and I can't seem to find any ActionScript anywhere. Is there a simple way of finding the location of ActionScript when the…
theorise
  • 7,245
  • 14
  • 46
  • 65
8
votes
6 answers

Javascript to flash communication

I am trying to call a Actionscript function from javascript but I am having problems in Internet Explorer. I am using Swiff.remote in mootools 1.2.1 to call the actionscript function ie: Swiff.remote(playSwf.toElement(), 'sendResult', result, plays,…
Mark
8
votes
4 answers

Can somebody explain in a few sentences how these technologies relate: Flex, Flash, Air, ActionScript, SWF, FLV

I've read about each of these but I still don't understand how they all inter-operate, which are competing technologies, or even really what each of them is distinctly. Flash, Air, Flex... Are these all "containers"/JVM-like runtime environments, in…
SimpaCar
  • 81
  • 2
8
votes
4 answers

Flash designer/coder collaboration best practices

I've done several flash projects working as the ActionScripter with a designer doing all the pretty things and animation. When starting out I found quite a lot of information about ActionScript coding and flash design. Most of the information…
russtbarnacle
  • 915
  • 1
  • 10
  • 14
8
votes
7 answers

extract sound from a fla

There is an .fla file that has a sound wave in it's library. However I do not have this sound wave saved on my computer so I can not edit or open this sound in another application. I was wanting to know if its possible to extract this *.wav file…
numerical25
  • 10,524
  • 36
  • 130
  • 209
8
votes
4 answers

what is dispatchEvent in Flash AS3?

Hi all i want to know what is dispatchEvent in AS3. I didn't get any idea while Googling it. :( So please help me Edit 1: public static const SET_VOLUME:String = "setVolume"; private function onclick(evt:MouseEvent):void { …
coderex
  • 27,225
  • 45
  • 116
  • 170
8
votes
4 answers

If ActionScript is based on ECMAScript, why does it have classes and looks almost the same as Java?

In this article, it says that ActionScript 3.0 conforms to ECMA 4th edition. But instead of looking like JavaScript and having no class or extend, ActionScript 3.0 code looks like Java and have the class statement and even have extend?
Jeremy L
  • 3,770
  • 6
  • 41
  • 62
8
votes
3 answers

Streaming a dynamic zip from Amazon S3

I am looking for a way to dynamically stream download a zip of files from Amazon S3. The application is hosted on EC2 and the files are stored on S3. Need to give users the ability to select from a group of files which will then get bundled up and…
Gordon Isnor
  • 2,065
  • 1
  • 19
  • 32
8
votes
2 answers

how do i add project references to swcs in FlashDevelop

I am trying to add a project reference or swc to papervision in FlashDevelop but intellisense isn't picking it up. I've done it before but i forgot how. Thanks.
8
votes
3 answers

Replacing character at a particular index with a string in Javascript , Jquery

Is it possible to replace the a character at a particular position with a string Let us say there is say a string : "I am a man" I want to replace character at 7 with the string "wom" (regardless of what the original character was). The final…
Bobby Francis Joseph
  • 606
  • 2
  • 14
  • 34
7
votes
3 answers

Grab a ProgressEvent from a POST upload in as3

Is there any way to track the status of a posted upload in AS3? There is a ProgressEvent, but it gives data back about the response, not the actual POST upload. I'm posting binary data for an image, so it's usually in the 50-100kb range. The image…
Brent
  • 23,354
  • 10
  • 44
  • 49
7
votes
1 answer

Using . or [ ] to access Object properties - what's the difference?

What is the difference between the code (i) and (ii) written below ? (i) var obj:Object = new Object(); obj.attribute = value ; (ii) var obj:Object = new Object(); obj["key"] = value; Are there any run-time implications if I write this : var…
AllTooSir
  • 48,828
  • 16
  • 130
  • 164
7
votes
5 answers

Flash - Managing a large project

We are prototyping using Autodesk Scaleform and building our game UI using Flash. We will need to be able to run a large project with a team of 3-4 artists and 10+ programmers. We use Perforce source control system for storage of all code and…