ActionScript is a scripting language used for RIAs, mobiles applications, web applications, etc.

learn more… | top users | synonyms

0
votes
0answers
5 views

Actionscript Trace not working

I created a new Actionscript project and wrote this code, the two circles do show up however the trace statements don't show up in the log. I do have the Debugger version (right clicking the context ...
0
votes
0answers
5 views

How “recompile” .fla to .swf with actionscripts

So I have a .SWF; lets call it 'OLD'. I downloaded Sothink and was able to 'decompile' it to a .FLA that comes with Shape, Image, Font, Sprite, Frame and Action folders that have respective file ...
0
votes
0answers
26 views

Error #2007 in AS3

In my game, I have a character who is meant to collect fruit. When he collects fruit, his fruit bar fills up. Currently, when he collects one piece of fruit, the fruit disappears, and after a short ...
0
votes
1answer
18 views

Move enemies in platform game

Im relative new to as3, this is my first question here. Im making super mario game, I added tiles, collision detection, enemies, scrolling. Sorry for my english, if you dont understand me well, I ...
1
vote
0answers
8 views

stop fade in out on a movieclip actionscript 2

I'm trying to stop fading in/out my movieclip. I'll explain: I've integrated my swf in an HTML page with a dropdown list. When i choose an item from this list a javascript function it's called.This ...
0
votes
0answers
6 views

How do you manage your Facebook APP ID between environments?

Usually, in Java you have properties files that it gives you the power to compile one time and deploy in every environment, only changing these properties. That means that, if I compile the project ...
0
votes
2answers
27 views

How to Move a mc while the other mc moves in as3

I Have a Mc named as thumb. And i have other mc named as track. When i move the thumb_mc using my script below, i also need my track_mc to move. thumb.addEventListener(MouseEvent.MOUSE_DOWN, ...
0
votes
1answer
15 views

STRING TO CHAR ARRAY IN ACTIONSCRIPT 3.0

How do you convert a string into a char array in ActionScript 3.0 ? I tried the below code but i get an error: var temp:ByteArray = new ByteArray(); temp = input.toCharArray(); From the error, I ...
1
vote
1answer
15 views

How to set xml:space=“preserve” from Flex/Actionscript

I am working with ActionScript 3 and I need to add a simple tag to one of my XML nodes. I am trying to add xml:space=preserve tag to one of my text nodes. var tSpan : XML = new XML ( "<tspan ...
0
votes
0answers
11 views

Line of Sight Between Squares

I am attempting to create a line of sight tool for use with a miniatures war game using ActionScript 1 in Macromedia Flash 5. I started out thinking it would be simple to code, however I've realized ...
0
votes
0answers
11 views

Foursquare login via facebook in AIR

I'm building an AIR app where the user interacts with foursquare. I'm using the foursquare API (https://developer.foursquare.com/overview/auth) for logging in and checking in. Using an htmlLoader to ...
0
votes
0answers
12 views

Flash preloader not working for loading movie clip

I am having trouble creating a flash preloader for a movie clip. (Should be a image of a bird filling with colour on load but it doesn't seem to be picking up the "getBytesTotal" for the movie clip? ...
0
votes
1answer
11 views

Modifying .swf ActionScript code

I am able to decompile the swf file and get the .as source files but when I load into Flash Builder and compile I get errors (not surprisingly since I doubt the decompilation is smooth and straight ...
0
votes
4answers
61 views

Is AS 3 capable of supporting a game with 600 + rotating images?

I made a simple game where squares collect crystals and bring them to a base and replicate. They are just .png images that rotate and move and yet when their number becomes greater than 500, the game ...
0
votes
1answer
9 views

ActionScript. Passing vector by reference or value?

I am trying to port some ActionScript code to VB.Net. AS code: public class GridHandler extends Object { private var grid:Vector.<Vector.<Tile>>; private var config:Config; ...
0
votes
1answer
26 views

converting an xml to an object

I'm beginner in that topic in actionscript, but I have a large xml response like the following and I don't know how to convert it to a class, there are a lot of fields there, how do I structure them ...
1
vote
2answers
12 views

Flash CS5 Actionscript 3.0 Using a movie clip as a button with linking

So I have an animated button in the form of a movie clip that I want to be able to use as a link. The movie clip is animated on mouse over and mouse off using a script I found online, and that works ...
-5
votes
0answers
28 views

Action script - very simple [on hold]

For using Actionscript with Flash. Which value can you enter while modifying the property value of a movie clip? a. Expression b. Object c. Array values d. String Example: ...
0
votes
1answer
16 views

Interactive Charts in PDFs

I have seen quite a few threads close to my query on this website, but still not what I am looking for. I need to create Interactive charts, and place the same in a PDF. Whatever finding I have done ...
1
vote
2answers
33 views

Should I remove listener for SOUND_COMPLETE event?

My application needs to notify UI that sound playback is finished. To accomplish that is attaches listener to the SOUND_COMPLETE event of a SoundChannel object. Should I remove my SOUND_COMPLETE ...
1
vote
1answer
11 views

Flash MovieClipLoader loadClip on port 82

I am writing a server emulator for a flash application (which is a chatroom). Everything is fine and works on localhost. However, My host is unable to open my webserver on port 82. Therefore, the ...
1
vote
1answer
41 views

Best way for building objects out of XMLs at runtime

I'm in a situation that I have a lot of of XMLs, that are sent to me from a server and I'm using JAXB or any API based on that architecture for building instances of objects. The problem is, I have ...
0
votes
1answer
23 views

AS3 - Sum of Number var and precision issue

I've two variable of type Number but the sum of them is not correct. This is my scenario: var a:Number = 1.1; var b:Number = 2.2; var c:Number = a + b; result of c is 3.3000000003 instead 3.3 ...
-2
votes
0answers
16 views
0
votes
0answers
17 views

“The superconstructor must be called first in the constructor body” magic

I have a comparably big .fla file and sometimes, when I try to publish it I get "The superconstructor must be called first in the constructor body." error. It appears randomly, I can close Flash CS6 ...
0
votes
2answers
41 views

NetConnection unhandled NetStatusEvent

Occasionally I'm getting an unhanded NetStatusEvent when using NetConnection to connect to a Red5 server: Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed This is ...
0
votes
0answers
9 views

Flare3D FlashBuilder Mobile Error

package { import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.events.Event; import flash.display.Sprite; import ...
0
votes
1answer
18 views

Multiple row selction not working in advanceddatagrid

In the adobe flex documentation it says that to make multiple rows selectable that I should add allowMultipleSection = "true" and selectionMode = "multipleRows". For some reason in my Advanced Data ...
0
votes
0answers
13 views

How to handle DRM events in ActionScript VideoElement

I'm trying to build a Video Player using Action Script's spark VideoPlayer and org.osmf.elements.VideoElement for playing DRM protected videos. Its able to play non-DRM protected files well. For DRM ...
0
votes
1answer
23 views

Detect Current Frame within labeled Timeline

I need to make an Animation called Swing, where it will be only done once when Player hit spacebar or something. my player have labeled timeline where each label is called from AC3 and Swap current ...

1 2 3 4 5 239
15 30 50 per page