Adobe ActionScript is the open source object orientated programming language of the Adobe Flash Platform. ActionScript 3 is a dialect of ECMAScript, targeted for Adobe Flash Player 9 and higher. References: Complete ActionScript language reference (Flash, Flex/AIR, FlashLite, ColdFusion, LCDS, ...
0
votes
2answers
38 views
How to set blur on mouse over and remove on mouse out in AS3?
How can I do it? I want to active glow when the mouse is over a Sprite and remove it when the mouse is out. Is it possible?
I have the following code:
var myGlow:GlowFilter = new GlowFilter();
...
0
votes
0answers
25 views
Prevent user from including file extension in file name in air application [migrated]
So I have an air application that I want to save data from into an custom file. Below is my code. My question is, this code is checking if the user has not typed the ".bar" in their file name, and if ...
1
vote
1answer
21 views
Export information to a custom file type from Air
So I have an engine (air application) that basically (for now) is loading some windows on the screen/stage, and you can drag them around. And later on, I'll be able to add other objects onto the ...
1
vote
1answer
83 views
As3 Character movement in diffrent directions with labels?
I hope you can help me with the following problem:
I made a character in Illustrator. The player sees the character from above.
When you press the left arrow key character.gotoAndStop('left'); the ...
0
votes
1answer
77 views
AS3 hittest with a tweening movieclip, what is the best way?
I'm making a simple game. The character is movable with the arrow keys.
The enemies are moving around the screen with a (classic) tween.
I want to detect collision between the character and the ...
2
votes
2answers
126 views
Pointy top hexagonal A* pathfinding
I'm trying to create a game with a hex based map with the points at the top. I have most of it working, however the path finding is being a little awkward. The heuristic I'm using is called euclidian ...
1
vote
1answer
38 views
This for array colllision function doesn't work with anything but first object in array
For some reason, this simple simple loop is totally broken.
(characterSheet is my character Class, it's just a movieClip with some extra functionality)
(hitBox, is basically a square movieclip)
...
1
vote
1answer
56 views
Why can't a blendShader sample anything but the current coordinate of the background image?
In Flash, you can set a DisplayObject's blendShader property to a pixel shader (flash.shaders.Shader class).
The mechanism is nice, because Flash automatically provides your Shader with two input ...
2
votes
2answers
184 views
Flash AS3 sidescrolling tiles optimization
I'm trying to make a sidescrolling game in Flash that will run on a low performance laptop.
While studying the subject from Tonypa I saw that he builds a Bitmap by making copys of the BitmapData of ...
3
votes
0answers
133 views
Choosing a (browser) game environment [closed]
I apologise in advance if this post is something you've heard a million times already or seems like a trolling attempt. I just want some advice and I'm coming up short with my own Google searches.
...
1
vote
2answers
89 views
Dropping multiple objects using an array in Actionscript?
I'm trying to get these fireBalls to drop more often, I'm not sure if I'm using Math.random correctly.
Also, for some reason I'm getting a null reference because I think the fireBalls array waits for ...
5
votes
2answers
219 views
How to detect 2D line on line collision?
I'm a flash actionscript game developer who is a bit backward with mathematics, though I find physics both interesting and cool.
For reference this is a similar game to the one I'm making: Untangled ...
6
votes
2answers
371 views
Why does my FPS drop gradually over time?
I'm working on this game: yt alpha preview
I came into a huge game-breaking problem - after 10-15 min of gameplay the FPS drops from 60 to 30 and is very unstable. I'm using tons of physics and ...
3
votes
0answers
77 views
Strange Flash AS3 xml Socket behavior
I have a problem which I can't understand.
To understand it I wrote a socket client on AS3 and a server on python/twisted, you can see the code of both applications below.
Let's launch two clients ...
0
votes
0answers
153 views
Isometric Engine [closed]
i made an isometric game a litle while ago. It used AS3isolib. With the new flash player accessing GPU i was wondering if its still a good idea to use AS3IsoLib ?
I know they just released an ...