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
1
vote
2 answers

change the text of the LinkBarItem when linkbaritem is clicked

I want to create a custom LinkBar in which the item which is selected shown with some space before the text or anything else as shown in the Image below. when second item is selected then Two is having some effect and move slightly to left…
Sagar Rawal
  • 1,442
  • 2
  • 12
  • 39
1
vote
1 answer

How do I get the response from an HTTP request on error?

I tried using both HTTPService and URLRequest/URLLoader. But I can't figure out how to get either the response output or the response headers in case of a server error(like 500). Some help would be really appreciated.
airportyh
  • 21,948
  • 13
  • 58
  • 72
1
vote
2 answers

Get MXML and ActionScript Classes out of swf

Hi there I want to know how secure Flex is. Is there a possibility to generate the source out of the swf-file? I mean for example if I have my Actionscript and MXML files and compile them to a swf, can I get the source back out of the swf file? With…
Sebastian Müller
  • 5,471
  • 13
  • 51
  • 79
1
vote
1 answer

Generics in actionscript (return type the same as parameter type)

Is it possible to specify that a return type of a function is the same as one of the parameter types where it is unknown what the parameter type is. For example: class Factory { public function get(interface:*):Object { } } The problem with…
MetaChrome
  • 3,210
  • 6
  • 31
  • 48
1
vote
1 answer

Alternate of masking technique to ignore mouse event on parts on asset

In my isometric flash game I have some models with long shadows. I want to ignore the mouse events (move, click, down and up) when the user performs any action on the shadow part of the image. (see sample image) I know there is a way we can do it by…
dejjub-AIS
  • 1,501
  • 2
  • 24
  • 50
1
vote
1 answer

Flex : Is it possible to stop a remote call?

I search for a long time, but I still not found the answer. In common case, we keep the token of a remote method call, Flex -> Java for example. But, if the client know that the current call is not needed anymore, how stopping the server processing…
1
vote
2 answers

How to build only upon saving in FDT?

Is it possible to set up FDT so that it only builds the workspace when I save (as opposed to constantly or manually) like it does in Flash Builder (previously Flex Builder) and if so, how?
Mexican Seafood
  • 504
  • 3
  • 13
1
vote
2 answers

How to check network availability in action script?

I want to check network and Internet availability in Action Script programming language. please help me.
Ehsan
  • 2,273
  • 8
  • 36
  • 70
1
vote
0 answers

Actionscript 3: How to add an on-the-fly-created-movieclip into datagrid?

I need to create a movieclip on the fly by coding, and then put it into datagrid. Can anyone help me? I'll write the detail below. On https://stackoverflow.com/a/2035638/1201144, thanks to George Profenza for providing an answer.His answer can add…
wily
  • 11
  • 1
1
vote
3 answers

Flash: Get symbol name

I have about 1000 objects on the scene, each with specific symbol name ("instance of"), and with blank instance name. Can I somehow get symbol name when I click on one of those objects? Can I reference such objects, set them x, y etc...? Thanks!
1
vote
1 answer

How to create a save button in flash?

I have a game and I used Flash cs5 ActionScript3. I want to create a save button for the game. When the player loads the game, the saved game will open. Thanks.
1
vote
1 answer

Actionscript math calculation behaving differently in browser

This is really stumping me: I have a little app that allow the user to zoom in/out, rotate, flip horizontally and manipulate the colour of a photo. The photo is loaded via the Loader class. The app works perfectly in the dev environment however if…
Jason
  • 129
  • 11
1
vote
0 answers

Actionscript - AS 2.0 - PHP copy file from server to server THEN run function

Basic Idea: I have a flash file that takes screenshots with a click of a button, sending the data to a PHP file, and then the user gets to save a PNG image. The images that are merged together (via PHP) require that they reside on the same server…
1
vote
3 answers

Changing the position of a Scroller container programmatically (by HGroup index)

I am trying to change the visible index of a Scroller container on an event. The Scroller contains an HGroup with Images, so on an event I want to change which of the Images is visible in the Scroller by specifying an HGroup index. Is this…
tjc134
  • 15
  • 4
1
vote
2 answers

What happens behind the Scene when I Set ._visible = false

When I write the code: var x:MovieClip = new MovieClip(); .... ... x._visible = false; Then ActionScript hides the movieclip. When I navigate to MovieClip class then found _visible, is just a Boolean property along with other proporties: dynamic…
Simsons
  • 12,295
  • 42
  • 153
  • 269
1 2 3
99
100