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
1 answer

Disable as3 caching

I have an AS3 application running in flash player which aims at refreshing an image stored on a server. On every 1 second, the server replaces the image by a new one. To get the image from server and not from cache, I had to add to use the random…
wangson200
  • 191
  • 2
  • 6
4
votes
3 answers

Flex3 / Air 2: NativeProcess doesn't accepts standard input data (Error #2044 & #3218)

I'm trying to open cmd.exe on a new process and pass some code to programatically eject a device; but when trying to do this all I get is: "Error #2044: Unhandled IOErrorEvent:. text=Error #3218: Error while writing data to…
Edward
  • 89
  • 2
  • 9
4
votes
1 answer

How to connect and send data to Bluetooth form AS3?

I need to connect and send data to Bluetooth from Action Script 3 (AS3) if there is any idea I'll be glad for your help Thanks in advance ,
Moghram
  • 43
  • 1
  • 4
4
votes
2 answers

AS3 microphone recording/saving works, in-flash PCM playback double speed

I have a working mic recording script in AS3 which I have been able to successfully use to save .wav files to a server through AMF. These files playback fine in any audio player with no weird effects. For reference, here is what I am doing to…
Lowgain
  • 3,254
  • 5
  • 27
  • 30
4
votes
5 answers

Can a Flash movie pass mouse events to the containing page?

One of our newer products is a walk-on video system, in which a character appears in an absolutely positioned DIV and gives a little presentation. We're using Flash 9, AS3. Unfortunately, in order to make him appear in front of the website content,…
user34781
  • 41
  • 2
4
votes
1 answer

How to tell when ExternalInterface is available when hiding and showing a swf

I've got a swf with some js callbacks registered using ExternalInterface. I hide and show the swf repeatedly, and I've learned that ExternalInterface is not available when the swf is hidden. I also noticed that the swfs constructor is called every…
Rob Allsopp
  • 3,309
  • 5
  • 34
  • 53
4
votes
3 answers

General tips and techniques for minimizing the size of Flex applications

I really like the Flex framework, however I routinely deal with SWF files that are ~ 500KB. I don't know at what point a file considered to be "too big" to be served on the internet, but I would assume that a 500KB download just to use a web…
mmattax
  • 27,172
  • 41
  • 116
  • 149
4
votes
1 answer

Why does writeUTFBytes mess up non-english characters?

I'm writing all sorts of multi lingual text to .txt files using AIR's fileStream.writeUTFBytes() For english characters everything works perfectly. But as soon as there are chinese, arabic or any other non-english characters the sentences are…
Yeti
  • 5,628
  • 9
  • 45
  • 71
4
votes
1 answer

online graphs of common tween / easing functions?

Is there an online cheat-sheet to graphs of common tween / easing functions? I want a bookmark I can refer to when picking a function for a tween (e.g., Quintic, Quadratic, "Bounce"). The only one I can do in my head easily is linear.
jedierikb
  • 12,752
  • 22
  • 95
  • 166
4
votes
2 answers

Adobe AIR application as a http server?

Is there any way to use an Adobe AIR application as a local http server? i.e. Adobe AIR application listening to http://localhost:8020 and I'm able to use a browser to access the application? If I can, is it true or pseudo multithreading? Is there…
iamgopal
  • 8,806
  • 6
  • 38
  • 52
4
votes
2 answers

AS3 computeSpectrum fft true

I am just trying to understand what the values sent back from computeSpectrum(bytes,true,0) mean. I have values ranging from 0 to 1 for each float i read from the byte array but does each value represent a range of Hz.
user238638
4
votes
4 answers

Zoom in and zoom out using AS3

you all know: "right click -> zoom in or out" in flash file, well, I need to do this but using, for example, clicking a button. Is this possible using only AS3 code? Thx!
Artemix
  • 8,497
  • 14
  • 48
  • 75
4
votes
1 answer

Video disappears when setting swf height and width

I'm having trouble getting the hang of resizing videos and the stage properly in AS3. I have set up a netstream and I'm able to play a video, but whenever I set the height and width I want the embedded object to be on the page in swfobject, the…
Rob Allsopp
  • 3,309
  • 5
  • 34
  • 53
4
votes
5 answers

How to get HTTP status code in HTTPService fault handler

I am calling a server method through HTTPService from client side. The server is a RestFul web service and it might respond with one of many HTTP error codes (say, 400 for one error, 404 for another and 409 for yet another). I have been trying to…
Monty
  • 129
  • 2
  • 10
4
votes
2 answers

How Can I Detect A Data Type in AS3

I'd like to make a call to a function and send either a string or an integer... function getImage(val:*):void{ if(val == String){ switch(val){ case'next': loadNext(); break; case'prev': …
Howard Zoopaloopa
  • 3,798
  • 14
  • 48
  • 87