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
0
votes
2 answers

Echo a variable defined in a PHP script using AS2

let's say I have a variable in PHP and I need to echo it in AS2, how to do that? I need the ActionScript 2 code to connect to that PHP file, take the var $var and echo it. Thanks!
user2917204
  • 1,243
  • 2
  • 9
  • 11
0
votes
5 answers

How to select AS2 in flex?

I want to make my application compatible with as2, so I think what I want to do is only use the features that as2 provides, how to specify the compiler or source code that I only use the features in as2?
Bin Chen
  • 61,507
  • 53
  • 142
  • 183
0
votes
1 answer

Actionscript 2.0 How can I bring a layer button to the front on rollover in Flash?

Okay, I have 4 layers. actions, buttons, circle, and background. I have three buttons on the buttons layer that are each supposed to fill the circle shown in the circle layer, on rollover. The issue that I am having is that when I hover over a…
Joseph Spears
  • 41
  • 2
  • 9
0
votes
1 answer

FLVPlayback.load results in all sound, no video

I'm trying to change the source of the FLVPlayback component on my stage with the load() method. When the new video loads I hear the audio playing but I see no video. Any idea what could be going on here? The videos are rtmp streams from a Flash…
Adam Ritenauer
  • 3,151
  • 4
  • 33
  • 40
0
votes
1 answer

comparing date objects in as2

I must be missing something. date1 = new Date(2010, 01, 10, 12, 10, 30, 000); date2 = new Date(2010, 01, 10, 12, 10, 30, 000); trace(date1 == date2); // returns false However, date1 = new Date(2010, 01, 10, 12, 10, 30, 000); date2 = new Date(2010,…
matt lohkamp
  • 2,174
  • 3
  • 28
  • 47
0
votes
1 answer

Suppressing the "publishing" dialog in Adobe CS4 Flash Pro

I have been dealing with a usability issue in Flash Pro CS4 that has very nearly caused me to throw my keyboard, mouse and every other nearby hard object through the monitor. I am not sure how a company like Adobe could possibly have considered…
lje
  • 413
  • 5
  • 16
0
votes
0 answers

How to pass session variables via the URL in ColdFusion 10 for use in Flash AS2?

I have a client with some old Flash functionality (AS2). The SWF allows the user to upload an image. However a new session is being started when the upload script is called. I have added the CFID, CFTOKEN and JSESSIONID to the URL as I did in the…
0
votes
1 answer

Keeping track of an object and painting behind

I have been struggling with this problem for a time and being unable to solve it led me here. I'm recently new to Actionscript (2.0). I want to do something similar to: http://gnarshmallow.com/ Were i want something to be painted behind a moving…
Juan Gallostra
  • 181
  • 1
  • 1
  • 8
0
votes
1 answer

Adobe Flash CS4 Professional, ActionScript 2.0

I'm just a newbie in using CS4. I just want to ask "What is the code in order to move to the next frame when the FLV clip was finished playing?” I have a prediction that it might be: on(complete){ nextFrame(); } but it doesn't work. Is my code is…
0
votes
1 answer

Simple sound pause/play toggle button

I have a website with a simple sound pause/play toggle button. I want to recreate this flash button to change a few things around there (the current button I got from someone else). I am a novice to flash (and programming of any kind in…
0
votes
3 answers

Actionscript - combining AS2 assets into a single SWF

I have a flash project that I'm trying to export as a single SWF. There's a main SWF file that loads about 6 other SWFs, and both the main and the child SWFs reference other external assets (images, sounds, etc). I'd like to package everything as…
Justin Bachorik
0
votes
1 answer

AS2 HitTest issue

I have a hitTest setup to see if mc1 hits mc2. While mc1 is touching mc2, I need mc1 to play in a loop. mc1 oops after touching mc2 but not while it is touching mc2. While it is touching mc2 it goes to frame 2 and stops. Why is this happening?
0
votes
1 answer

Small AS2 OOP Issue

I'm working with Actionscript 2 (not ready to upgrade yet, although it's irreverent to the problem) but I'm having trouble with OOP and classes. I've got a "Tool" class, written like so: class com.Tool { public var self:MovieClip; private static…
Tom
  • 207
  • 2
  • 18
0
votes
1 answer

input text and check button

hai guys... My project is to get a input text from user and user can check their answer by simply click on the button check, if their answer is true a message "good job" will be display. but,my code have an error..can u help to check this code 4…
0
votes
1 answer

ActionScript 2: Homing missile

I've searched everywhere and found a few resources in coding homing missiles, however with me being kind of new to actionscript and coding in general I can't really understand what the different bits do, let alone incorporate them in my game. I'm…
Kavaeric
  • 1
  • 1