Imagine a multiplayer whiteboard where several people can draw at the same time. To keep it simple, lets say there's a single object on the whiteboard which can be moved or deleted by any user. There is no notion of user-owned objects (i.e. it's important that any user be allowed to manipulate any object... it's a free-for-all whiteboard)My problem is this... if two users try to do a different action on the object at the same time, i.e. one deletes it the other moves it, what happens?
Right now- in just letting the messages go through, it gets all out of whack.One idea was to have a serverside control which resolves who has control of the object, and nothing is allowed to happen clientside until that conflict is resolved. Conflict resolution can be based on a first-come, first-serve basis.Even though this can happen very fast, the small delay (~50-300ms) is unacceptable since movement must be instantaneous on the client side. For example, instead of manipulating objects, think of a pen. For there to be a delay till they've already started drawing... not good!
Another idea was to have a "request control" button, which asks the serverside extension for control.... same idea as before, but now they aren't frustrated by the initial delay of pen drawing. This is also not so good though since they must hit that button till they can do anything, and this whiteboard is really meant for kids..
I'm having a strange problem w/ race conditions when using attachmovie. I have a class linked to a movie clip that I'm attaching to the stage. The class is fired off when the movie clip is attached but also other classes are getting loaded at the same time while the movie clips is attached. Even though the other classes are called after the movieclip is attached, they are getting loaded faster and therefor the class linked to the attached movie clip cannot access their functions. I'm looking for a listener that will fire off an event ONLY when the attached movieclip is fully loaded but I can't seem to find any examples of associating a listener to a attachmovie method.
I'm having a strange problem w/ race conditions when using attachmovie.I have a class linked to a movie clip that I'm attaching to the stage.The class is fired off when the movie clip is attached but also other classes are getting loaded at the same time while the movie clips is attached.Even though the other classes are called after the movieclip is attached,they are getting loaded faster and therefor the class linked to the attached movie clip cannot access their functions.
I'm looking for a listener that will fire off an event ONLY when the attached movieclip is fully loaded but I can't seem to find any examples of associating a listener to a attachmovie method.
i want to develop AI car(opponent) in car race game what should be my direction to develop them with less complexity because i don't have any idea. because the player car is moving on the scrolling track plz suggest me should i have to use relative motion or way point concept but that should also be change on the scrolling track (i.e. player car movement)
I want to put a whiteboard on my website so users can draw something and then save the image to the server containing the drawing. Are you aware of any open source/free already made whiteboard application out there ? I also need the save image function.
How can I make a Flash Application that can be shared? Shared in the sense of like a paint box. If someone is painting there then the painting must be shown to all users. This means each user can write and edit in the paint box at the same time..
I am new to Flash. I downloaded the whiteboard component and it is really cool. I am trying to include a button to the component so that upon button click all the drawings like rectangle, line, arrow etc., must get cleared.
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.
I have prepared a CUSTOM WHITEBOARD. This whiteboard is shared by two clients. They BOTH can draw on the board using TOOLS in the WHITEBOARD PANEL SET of the application. When someone DRAWS I do following actions:
1: Capture the WHITEBOARD FULL AREA/CANVAS using jpgEncoder().
2: Then I send this BYTEARRAY to the FMS server as Remote Shared Object.
3: The client then draws that RSO onto the WHITEBOARD.
Pretty simple though.
BUT, I am having synchronization ISSUES. The issues are as follows:
Issue 1: Image updates with no synchronization and seems to be zig-zag/random when they both draw at a normal speed.
I am creating an application that will allow users to model system information by allowing them to Drag and Drop objects from a Flex Tree into some sort of canvas/grid ie: like a whiteboard application eg: Visio/MS Powerpoint etc. The application requires the following functionality:
Drag and drop items from a Tree to some sort of canvas/grid Move items within the canvas/grid Delete items from the canvas/grid Resize items in the canvas/grid Save the position of the items to a database Has good performance in terms of rendering components with images I am not sure which Flex component is best suited to the canvas/grid. I was thinking of using either:
Datagrid or (can't drag/drop to cells easily though) Grid or (can drop to cells via gridrow/griditems mxml tags) TileList or (problem with this is that it rearranges all items when you move 1 item) some other list? I think the grid would suite my purposes the best as it would enforce objects to be placed within a gridrow/griditem.
Is flash 2.0 able to access two computers at once? I was thinking of making a system that could work like a text instant messager and the ability to use a very primitive drawing system to send other people pictures. If anyone knows if it can be done could you point me in the direction to start?
I am pretty good with C++, very good with PHP and MySQL, CSS, HTML, and JavaScript.What I want to do is make an online game where 2 people can play against each other online They will be able to pick their uniforms which will be saved to a MySQL database, and the uniforms will show the color they picked when they play online.Now I just want to know where to get started her
i've been looking in to making a multiplayer flash game.I downloaded and installed SmartfoxserverPRO with all the example files which are really awesome. I understand the idea/concept for those simple games like tic tac toe.So i'm here looking for information on making savable data to start off simple maybe just being able to save and store records for a tic tac toe game.
I am currently thinking about the best multi-platform language to build a multiplayer app with, and I was just wondering if anyone knows if AIR supports multiplayer locally between devices i.e over a LAN or bluetooth? Would I need to run some aspects of the game via a server?
Not to give too much away (of the game idea) but it would be similar to a "Simon" type game, with the only info being passed to each device either a score/amount of moves to beat or other simple piece of data.
Is there any free Open Source Multiplayer Flash Game (like Happyfarm... in facebook) that I can use and build my own small network?What I'm looking for is the source code of some Multiplayer Flash Game (like http:[url]....for example)I do not know to much thing to talk about it, but if there is some, I hope:
+The game can run without any other system (not a plug-in or mod)
+If there is server-slide script, it should be PHP
this question has been bugging me for a year. Basically I'm trying to replicate Club Penguin (multi-player game for kids who are their own penguin who play other penguins who are other kids online). So far Ive got it working: [URL]
but it creates a horrendous cache of XML as it simply sends and receives an xml file between players (poleing I believe). I want to convert this to a socket connection. However I really want to know: -do you need your own webserver (I have an old PC I can convert to one fine), but how do I set it up (php, Red5?) -the examples I have refer to old versions of Flah and sometimes use the (legendary Senoculars) class KeyObject.as So ~ I know what I want to do Ive got half way there anybody know the other half?
I am in the progress of making a game....its based off of the TV Show, Charmed. I want to try and make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this?
I think it's time I tried making a Flash project where multiple visitors to a website interact with one another. (I think this is called remoting, but I'm really not sure.) I'm currently deep into AS3, but would like to know how to implement an online multiplayer (or multi-user, I guess) system in both AS3 and AS2.
Where's a good place to get started? In particular, what online resources are available for someone interested in these technologies? And how do I test what I create- preferably, on one machine?
I am in the progress of making a game....its based off of the TV Show, Charmed. I want to try and make it an online multiplayer game so three people can play online together as a team. Is there any possible way I can do this? If there is.
I want to make a simple game so that I can play against my friends at school. The school uses macs. Also if you can't make online games with flash what can I use. Also can they be 3-d if I eventually get good at making games?