Actionscript 3 :: Network Game By Adobe Air Programming In Adobe Flash
Dec 28, 2011
I want to create a simple game (Adobe Air) based on 2 players using ActionScript 3.Let's assume I want to create online chess game.So that I can play with my friend at work, at home, from anywhere via internet.Should I use flash server? Or something similar for this purpose, or there is simpler way to connect 2 players and make fully functional interaction between them?
View 2 Replies
Similar Posts:
Nov 26, 2009
What Approach can you use to Connect Adobe Air Application to a Local Network? Examples of function is send a message to other computer that is connected to a network, sending files or viewing their desktop.
View 1 Replies
Sep 8, 2010
We have 10 Windows computers on a small unmanaged gigabit network with a DD-WRT Linksys WRT-54GS router and Dlink 2208 hubs, and were having problems with the network dieing, and nobody able to reach the internet or other computers on the network. It started happening suddenly. There are additionally 3 VOIP lines on this network too and they would be killed.
In troubleshooting, I could see an enormous amount of activity coming from one section of the network. Disconnnecting this segment brought the network back online and functioning correctly. Further tracing based on the flashing lights on the front of the hubs narrowed the problem to one computer, a new Windows XP-64 bit computer. When I brought up the Local Area Connection Status in Windows, I could see an enormous number of packets being sent.
Close to a million packets per second were being sent from this computer.Adobe Flash Player (ver 10,1,82,76) was taking a tremendous amount of CPU time for an idle computer, and killing this in task manager resulted in the network coming back alive immediately. Is this a known problem with Adobe Flash going nuclear and killing an entire network?
View 7 Replies
Nov 3, 2011
I manage a number of academic computer labs, three of which are Mac OS X 10.5.8 units with Adobe Flash CS5 installed. Users log in using AD credentials and the client computers are managed with settings in OD Workgroup Manager (MCX records). The AD plugin is set to not force local home directories and users' home directories are located on network storage. ~/Library/Caches/* has been redirected locally, but no other folders are redirected.
Users have been reporting an issue where Flash sometimes appears to freeze during loading. I've been told this has been happening for about two semesters, but I was not aware of the issue until today. It sounds like students have been powering off the machines and logging back in, and hoping Flash will work on that attempt. When a 'freeze' is encountered the Flash splash screen appears and the status below the "Adobe Flash Professional CS5" text states it is "Copying First Run Files..." Checking the console, I can see that Flash appears to be attempting to access files, but is encountering issues. Dozens of times, I see errors like the following:
11/3/11 3:17:41 PM /Applications/Adobe Flash CS5/Adobe Flash CS5.app/Contents/MacOS/Adobe Flash CS5[2801] Allocator race detected: transaction is not verified for -112/2 - Library/Application Support/Adobe/Flash CS5/en_US/Configuration/ProcScripts/svg/LineBrushArt10.svg [code]....
Messages like these, but listing different files, have been going on since I launched Flash at 11/3/11 3:06 PM.
View 2 Replies
Aug 20, 2011
I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?
View 1 Replies
Oct 10, 2009
I just read a good tutorial at [URL] about creating simple apps with AIR/FLEX. What are some similar pages and/or good books that I can read to move from "beginner" to "novice"?
View 2 Replies
Apr 16, 2011
For example, in local network, when Adobe Air is reading files from local server (\Serverstorage) and network will be in down for a second, Air becomes eat a lot of memory and it is increasing up to 1GB (while normal memory use is 100 kb or less).Just reading file with File('file path on local server'); from unstable network can cause this error.
Have anybody seen that in projects?
private function init() : void
{
file = new File("\Serverdragracing
[code].....
View 1 Replies
Apr 22, 2010
I was wondering if it would be possible to write a file, not to the local system, but to a connected server or other network path. Would i have to use an external php interface for this or can i entrust this to the AIR framework?
View 2 Replies
Mar 3, 2009
I can download a pdf manual from adobe called 'programming actionscript 3'. I was wondering if it is also possible to buy a printed copy? Already looked inside the 'store' section, but couldn't find it.
View 3 Replies
Apr 26, 2010
Basically the objective is to click on certain targets, which upon doing so would destroy the target and garner you points. I've written a macro to help me until the point where its impossible to even see the target more than a mere flicker, (maybe even less than that, i cant see it with my eyes). But its possible because i believe others have done so. (Maybe on slower comps?)
Anyway the question is, how would it be possible to slow down the flash game?
I've thought of a couple of ways that could work but i'm not sure how to implement them.
1. Slow down the cpu speed? (smth like that? how?)
2. As the game progress the time the targets appear and stay up is reduced. Maybe theres a variable controlling all of this, isit possible to modify the address of this variable? freeze it or smth?
View 2 Replies
Nov 30, 2011
I am currently trying to run a flash game on Android and iOS using Adobe Air.While Air works nicely to run the app on Android, I experiment troubles with iOS. I am actually able to generate a .ipa package and install it to an iPhone (via iTunes). However, when I launch the application from the iPhone, nothing happens (black screen).
I then generated a debug .ipa which connects to a FDB debugger running on my computer, and the debugger shows the given fault when the app is launched:
#error 1107 the abc data is corrupt attempt to read out of bounds
Searching the internet didn't helped much. The issue is known [URL] but this does not help in my case. Someone had the same error and fixed it by removing some 3D tween animation from his flash app [URL], but I doesn't use tween.
Notes: I tried on iPhone 3G and 4S and the result is the same. The game is coded via haXe, which generates the .swf file. This main swf file uses other swf and xml files, which are present in the .ipa generated by Air.
View 5 Replies
May 12, 2010
Well, the title said everything, I saw some very nice effects using After Effects, but I want to apply those to a Flash game.. will it be useful?, or After Effects only works on cut scenes, animations, etc?
View 1 Replies
Jun 1, 2011
I'm building an Adobe AIR application (2d platformer adventure game), utilizing the Flash Builder 4 IDE, which will be packaged on a CD for installation. I've embed the majority of the game assets into a static class to keep it simple and organized. This way I can reuse assets and swap them without much digging.
Example:
[Embed(source = "../data/gfx/spritesheets/boyHero.png")] public static var boyHero:Class;
In the early days of the projects, everything went to plan. However as the project has grown to be over 28MB, I've started to run into Out Of Memory errors. These occur when I add new assets, refactor for a while, or add new classes. Once I get this error, I can restart FB and then work for another 15-20 minutes. I've modified my .ini file bump up Flash Builder 4's memory allocation. It's currently set at:
-Xms512m
-Xmx1024m
While I'm at it, here are the specs/plug-ins that I've got installed:
Flash Builder v 4.0 (build 272416)
JNA Library 3.2.7
subclipse plugin 1.6.17
subversion client adapter 1.6.12
subversion JavaHL Native Lib 1.6.15
SVNKit lib 1.3.5.7406
Mac OSx v 10.6.7
2.53 GHz Intel Core 2 Duo
4GB DDR
My Questions:
1) Is the issue with the path that I've chosen for the way I'm handling in-game assets? I am streaming in some assets such as tutorial swfs which are loaded via the SWFLoader. I could go this route for all assets... but, should I? Is this the right way to handle a disk game? (The game runs without a hitch when installed on QA machines...)
2) Provided the embedding of static assets isn't an issue, Is this a FB4 bug? Where should I head for more information?
View 1 Replies
Dec 23, 2010
In my machine I have installed only Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?
View 12 Replies
Nov 9, 2010
I'm a Flash newbie that wants to make a Flash game. However the only explenation on making a Tower Defence game that I've found is this one[url]...
It however uses a program that's unknown to me while I got Adobe Flash Pro. CS5 (Trial version) after some googling.
View 3 Replies
Feb 23, 2011
I want to develop a web application that when a user is login the game will automatically search for oppents onlinethat are accessing the same website. I want to design a chess game that does not contain any AI programming. What I want is that a simple chess setup that online user can only play.
View 1 Replies
Feb 14, 2012
I've recently tried FlashPunk for game development and it seems to be easy enough to comprehend, however, when me and a friend tested simple apps coded in it on the iPhone, it seems to be acquiring an unnecessarily large amount of memory plus dropping framerates.
Are there any other choices for game development with ActionScript 3 with frameworks that are optimized for mobile gaming?
View 2 Replies
Mar 26, 2012
I already made a game with flash builder 4, and I want to provide an easy download for people that would rather play offline. Thing is, i use a folder whole structure to dynamically load content per level. Folder structure looks like this, not that it matters that much:[code]How should I go to distribute this? Should I just resort to make a zip file for the flash game and assume people know how to extract and open the swf? Is there any other way to port easily as an executable? Perhaps Adobe Air (not sure if this works though)?
View 1 Replies
Aug 26, 2010
After installing the latest version of flash (10.1 I think) it keeps crashing while playing on a game that requires it. I have uninstalled and reinstalled and it just keeps happening.
View 2 Replies
Sep 9, 2010
I am a beginner to flash gaming. I am making a platform game, but can not reverse my character when he goes backwards. This is my code for left and right: if (Key.isDown(Key.RIGHT)) {_x += speed;} if (Key.isDown(Key.LEFT)) {_x -= speed;} How Can I reverse it so when it goes LEFT, the character turns all the way around?
View 4 Replies
Oct 28, 2010
Since Apple loosened their terms again, is it posible to develop a game in FLash CS5 and publish it on the Apple App Store? Are there actually any real apps / games on the App Store that were build on Flash?
View 1 Replies
Jun 13, 2010
I am currently working to a Role-Playing Game in Adobe Flash CS3 with ActionScript 2. I must include doors inside rooms, but when I do that, my player dissapears. I use this code:
Code:
...
for (var i = 0; i<mapHeight; ++i) {
for (var j = 0; j<mapWidth; ++j) {
this.attachMovie("tile","t_"+i+"_"+j,++d);[code].....
View 1 Replies
Apr 19, 2011
Can u recommend me a good book/e-book/tutorial to network programming in as 3.0 ? I'd like to create a multiplayer game.
View 0 Replies
Jan 27, 2011
How can i make the Augmented Reality applcation on Android mobile phone (HTC Nexus One) that i have developed using the flash platform faster, since flash doesnt support OpenGL for 3D graphics. Can I make it faster using GPU Acceleration? Or there is any way to combine Flash and OpenGL? Any online sources talking about this subject will be very useful..
View 1 Replies
Oct 16, 2011
I have created AS3 APP that works with [URL]..The application works fine on my desktop, but if i upload it on my webserver, the flash sockets does not work, it connects but i'm unable to send or receive data.
View 1 Replies
Feb 12, 2010
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
View 1 Replies
Feb 20, 2010
I can't find the line in the Adobe samples for a maze game where the actual .as code is included into the project. This is fundamental, since my own implementation is just using include "file name";, which isn't working. I also can't use import, since I then can't access the elements placed on the stage.? The files are available here http:[url]....
I tried to debug the code, but I can't even find the point where the constructor is called. The execution starts at "stop()" in frame 1 and then if you step into it, calls the enter frame event handler.
View 1 Replies
Oct 26, 2011
I'm doing a simple drag and drop number game for kids. Once the user places all the numbers and presses the go button (btn_go) how do I get a another button appearing after the user has click the go button?
View 2 Replies
Jul 20, 2011
I wish to program a Pacman game, only it's designed with perspective (3d-like). Since the vertical lines are diagonal, I would think the best way to approach this would be to draw the maze with simple line shapes, then restrict the movement of all objects to those lines (let's call it "thePath"). The movement of objects would be determined by the angle of each segment of thePath. This gets complicated once I need the computer-generated enemies to both move along thePath, and to determine the shortest path to the Pacman.
View 1 Replies
Mar 21, 2011
Multiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
View 2 Replies