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

Flash AS2 - "If position" code

So I made a game. There is a Man and a Sword. You can drag the sword. I have an idea: If I drag the sword, and I move it to man, then the man will pick it up. If I don't move it to man, then the sword teleporting back to the first position. How can…
Kárpáti András
  • 1,221
  • 1
  • 16
  • 35
0
votes
1 answer

How to add a preloader

First post here. I have a xml video background and need to add a preloader before the video is buffering. The problem is that I am loading the video from xml file and from what I've tried the preloader works for the swf file but not for f4v video…
0
votes
1 answer

actionscript 2.0 combo attacks with the same key

First, I know, I'm still using AS 2, I should get with the times, but for now I'm using AS2. I had this programmed on a different game, but for some reason, I can't duplicate the result, and I accidentally deleted the other game. My problem is I am…
0
votes
1 answer

Actionscript - Loop until mouseover then goto frame x

I've been trying to get this to work for a while. I have 25 frames I want to loop, but on a mouseover I want it to jump to frame 26 and continue. Any suggestions? Actionscript 2 or 3 is fine...
kylex
  • 14,178
  • 33
  • 114
  • 175
0
votes
1 answer

Is there a way to display the item description text for a flash as2 rss feed

Is there a way to display the item description text for a flash as2 rss feed. My code is listed below. Although, it only displays the titles. Any help would be great. stop(); xmlLoad = new…
0
votes
1 answer

Trying to get my RSS feed to load in my dynamic text box Flash AS2

I'm trying to get my rss feed to load in my dynamix text box in Flash AS2. Although it just says 'undefined' My dynamic text box is call xml_holder. Any light on this would be much appreciated. Thank you. I have this script attached to an empty…
0
votes
1 answer

Flash Dynamic text in embedded movie

Hi I have my movie in the main timeline and then have a smaller clip in which there is a dynamic text box. In that smaller movie I have some actionscript myVars = new…
Ben
  • 23
  • 3
0
votes
3 answers

Equivalent of Event.MOUSE_LEAVE in AS2

What is the equivalent of this AS3 code in AS2? stage.addEventListener(Event.MOUSE_LEAVE, callbackFunc); private function callbackFunc(e:Event):void { // do something }
Aaron
  • 4,634
  • 1
  • 27
  • 43
0
votes
2 answers

In Actionscript 2 how can I get 302 redirect from a XML object?

I am working on an Actionscript 2 project - trying to use the XML object to find a url which is returned as a 302 redirect. Is there a way to do this in actionscript 2? code: var urlone:XML = new…
user26888
  • 231
  • 1
  • 5
0
votes
1 answer

Can not call method "put" of undefined AS3

I cannot call method put of undefined AS3. Following is code that's causing the problem (I am using Smartfoxserver to run this server): var error = "" var nick = evt["nick"].split("~")[1] var pass = evt["pass"] var chan =…
Shrekt
  • 195
  • 1
  • 4
  • 15
0
votes
1 answer

Getting rid of & in ActionScript 2

I have a flash 8 app that's reading an XML file. In the file are nodes containing the & character. When these values are rendered they come out as "&" How do I stop this?
Neil Middleton
  • 22,105
  • 18
  • 80
  • 134
0
votes
1 answer

AS2: a message with fadeout with _alpha > 100

I'm using Action Script 2 (in Adobe Flash). I want to show a text message in screen. I need to show it for 2sec. and then fade it out during 1 sec. I'm trying to use AS2 instead of traditional timeline. ( because it gives me power of changing…
Emadpres
  • 3,466
  • 2
  • 29
  • 44
0
votes
1 answer

Dealing with infinite/huge worlds in actionscript 2

How are infinite/huge procedural generated worlds achieved with minimal lag in actionscript 2? In a game like Terraria or Minecraft for example. What would the best way to go about handling huge world like this be? Obviously looping through every…
0
votes
2 answers

input text gives NaN in output dynamic text field

I'm trying to make some simple calculations using input from the user. I have two input fields, a button and a dynamic textfield for showing results. What I want is for the user to write a number in the first field, then a percent in the next field.…
0
votes
1 answer

Is there a tutorial on how to display search results using Actionscript 2 and Flash?

I have been looking for a tutorial that shows or explains how to display the contents of a search engine like 'Google' or 'Youtube' inside Flash. No luck so far... Can any of you please forward a link or a good book that talks about the…
Y_Y
  • 1,259
  • 5
  • 26
  • 43
1 2 3
99
100