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
9
votes
5 answers

Animation with Initial Velocity

I've been trying to solve this problem for a number of days now but I must be missing something. Known Variables: vi = Initial Velocity t = Animation Duration d = Distance. end velocity should always be zero The function I'm trying to create:…
abustin
  • 93
  • 4
9
votes
6 answers

Valid JavaScript code that is NOT valid ActionScript 3.0 code?

Most JavaScript code is also syntactically valid ActionScript 3.0 code. However, there are some exceptions which leads me to my question: Which constructs/features in JavaScript are syntactically invalid in ActionScript 3.0? Please provide concrete…
knorv
  • 49,059
  • 74
  • 210
  • 294
9
votes
3 answers

What is the difference between target and currenttarget in flex?

Can any one please tell me the difference between target and currenttarget in flex?
9
votes
5 answers

Get ExternalInterface definitions in Javascript

Is there a way to get a list of the exposed functions from a Flash object? For example, you could get a list of all methods in an object by executing: for (var i in object) { if (typeof object[i] == "function") { console.log(i); } } The…
Jamal Fanaian
  • 381
  • 2
  • 7
9
votes
4 answers

Sending HTTP request with multiple parameters having same name

I need to send a HTTP request (and get XML response) from Flash that looks similar to following: http://example.com/somepath?data=1&data=2&data=3 I.e. having several parameters that share same name, but have different values. Until now I used…
n0rd
  • 11,850
  • 5
  • 35
  • 56
9
votes
2 answers

How do you trigger javascript functions from flash?

How do you trigger a javascript function using actionscript in flash? The goal is to trigger jQuery functionality from a flash movie
Jiaaro
  • 74,485
  • 42
  • 169
  • 190
8
votes
3 answers

Flex best practices?

I have the feeling that is easy to find samples, tutorials and simple examples on Flex. It seems harder to find tips and good practices based on real-life projects. Any tips on how to : How to write maintainable actionscript code How to ensure a…
Alexandre Victoor
  • 3,104
  • 2
  • 27
  • 27
8
votes
4 answers

ActionScript: How to assign arrays by VALUE rather than REFERENCE?

I find it unfamiliar to work with ActionScript's array assignment by reference methodology. I understand what it's doing, but I somehow find it confusing to manage many arrays with this methodology. Is there a simple way to work with ActionScript…
ggkmath
  • 4,188
  • 23
  • 72
  • 129
8
votes
2 answers

AS3: defining hit area

I have a movieclip which contains a bitmap and I wan't to increase the hit area. I understand I can add a transparent shape behind it but this is to be compiled through air for ios and I don't want to cause unnecessary redraws. Is there a way to…
George Reith
  • 13,132
  • 18
  • 79
  • 148
8
votes
2 answers

Does ActionScript have an equivalent of a "core dump"?

Here's my situation: I'm working on an AS3-based game and I'd like to have a "Report a problem!" function within the game so that users can submit feedback to me. When my user reports a problem, I'd like to get as much information as I can about the…
Toddarooski
  • 2,645
  • 2
  • 16
  • 12
8
votes
1 answer

Integer multiplication mod 2³² in Actionscript 3

Has anyone come across an authoritative specification of how arithmetic on int and uint works in Actionscript 3? (By "authoritative" I mean either "comes from Adobe" or "has been declared authoritative by Adobe"). In particular I'm looking for a…
hmakholm left over Monica
  • 23,074
  • 3
  • 51
  • 73
8
votes
1 answer

How to implement my own Cirrus (previously named Stratus) server?

I am interesting in creating a P2P application using Cirrus (http://labs.adobe.com/technologies/cirrus/rtmfpgroups.html). The examples given create a connection with servers managed by Adobe. I'd like to do this on my Node.js server, how should I…
Tom
  • 8,536
  • 31
  • 133
  • 232
8
votes
2 answers

Double or float data type in Flex?

What data type do I use in flex (flash builder) to create a "double" or "float" data type. I need the numbers after a decimal point. (i.e. prices)
Dennis
  • 137
  • 1
  • 1
  • 4
8
votes
2 answers

How to make cross-domain communication between JavaScript and Flash?

How do I open 'cross-domain security', so the JavaScript on the page can freely communicate with the SWF, even when this is hosted on another domain? I know for certain that this function communication is blocked by default, but by playing around…
8
votes
3 answers

Set JSON content-type on s:HttpService in flex

I am trying to set the json content type on httpservice to make REST service return the json data. When I add the content type in fiddler all works fine so the problem lays in flex application, not in the web-service. But the code below does not…
igu
  • 231
  • 2
  • 8