Questions tagged [actionscript-3]

ActionScript 3 (AS3) is the open source object oriented programming (OOP) language of the Adobe Flash and AIR Platforms. AS3 is widely used for RIAs, mobile apps, and desktop applications. (ActionScript 3 is a dialect of ECMAScript.)

ActionScript 3 (AS3), developed by Adobe, is an open source, object-oriented programming (OOP) language. It is a dialect of ECMAScript.

AS3 can be used to create web programs deployed using Flash Player, applications for iOS, Android, Blackberry (PlayBook OS and BlackBerry 10), and desktop using Adobe AIR, as well as TV applications using Adobe AIR for TV.

ActionScript is an object-oriented language originally developed by Macromedia Inc. (now owned by Adobe Systems). It is a dialect of ECMAScript (meaning it is a superset of the syntax and semantics of the language more widely known as JavaScript), and is used primarily for the development of websites and software targeting the Adobe Flash Player platform, used on Web pages in the form of embedded SWF files. The language itself is open-source in that its specification is offered free of charge and both an open source compiler (as part of Apache Flex) and open source virtual machine (Mozilla Tamarin) are available.

References:

Books:

Useful Links:

41246 questions
4
votes
2 answers

How can I show an confirmation message in Actionscript 3?

How can I show an confirmation message in Actionscript 3 ? I use Adobe Flex 3 and as3 for Air application
Waseem
  • 11,741
  • 15
  • 41
  • 45
4
votes
2 answers

AS3 | 1120: Access of undefined property stage

My goal is to create rectangle as MovieClip with stage size, but Flash gives me this error: 1120: Access of undefined property stage. (on line 6,7,14) My code: package { import flash.display.MovieClip; public class main { var…
user3628191
  • 43
  • 1
  • 3
4
votes
1 answer

Why do AGAL shaders need to be compiled just-in-time?

Flash Player 11 introduced the AGAL unified shader assembly language, which is able to compile into OpenGL GLSL shaders and DirectX HLSL shaders transparently to the Flash developer. Pretty much every program that uses AGAL is packaged with the…
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
4
votes
3 answers

Strange error with AIR AS3 Projector

I'm using FlashDevelop, attempting to put together an AIR AS3 Projector project. Basically I'm just creating a new project, with no code. When I hit F5 a cmd window pops up, and says, Starting AIR Debug Launcher... invalid application descriptor:…
TomJeffries
  • 558
  • 1
  • 8
  • 25
4
votes
3 answers

How can I get a datagrid to behave like the ctrl key is active?

I want my data grid to behave by default as if the user is holding the control key down. So when an item is clicked, then another item they are both part of the selection, clicking them again removes them from the selection. I already have…
invertedSpear
  • 10,864
  • 5
  • 39
  • 77
4
votes
1 answer

How can I detect system Chinese, Korean, and English fonts without embedding one for each? (AIR mobile on Android and IOS)

My learning app requires displaying Korean, English and Chinese. One solution I have is to embed a Korean/English font and a Chinese font. Then put together a string with different TextFormats. The thing is, I'm positive that IOS and Android devices…
Keith
  • 4,144
  • 7
  • 25
  • 43
4
votes
2 answers

Flash Builder embedding files into app like flash IDE?

I'll try to make this simple : If I create an AIR app from the Flash IDE, I can choose to embed folder in my package. Then I can load the files using 'app:/'+filename. Everything is ok. I have to move to Flash Builder because I can't test workers in…
Eric
  • 9,870
  • 14
  • 66
  • 102
4
votes
1 answer

No looping of generated audio stored in ByteArray and loaded into Sound object?

EDIT 2: This problem still exists, but seems to be a bug. Adobe Sound class does not send the Sound.length value after loading a ByteArray. Here is the bug report I filed (please vote for…
iND
  • 2,663
  • 1
  • 16
  • 36
4
votes
1 answer

How do I embed static text in actionscript 3?

I want to embed static text, basically for a help file. Something like const help:String = "This is a help line."; except for it would get it from a file? const help:String = //retrieve text from a static file
Timmy
  • 12,468
  • 20
  • 77
  • 107
4
votes
4 answers

Actionscript 3 - Reference vs. Value

I thought I had references in AS3 figured out, but the following behavior puzzles me: // declarations for named individual reference later on var myAmbientSound:Sound; var myAmbientSoundLocation:String = "http://ambient_sound_location"; var…
justinbach
  • 1,945
  • 26
  • 44
4
votes
2 answers

Render each frame as a single image

Just curious, can flash take each frame and export it out as a image ? In my case, I want to create sprite images for a flashdevelop project using blitting. Of course I know there is a solution for this. like copy and paste each shape into a image…
numerical25
  • 10,524
  • 36
  • 130
  • 209
4
votes
4 answers

Is there a way to listen for changes in a flash.display.DisplayObject visibility in a loaded SWF?

I'm loading an external SWF (pre-made by an other department of the company I work for) using flash.display.Loader. I then traverse the display list, register all objects and listen for added/removed events to handle future changes to the list. var…
Leeron
  • 147
  • 1
  • 2
  • 11
4
votes
1 answer

How to embed a font in as3 using FlashDevelop?

How can you embed a font in as3 using FlashDevelop? I have read a lot of posts regarding this issue but none of them helped me solving it. When I use the following code, nothing is displayed (this is all the code) : package { import…
user3240131
  • 187
  • 1
  • 2
  • 11
4
votes
3 answers

AS3 transparent png collision detection against a sprite

I am here, because I'm currently struggling with collision detection for my AS3 application. I am loading a bitmap, that represents a room - it has boundaries (walls) and the rest of it is transparent (the floor). I then create a sprite with a…
pzaj
  • 1,062
  • 1
  • 17
  • 37
4
votes
2 answers

Custom headers possible with URLRequest/URLStream using method GET?

Quite simple really: var req:URLRequest=new URLRequest(); req.url="http://somesite.com"; var header:URLRequestHeader=new…
spender
  • 117,338
  • 33
  • 229
  • 351
1 2 3
99
100