Adobe ActionScript is the open source multiparadigm language supporting object oriented, imperative, structural and functional programming and used within Adobe Flash Platform. ActionScript 3 is a dialect of ECMAScript, targeted for Adobe Flash Player 9 and higher.

learn more… | top users | synonyms (1)

1
vote
2answers
158 views

Show a range grid movement as3

How do I show range of grid movement in AS3? When player controls a character and chooses "move" options, the grid of movement will be displayed as 3 grid of X, 4 grid of Y (Both sides, + and -). So, ...
0
votes
2answers
35 views

How can I save a global high score for all players in AS3?

I am developing a game in which I want to make a scoring system where the global high score is stored and shared by all players. I am using Flash and ActionScript 3. Until now I've used ...
0
votes
2answers
257 views

Make a lives display in HUD, Flash AS3 (not text!)

I've been searching the internet all day and I can't find the answer I'm looking for. In my HUD I want to use orange dots to represent lives. The user starts off with 5 lives and every time they die, ...
1
vote
1answer
124 views

Fixed timestep with interpolation in AS3

I'm trying to implement Glenn Fiedler's popular fixed timestep system as documented here: http://gafferongames.com/game-physics/fix-your-timestep/ In Flash. I'm fairly sure that I've got it set up ...
1
vote
1answer
81 views

How can I spawn a sprite based on a condition after the game starts?

How do I spawn a sprite anytime later in the game when the game starts? I'm using FlashDevelop with Flixel. I did try it in override public function create(): void. It works only in the beginning. I ...
0
votes
1answer
18 views

Flash: matrix transformation combined with non-uniform screen scaling

I'm using a Flash transformation matrix (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/geom/Matrix.html) to do affine transformation. I have a rectangular image that's ...
0
votes
1answer
109 views

How do I get the child of a unique parent in ActionScript?

My question is about targeting a child with a unique parent. For example. Let's say I have a box people can move called box_mc and 3 platforms it can jump on called: Platform_1 Platform_2 Platform_3 ...
0
votes
1answer
447 views

Collision Detection fails with AI cars

I am making a car parking game in flash and AS3 wherein I drive my car along with other AI traffic cars moving along a specified path using Guidelines. I am using CDK for collision detection. The ...
2
votes
0answers
144 views

Away3D & Directional Light w/ Rotating Meshes

This is likely a stupid error but I can't seem to find what I've done wrong. I've got a simple scene with 10 cylinders rotating at a default speed. If I grab one of these cylinders I can rotate it ...
1
vote
0answers
84 views

How do I align textures properly with an exploding sprite / breakable body?

I'm working on a game based on Box2D and Starling which includes breakable bodies - bodies/objects that when hit with sufficient force break apart (into smaller pieces). I've managed the physics part ...
1
vote
0answers
66 views

Stage3D engine with FlashPlayer 10 compatible (no wmode setting) fallback to software Rendering

https://github.com/pshtif/Genome2D/downloads ist the only Stage3D engine with FlashPlayer 10 compatible (no wmode setting) fallback to software Rendering i am aware of. Unfortunatly they drop this ...
1
vote
0answers
112 views

Any advice for dynamic music control?

I would like to be able to dynamically progress the score, and affect the volume levels of separate channels within the music. How could I do this? From my experience with mod music (olden days Amiga ...
1
vote
0answers
388 views

How to code a 4x shader/filter which emulates arcade crt display behavior?

I want to write a shader/filer probably in adobe Pixel Bender that will do the best job possible in emulating the fill of an oldskul monochromatic arcade CRT screen. Much like this here: ...
0
votes
0answers
20 views

Is it possible to mask over CameraUI AS3?

My idea is to use the CameraUI to take a photo and then transpose that photo onto a blank sprite. So I want to have a mask layer over the CameraUI to line up the object with the size of the sprite. ...
0
votes
0answers
24 views

AS3 - At exactly 23 empty alpha channels, images below stop drawing

I noticed, while trying to draw large numbers of circles, that occasionally, there would be some kind of visual bug where some circles wouldn't draw properly. Well, I narrowed it down, and have ...
0
votes
0answers
99 views

Big game in Flash - how to create levels structure

I'm building a game in Flash similar to the structure of Angry Birds or Cut the Rope (where there are a number of "rooms" and unique levels created within each "room"). The user gets through the game ...
0
votes
0answers
94 views

How to find correct offset to adjust sprite to the position of box2D body after rotation

I am trying to implement phsyics with the as3 box2d port. I currently have a b2body for each of some certain sprites in my game and I am able to update the sprite's positions correctly from the ...
0
votes
0answers
50 views

how to effectiently manage flash (mobile) game structure?

my team and I are building an android game using flash cs6.. 16 levels are done so far but we are still optimizing the game (specially the structure). our game is currently structured like shown in ...
0
votes
0answers
111 views

Having trouble with 2D texture movement

I'm having trouble with smooth character movement for a 2d game I'm making. It looks like the character is double when moving. Kinda like this (its just one pixel though): ( () / /{}\ ==> | || ...
0
votes
0answers
162 views

Tweening MovieClips collisions

I am making a platform game and I have trouble finding the right way to do the enemy collisions... I am a noob in as3 so I 'm gonna try to explain my situation! I have an enemy, movie clip, and I have ...