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

Adding an as2 swf to the stage in an as3 swf

I have a menu control (as2), that is completely self-contained and doesn't rely on any interaction with the parent (as3). The menu control does load an external xml file that is in the same directory as the swf. The menu control works fine when I…
Brian
  • 4,931
  • 3
  • 32
  • 55
2
votes
1 answer

Change color of a dynamic textfield problem

I have this code that should change the color of a dynamic textfield when I rollover the link movieclip, and then back when I rollout. I get no compiler error, it just doesn't work. function textColor(mc_function:MovieClip, tf_text:TextField)…
Sindre Sorhus
  • 62,972
  • 39
  • 168
  • 232
2
votes
1 answer

Flash/AS2: Application gets slower the further you scroll down

I have built an application in flash, it is rather a large application that runs pretty smoothly, however it is a long list of graphs that run further than the application window so I use a vertical scrollbar and a mask to display them. The problem…
George Reith
  • 13,132
  • 18
  • 79
  • 148
2
votes
3 answers

Help! Flash cannot load XML data from a third-party domain

I am getting news from Yahoo using an RSS feed, using: XML.load("http://finance.yahoo.com/rss/topstories") Yea this is legal and all, and although it works perfectly when my SWF is offline -- it shows a security error, but I allow my D drive…
Robin Rodricks
  • 110,798
  • 141
  • 398
  • 607
2
votes
1 answer

Flash AS2 detecting dynamically attached components are initialised

OK, driving myself mad trying to remember AS2 here, hoping for someone with better memory to lend a hand... Basically, my problem is using composition and 'waiting' for components - eg. a Button component - to be ready to attach a click handler..for…
2
votes
1 answer

How can i on button press execute a command in the command prompt and get back the output in ActionScript?

I have a GUI using Flex. I have a condition like i need to execute some command line arguments in the local machine and get the results back or output back to a textbox area. How can i do a button on submit, execute command in the local machine and…
user285594
2
votes
0 answers

UDK HUD problem

hello im trying to add a new element to the hud its spoused to be a compass that should function like the minimap Ive add this code to the main hud.swf var DcompassContainer:MovieClip = this.createEmptyMovieClip("DcompassContainer",…
2
votes
1 answer

Flash actionscript: moneycounter code not behaving correctly

I am trying to set up a virtual bus fare vending machine in Adobe Flash (Animate) animation. The premise is that you must enter exact fare into the slot because drivers don't carry change. Exact fare is $2. The machine accepts denominations of 5…
2
votes
3 answers

Dynamically accessing nested movie clips in flash actionscript 2

I have a nested movie clip instance that I want to access. The path to the movie clip is defined by two variables ( similar to a row and column). I am already dynamically accessing the parent movie clip like this: eval("row" + ActiveRow) Now I want…
Bryan
  • 17,201
  • 24
  • 97
  • 123
2
votes
5 answers

Why does my SWF file size not decrease when reducing content?

Often I find if my SWF file size is on the large side, when deleting media altogether or perhaps deleting and re-inserting compressed versions of images, sound etc, it has little or no effect on the resulting SWF's file size. I have tried deleting…
Robin
  • 95
  • 4
  • 7
2
votes
2 answers

ActionScript 2.0 and ActionScript 3.0 project

I have a new project I'm working on that will require a Flash application to load both AS2 SWF files and AS3 Flash files as well as FLV movies. The new Flash application will control the loaded SWF files by moving to different frames within the…
Ryan Smith
  • 8,344
  • 22
  • 76
  • 103
2
votes
5 answers

How do I dynamically create a Video object in AS2 and add it to a MovieClip?

I need to dynamically create a Video object in ActionScript 2 and add it to a movie clip. In AS3 I just do this: var videoViewComp:UIComponent; // created elsewhere videoView = new Video(); videoView.width = 400; videoView.height =…
Herms
  • 37,540
  • 12
  • 78
  • 101
2
votes
3 answers

Is there a workaround for the missing ExternalInterface.objectID in ActionScript 2

I'm downporting some ActionScript 3 to ActionScript 2 (some ad agencies sadly still refuse to embrace the future) and I've run into the issue that in ActionScript 2 ExternalInterface has no objectID property, as it does in ActionScript 3. The code…
Theo
  • 131,503
  • 21
  • 160
  • 205
2
votes
1 answer

Calling JS from a flash video

I need to create a really basic flash video (actionscript 2) where I click on a bit of text which will call a javascript function. I'm really new to actionscript so please forgive me if this is a trivial question... I have created a flash video…
James Hollingworth
  • 14,040
  • 12
  • 39
  • 57
2
votes
1 answer

Two Webcam At Same Time AS3?

Dear guys , Is this possible to stream two webcam at same time in flash !? I want to use one to track a person from top and one for face detection ?! I just wonder am i able to use two webcam at same time in as3 or as2 !? Thanks in advance
Synxmax
  • 2,226
  • 1
  • 22
  • 38