Adobe Flash is a cross-platform multimedia runtime used to embed animations, video, and interactive applications into web pages.

learn more… | top users | synonyms

1
vote
1answer
223 views

working in external actionscript file does not show anything on the screen?

I'm writing this code in Flash builder and I tested the file in flash, but nothing appears in the swf file. (no text in the screen show , i don't know why) Is there any missing property in the code? ...
1
vote
1answer
181 views

Help with converting an XML into a 2D level (Actionscript 3.0)

I'm making a little platformer and wanted to use Ogmo to create my level. I've gotten everything to work except the level that my code generates is not the same as what I see in Ogmo. I've checked the ...
1
vote
2answers
434 views

Generic item collision/reflection in Pong (Flash)

I am trying to find a good way to handle ball/paddle collisions/reflections in Pong. I've tried the "naive" approach of just checking x and y coordinates against each other, figuring out where the ...
1
vote
1answer
249 views

Developing internet sweepstake games

I have absolutely no idea about game developing but want to know following things about internet sweepstake games: Click on demo and play any of the game. What technology (programming language) is ...
1
vote
1answer
100 views

How should I animate sprites with separate body parts?

I am not an artist. I have a 2D Sprite broken up into different body parts that I want to animate. I know how to do it in Unity, but every artist I know would prefer to use Flash. I am trying to ...
1
vote
1answer
88 views

Is Flash (Flash/Flex/AIR) a still maintained technology (either officially / 3rd party) suitable for Web Player (linux) and mobiles? [closed]

Today I use Flash Player 11 since it's the last one released by Adobe, for linux-based OSs. The same applies to Flex/AIR platforms: I use Flex 4.1.4 and AIR 2.6, while Windows and Mac systems have ...
1
vote
1answer
501 views

Syncing world in a multiplayer

I have been working on a client-server architecture for my multiplayer game. The server is used for communication between Clients. There is no cheat control because I trusting all clients :) I don't ...
1
vote
1answer
830 views

Rotate Box Sprite With Circle Body

I want to rotate my rectangular sprite with circle body. The problem is the body doest not attached to the centre of the sprite. This was the default behaviour of the body and sprite. But I want that ...
1
vote
2answers
764 views

Use FlxAnim to Animate a FlxSprite in Flixel on FlashBuilder

I am trying to animate a FlxSprite, whose image I loaded from an embedded sprite sheet. I instantiate the sprite like this: // embedding a png file given a relative path [Embed(source="../...
1
vote
1answer
1k views

How fast do games in Flash C++ Compiler execute compared to C++?

Flash Player can now run C++ code, that is cross complied with the Adobe Flash C++ Compiler. How fast does such code run in comparison to a C++ application running as an EXE, in the context of gaming? ...
1
vote
1answer
1k views

How to center a game in Flash Projector (like AdamAtomic's CAPSULE)

Adam Atomic's game Capsule is a flash projector. If you press escape, the game goes out of fullscreen and just shows windowed. How do I get my (FLIXEL/AS3) game to show up centered like that?
1
vote
1answer
151 views

1 kb swf file created when building to flash in unity

I am trying to build a project in flash that I have made. It goes through its building process, but when it is done the swf file that it creates is 1 kb in size. I am not sure what I am doing wrong or ...
1
vote
2answers
512 views

Design Pattern for Social Game Mission Mechanics

When we want to design a mission sub-system like in the The Ville or Sims Social, what kind of design pattern / idea would fit the best? There may be relation between missions (first do this then this ...
1
vote
1answer
2k 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 ...
1
vote
1answer
515 views

help a 2D image onto a 3D cube

I am just diving into the Stage3D APIs for Flash Player 11. I am trying to figure out a simple way to display isometric 2D content that gets blitted from a sprite sheet onto a 3D cube. The idea ...
1
vote
1answer
243 views

With flash/flex games talking to backend, is it pull only or can the game server push?

With flash based games (or flex), is it a pull or request/response system or is it possible for the game server (say java based) to actually push out to its remote flash clients?
1
vote
2answers
1k views

Flash Custom Events

I am working on a Flash Tower Defense game. I have a main game loop which is an eventListener for each frame. Whenever you gain money or lose a life, I want the GameUI to be updated to display this ...
1
vote
1answer
158 views

Flash animation or Sprite sheet animation good for Unity mobile games

I would like to develop dress-up and cooking kind of games. So it needs lots of animations. Our designers done the animations in the lash. I found the plugins callued GAF and UniSWF to convert flash ...
1
vote
1answer
43 views

AS3 - Increase tint as health decreases

I'm working on a game where enemies continually spawn with more and more health based on how long you've been playing. As the enemies take damage, I'd like their sprite to get darker and darker, until ...
1
vote
1answer
419 views

Framerate on AIR for Android - Actionscript 3

I am currently working on making Android apps using AIR for Android. This is a sample file and package that I am running to test the FPS and Memory usage of my application while it is not even doing ...
1
vote
1answer
477 views

Mouse follow precision in flash

I am trying to implement a simple movement for one of game objects in flash/ AS3. I am using mouseX, mouseY for my object to follow the mouse pointer. It works fine but the problem is the precision of ...
1
vote
1answer
107 views

How do I combine matrix transformation with non-uniform screen scaling in Flash?

I'm using a Flash transformation matrix for affine transformation. I have a rectangular image being rotated and scaled (in 2D). There are two sets of scaling variables, ScreenScaleX and ScreenScaleY, ...
1
vote
2answers
638 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
610 views

How can I get my Flash game to scale to all mobile device screen sizes?

I want my application to automatically scale its size depending on the screen size. I want my application to fit any screen size automatically. I am making my application for mobile devices, how can I ...
1
vote
1answer
203 views

A controlled trapezoid transformation with perspective projecton

I'm trying to implement a controlled trapezoid transformation in Adobe Flash's ActionScript using the built-in perspective projection facility. To give you an idea of how the effect looks like: http:/...
1
vote
1answer
2k views

How to check the device type using Adobe AIR for iOS

How do I check what kind of device the user is running my Adobe AIR app on? Example: if(device == ipad3) { stagestuff.width = 300; }
1
vote
2answers
342 views

Zelda like multiplayer combat

I have in mind coding a multiplayer game with a similar combat to zelda's. Since i will use flash, i'm limited to use TCP. My question is, is this goal possible? It's not as fast-paced as some ...
1
vote
1answer
1k views

Create and use a Button class on AS3.0

I am currently working on a game and it is all going well. On the shop screen there are several buttons that affect the player's stats for when the player restarts the game. The button's names (with ...
1
vote
1answer
723 views

Box2D Bicycle Wheels Motor Problem - Flash 2.1a

I have made a bicycle with Box2D using several polygons for the frame at different angles connected using weld joints, and I have revolute joints on the wheels with a motor. I have made some basic ...
1
vote
1answer
550 views

Problems with Level Architect, Citrus Engine, Flash

I am using the Citrus Engine to make a Flash game, and the Level Architect doesn't work well for me. Firstly, when I first launch it and open my project and my level, nothing is shown, no assets and ...
1
vote
1answer
528 views

Load individual sprite from a sprite sheet and make it a FlxSprite

I'm using flixel and flixer power tools which contains a FlxButtonPlus class that allows me to load 2 FlxSprite as each button state, the problem is that FlxSprite requires a Class a its source but I ...
1
vote
1answer
787 views

Is there a 2D soft-body physics engine for Flash?

I'd like to write a small physics game by using ActionScript, but do not want to write my own physics engine. Does anyone know a ready-to-use 2D soft-body physics engine with a Flash port?
1
vote
1answer
823 views

How to make a customizable 3D character with maya for a flash game [closed]

i'm working in a 3d flash role-playing game with alternativa 3d engine. My game requires the main character to be customizable, for example, the player must be able to add a mustache, a hat, a tie, ...
1
vote
1answer
352 views

Can flixel or a similar engine be used with reddwarf server?

I like the sgs/projectdarkstar or now known as reddwarf server for a back end game server. However I am looking for a good front end, preferably 2D. I was thinking of something such as flixel. I ...
1
vote
1answer
172 views

Is there a memory read/write or performance difference when applying affine transformations on a movieclip rather basic elementary math

I am using Actionscript 3.0 to make games and I fall into the category of programmers who use ball.x+=5; ball.y+=5; in order to move a ball by 5 pixels horizontally and vertically. Well, now i seem ...
1
vote
2answers
1k views

How to implement Long Polling with PHP and flash?

I'm trying to make a multiplayer game but am a newbie to server side programming except that I know a little PHP. I learnt about this technique called long polling where the server can wait for fresh ...
1
vote
1answer
718 views

Pros and Cons of AMF in multiplayer flash game?

After trying to use red5 for my turn-based multiplayer game, I've decided to give AMF a try using amfphp, because of the expensive media server hosting solutions. (With AMF all I need is a web server)....
1
vote
1answer
55 views

How to create UI for 2D games? [closed]

I'm working on a game using Haxe + Flambe but I'm having a hard time making the UI part of it (main screen, level selection, etc). And I began to think... is there another way? I would love to have ...
1
vote
1answer
40 views

Performance problem with porting my Flash game to Adobe AIR

I've made a game with flex SDK that I want to port to PC (to have executable) and I think the only way is AIR. So I've done the AIR wrapper but the performance is very bad, since my game is fast ...
1
vote
0answers
54 views

Host Migration (P2P) with RTMFP and AS3

I was wondering if this is a possibility with RTMFP since it acts like UDP/P2P.. Host Migration Player A starts and host a game.. Player B and C connects.. Player A quits.. Player B is now ...
1
vote
0answers
50 views

How to create animations for a game like Creative kill chamber?

Lately, I have been playing Creative kill chamber game (https://www.youtube.com/watch?v=SW6PyOy34fY). This game is a flash game where gameplay is "hardcoded". I mean, it is a game where player can ...
1
vote
0answers
179 views

How do I create this type of mixed 2D/3D character model?

I'm interested in how this little Lively Hamster Flash game's character is modelled and animated. The head seems 3D. The back always shows a black outline, so I assume it is 2D. Is this a Flash-...
1
vote
0answers
164 views

How do I pause and resume a game in ActionScript 2?

I'm making a game where the player must avoid random falling objects. I dont know how to implement pausing. I've been stuck on this for 2 days! I tried using gotoAndPlay and such, but the objects ...
1
vote
1answer
166 views

Multiple animations on flash timeline

I am working on a game inside Flash with ActionScript 3. I have a horse game object with different animations for Walk, Run and so on. I have never worked with different animation types with Flash ...
1
vote
1answer
217 views

integrating leaderboard from Newgrounds in flash game [closed]

I have made flash game and I want to show a leader board in that game. I have uploaded my game to kongregate.com. I have made a scoreboard there with the name of overLoadScore (overload is the name ...
1
vote
1answer
163 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? public class Images { public static var image_1:...
1
vote
0answers
435 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 ...
1
vote
1answer
124 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 ...
1
vote
0answers
216 views

How do I make a custom tileset for Flixel that supports autotiling?

I've been Googling this problem for a while now. I'm currently porting one of my Java games to Flixel, and I want to use the original 16x16 tileset I made. In the original game I implemented my own ...
1
vote
2answers
384 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 ...