Questions tagged [actionscript-2]

ActionScript 2.0 is a scripting language used by the Adobe Flash software, introduced in Flash MX 2004.

ActionScript is an object-oriented language originally developed by Macromedia Inc. (now owned by Adobe Systems). It is a dialect of ECMAScript (meaning it has a superset of the syntax and semantics of the more widely known 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.

Flash MX 2004 introduced ActionScript 2.0, a scripting programming language more suited to the development of Flash applications.

References:

https://en.wikipedia.org/wiki/ActionScript#Timeline_by_ActionScript_version

1963 questions
5
votes
6 answers

Why are animations sometimes done using steps based on the amount of time that's passed?

I've noticed that some programmers animate objects based on the difference in time. I am not sure why or even if this is logical. Does anyone know the significance? Below is a snippet of code that explains what I mean: var timePassed:int =…
numerical25
  • 10,524
  • 36
  • 130
  • 209
5
votes
3 answers

Getting started with text input and dynamic text fields with ActionScript 2.0 or 3.0

I know this is a simple question, but I haven't worked much with ActionScript... I know how to create a text input field with Flash. I can create it on the stage and give it an instance name. What is the code to capture the value of a text input…
Andrew
  • 227,796
  • 193
  • 515
  • 708
4
votes
2 answers

Zipping and Unzipping tool for Flash ActionScript 2

Are you aware of any zip/unzip component or script for flash / actionscript 2 ? I'm aware of this library for flex / AS3, but is there one for AS2 that will save me a long conversion attempt? Is there such a library that supports creating/parsing…
Eliram
  • 606
  • 2
  • 9
  • 21
4
votes
1 answer

nodejs net.createServer large amount of data coming in

I have nodejs listening on tcp port and gets content from Flash XMLSocket. If I try to push a lot of data in one message from flash (XMLSocket.send(long_message)) I always end up with event stream.on("data", function(d) { fired while I want it to…
Dmytro Leonenko
  • 1,443
  • 5
  • 19
  • 30
4
votes
1 answer

How to show tooltips inside a ScrollPane without letting Flash 8 hide the tooltip?

I have the content of a scrollpane that, when clicked, show a tooltip movieclip with attachMovieClip; the problem is that the attached movie clip, for the first rows, goes under the border of the ScrollPane and is partially invisible. Is there a way…
Cris
  • 12,124
  • 27
  • 92
  • 159
4
votes
1 answer

as2 class code removed long ago (sometimes) gets executed with log traces

I have an issue in which outdated code removed long ago code in an actionscript 2 class sometimes gets executed. I can tell this in that the application fails and trace statements removed long ago gets logged to a console. The closest match I've…
Thomas
  • 93
  • 4
4
votes
2 answers

SCORM 1.2 cmi.suspend_data

SCORM 1.2 cmi.suspend_data having limitations of storing data... can any one help me put , is there is any option to cmi.suspend_data variable ,so i can store large data Thanks.
Vijay Bagul
  • 237
  • 7
  • 18
4
votes
1 answer

Convert an ActionScript 2 SWF to an ActionScript 3 SWF file (CODE CAN BE STRIPPED)

Evening, I have a SWF file (Flash file) that uses ActionScript 2 code. What I like to do is convert it to a SWF file that uses Actionscript 3 code. Note that I say "uses", not contains. The SWF may contain AS2 code still even though it will appear…
Mike
  • 301
  • 1
  • 4
  • 5
4
votes
1 answer

How do I wait for flash (as2) to load child elements before running some code?

On the stage, I have seven buttons. I want to add events on these buttons, however most of them are "undefined"/null. How do I wait for the stage or _root in as2 to finish loading the child elements before doing anything. Is there an equivalent to…
Matthew Rhoden
  • 688
  • 1
  • 10
  • 20
4
votes
3 answers

Passing arrays from Flash to PHP

I am having a problem passing an array variable from Flash (AS2) to PHP. In action script I have several arrays defined like this output["px1"] output["px2"] output["px3"] and then I use the following code to pass the variables into a php…
Farax
  • 1,447
  • 3
  • 20
  • 37
4
votes
1 answer

Can Flash detect missing embedded fonts and/or replace with available fonts?

Edited Short Version: The Adobe Flash docs list a property embedFonts on TextAreas: A Boolean value that indicates whether the font specified in fontFamily is an embedded font. This style must be set to true if fontFamily refers to an …
Josh
  • 10,961
  • 11
  • 65
  • 108
4
votes
4 answers

How can I make cookies in my Flash application?

How can I make cookies in my Flash application using ActionScript 2.0?
Milo
4
votes
3 answers

Easiest implementation of onReleaseOutside in AS3?

I'm a long-time ActionScript 2 user, now getting started with ActionScript 3. The one thing I'm missing is an easy way to duplicate the functionality of AS2's MovieClip.onReleaseOutside. It is almost always necessary to implement this event,…
davr
  • 18,877
  • 17
  • 76
  • 99
4
votes
4 answers

Loading an xml file from outside the swf file in Flash

A website I'm working on (using AS2 because it's oldschool) has a larger index .swf file that loads sub-swfs using loadMovie("foo1.swf", placeToShowSwf). There's foo1.swf through 4, which is silly because the only thing that's different between them…
mgbennet
  • 622
  • 7
  • 16
4
votes
2 answers

Flash AS2.0 and JavaScript/jQuery (ExternalInterface) Communication

Im trying to use JS to send data to my Flash AS2.0 music player with ExternalInterface, except there are no good tutorials or guides on ExternalInterface that I can find. I want to be able to change the current song in the player by clicking a…
abysslogic
  • 321
  • 3
  • 6
  • 15