Questions tagged [actionscript-3]

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
205 views

Effective content manager on AS3 Flash

In my game more than 600 images and 200 sounds. I'm try organize effective images and sounds manager for fast access. This is a good approach? ...
Rusildo's user avatar
  • 103
1 vote
0 answers
731 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 ...
mintfiend's user avatar
1 vote
0 answers
126 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 ...
Iansen's user avatar
  • 141
1 vote
1 answer
150 views

Flixel: Is it possible to use a spritesheet for FlxButtonPlus?

I'm trying to change the graphic on a FlxButtonPlus. I want to get the graphic from a spritesheet. However, if I try the ' regular' way (make an animation and play it), it refuses to use just the part ...
Tessa's user avatar
  • 111
1 vote
2 answers
448 views

ScaleX and Y for stretching MovieClip

I'm developing a game, and the game has a shop. In that shop there is an option for a house expansion. This is a movieclip that I want the user to be able to spend their coins to increase their ...
user avatar
1 vote
1 answer
58 views

Flixel level ceases to show on screen

I was following along with the EZPlatformer flixel tutorial(with some of my own modifications), and suddenly find that my level is not appearing on screen. I am unable to detect any changes I could ...
Christian's user avatar
  • 261
1 vote
1 answer
341 views

Placing items randomly in a dynamically generated terrain

I'm currently working on a 'Tiny wings' like game. I've already asked about the angle of the items in curved lines and i solved (thank you for responses),i'm currently placing the items in random ...
Fede Alvarez's user avatar
1 vote
1 answer
365 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 ...
Triynko's user avatar
  • 113
1 vote
1 answer
645 views

Mouse Cursor Scaleform 4 / AS3

I just solved my issue in my object (on the stage) I forgot to name the element I'm trying to make workin a custom mouse cursor on my Scaleform menu. I have follow some tutorials but nothing good... ...
Jeremy Talus's user avatar
1 vote
1 answer
683 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 ...
amit.r007's user avatar
0 votes
2 answers
507 views

Do Java and Actionscript use OpenGL?

As far as I know there are only 3 base graphics libraries on Windows, the GDI, OpenGL and DirectX, is that correct, so that means that Java, Actionscript and all language use one of these 3 libraries ...
user3333072's user avatar
0 votes
2 answers
4k views

LAN game in Actionscript 3

I know this may be a somewhat dumb idea, but is there any "easy" resource that anyone can point me towards that shows how to set up a simple LAN connection in an Actionscript application? I only need ...
Nicholas's user avatar
  • 431
0 votes
2 answers
2k views

Building a Flash Platformer

I am basically making a game where the whole game is run in the onEnterFrame method. This is causing a delay in my code that makes debugging and testing difficult. Should programming an entire ...
joncodo's user avatar
  • 293
0 votes
1 answer
718 views

Should a bowling game use a 2d or a 3d physics engine? [closed]

I'm creating a bowling game in flash+as3. I'm new to physics engines, so, to start I've begun to learn Box2D since I've heard it's one of the most popular physics game engines. Currently, I'm not sure ...
user1221672's user avatar
0 votes
2 answers
574 views

Using timer to reverse enemy movement in Flash game made with Flixel

I am creating a 2d flash game using Flixel 2.5 in Flash Builder. I am trying to reverse enemy movement on an interval so that they will move back and forth over a set space. I felt that a timer would ...
Christian's user avatar
  • 261
0 votes
1 answer
993 views

How do I check on non-transparent pixels in a bitmapdata?

I'm still working on my window cleaning game from one of my previous questions I marked a contribution as my answer, but after all this time I can't get it to work and I have to many questions about ...
Opoe's user avatar
  • 149
0 votes
2 answers
4k views

As3 Random movieclips from an array to the stage

For a game with orders and clients I was trying to create the following situation: Every half minute, a client should appear at the counter. In this case I have an array with 4 movieclips (4 clients)....
Opoe's user avatar
  • 149
0 votes
2 answers
2k views

How to start publishing Flash games [closed]

I'm already pretty adept at AS3 and all, and I have plenty of ideas for Flash games that I want to start making. However, I was wondering, when I've made my first one, how should I publish it, and how ...
puggsoy's user avatar
  • 137
0 votes
2 answers
1k views

Changing colour while keeping gradient

I'm making a Flash game with ActionScript 3 and I have a square with a gradient applied to it. I am trying to programmatically changing the colour of the square depending on time, for example, some ...
toficofi's user avatar
  • 657
0 votes
3 answers
631 views

Reproducing several sounds in AS3

I'm trying to reproduce several sounds in a game I'm developing in AS3. The game is like a TD game, and when I got 10+ of the same tower firing at the same time, I hear a horrible: "...
Artemix's user avatar
  • 527
0 votes
1 answer
1k views

AS3 .hitTestObject() not working with Tween function

(This was originally in an other senction but many told me to ask here, hopefully someone can answer this) I am having a major problem in my new browser app. Okay so I made game where different cubes ...
werer cool's user avatar
0 votes
1 answer
236 views

multiple flash timeline animations with actionscript

I am not new to AS3 and Flash but new to Flash timeline animations and controlling them with AS3. Had posted a similar question last week but the solution did not work. Hope someone could help me out ...
ckzilla's user avatar
  • 425
0 votes
2 answers
203 views

Dynamic entities using classes and objects

I'm trying to create a program which involves the creation of several characters/entities. At the moment I have a Base Entity class an Entities class and a Main class. I can handle one entity alright,...
Anim8's user avatar
  • 1
0 votes
1 answer
478 views

How does MMO flash games works? [closed]

I want to know how does MMO flash games work, for example: Dofus and Club Penguin. I want to know if by ony using Adobe Flash and ActionScript you can do MMO games, or if there is other way to work ...
Eujota's user avatar
  • 1
0 votes
2 answers
448 views

declaring variables in a render/game loop: good idea or bad?

I was just wondering how most of you like to declare your variables: for a variable you know will be used and changed frequently (i.e. every frame), do you declare those outside of the loop and simply ...
Eric Dand's user avatar
  • 113
0 votes
1 answer
101 views

Dynamically editing a movieclip at runtime

I am trying to make a flash game(actionScript-3 if it matters) to test what I learned so far. And, in the game, I want to make the character(a robot?) customizable. The first solution I found was to ...
LuckyHorseCoin's user avatar
0 votes
2 answers
216 views

Hide movieclip parts that are out of bounds

I'm making a game where one takes a picture of their face to use on a character. I have them zoom in on the picture, but the bitmapdata extends out of its movieclip. How do I assign bounds to my ...
user avatar
0 votes
2 answers
899 views

Use of FlxG.camera.follow to follow a character vertically

I am developing a prototype for a game in Flixel in which a character floats upward continually to traverse the level. I would like to have a "tall" layout for levels and set the FlxG.camera to follow ...
Christian's user avatar
  • 261
0 votes
1 answer
175 views

Increasing height increases width

I have a game, where the user presses a button to spend money and increase the height of a Movie Clip. I use the following: height ++. The problem: When I test ...
user avatar
0 votes
2 answers
432 views

AS3 Stage3D Mouse click problem?

I have a problem with Mouse interaction and Stage3D. The only way I found to register to listen to mouse clicks and interact with Stage3D, is to add a mouse eventListener directly to the .stage. ...
Martin K's user avatar
0 votes
1 answer
196 views

Why does the player fall down when in between platforms? Tile based platformer

I've been working on a 2D platformer and have gotten the collision working, except for one tiny problem. My games a tile based platformer and whenever the player is in between two tiles, he falls down....
inzombiak's user avatar
  • 121
0 votes
1 answer
4k views

as3 flash game: How to stop gotoAndPlay('label') from looping?

I'm working on a flash game with a main character who helps people around town. It's moveable with the arrow keys because of a function called keyPressed(); When the main character hitTests with a ...
Opoe's user avatar
  • 149
0 votes
1 answer
330 views

AS3 Symbol not showing returns no errors?

I haven't touched Flash in a while and I've forgotten a lot. I'm trying to get a space-ship symbol to show in the middle of the screen. For some odd reason it isn't showing in the middle of the ...
Monstr92's user avatar
  • 219
0 votes
2 answers
2k 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: ...
Dyego's user avatar
  • 67
0 votes
1 answer
3k 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 ...
Opoe's user avatar
  • 149
0 votes
1 answer
132 views

Game state from Web to iPhone version?

I'm currently in the planning stages for an Web and iPhone game. I'm developing it with Adobe AS3/Air. I was wondering if it's possible for people to be able to play the Web version, save their state ...
Phil's user avatar
  • 621
0 votes
2 answers
3k views

AS3 > Mouse Event not happening?

Background: Trying to make a ball appear in the same location the mouse is positioned. Using Box2D Library. Working on a class file (.as) Issue: The mouse event does not work (I click but nothing ...
Gabriel Meono's user avatar
0 votes
1 answer
587 views

How can I respond to mouse events in AS3?

Background: Trying to make a simple "drop the ball" game. The code is located inside the first frame of the timeline. Nothing more is on the stage. Issue: Using QuickBox2D I made a simple If ...
Gabriel Meono's user avatar
0 votes
1 answer
959 views

AS3: limit objects to stage width?

I want to limit the creation of objects acording to the stage width. My method is the following: for (var i:int = 0; i<7; i++){ If I put something like ...
Gabriel Meono's user avatar
0 votes
1 answer
170 views

Vector class throwing an error after publishing the FLA for generating .ipa from flash CS5

I am creating a flash game for iPhone using Flash CS5. Everything runs smoothly when creating the SWF via Ctrl+Enter. But when I am attaching the .p12 and provisioning profile files and publish the ...
Swati Singh's user avatar
0 votes
2 answers
3k views

What technologies were used to create "Dueling Network"? [closed]

I want to make a similar browser online multiplayer game like "Dueling Network" (link below) but for a different TCG. What technologies you believe they used to create it? Could anyone kindly refer ...
AlexN's user avatar
  • 17
0 votes
1 answer
766 views

Animating Tile with Blitting taking up Memory

I am trying to animate a specific tile in my 2d Array, using blitting. The animation consists of three different 16x16 sprites in a tilesheet. Now that works perfect with the code below. BUT it's ...
Kid's user avatar
  • 239
0 votes
2 answers
1k views

Need help starting with a game in Flash/AS3

I am kinda new to flash/AS3. I have written some stuff and now I now the basics of AS. I want to develop a game in which my character moves. exactly like the way Super Mario moves(the background ...
Hossein's user avatar
  • 103
0 votes
1 answer
106 views

Better way than url-encoded query stings to pass data from PHP to Flash?

For the turn-based browser Flash RPG I'm working on, I'm using url-encoded query stings to pass data from PHP to Flash. Basically, Flash posts a request to PHP, then PHP pulls some data from a MySQL ...
BladePoint's user avatar
0 votes
2 answers
71 views

Is there any way to change the layering of objects in Actionscript 3 without altering the run order?

I'm making a simple platformer in Adobe Animate, and I need the player to be layered in front of the stage because of a gimmick in the game. Unfortunately, whenever I change the layering order, it ...
user111981's user avatar
0 votes
1 answer
187 views

Character jumping but not returning to ground platform game AS3

I am making a platform game where the main character moves right and left and jumps however my character jumps and does not return to the ground but stays on top of the stage.My characters movie-clip ...
Hamza's user avatar
  • 103
0 votes
3 answers
213 views

Camera and enemy behaviour in AS3 platformer

beginner in AS3 here. I am working on a platformer game based on the code of a provided example exercise. I have the following problem: I have an enemy who shoots bullets. The enemy is the parent, ...
Daniel Angel Diz Garcia's user avatar
0 votes
1 answer
163 views

AS3 Client not sending movement to server

I am having trouble with multiplayer player movement in my game. The client is in AS3 and the server is in C#. Here is my problem: When I first launch the game, it connects to the server, and ...
Quasar Xrt's user avatar
0 votes
1 answer
566 views

AS3 Air - Custom slider - limit drag position

I'm facing issues with finding the right solution for detecting and limiting the Sprite object "Knob" moved on y axis inside it's parent sprite "Frame", using FlashDevelop 5. Using ...
That Marc's user avatar
  • 123
0 votes
1 answer
648 views

AS3 random events using a timer

I'm making a game for an assignment at university. The game I am making requires random household appliances around a house to "turn on" at random times. The player must run around the house turning ...
Job4aC0wb0y's user avatar

1
3 4
5
6 7