AS3 :: Flash - Library For Multiuser Drawing Application
Feb 6, 2012
There are several flashbased painting/sketching online apps that allow multiple users to paint simultaneously. Some examples: [URL]For a project, we want to implement something similar. The question is, whether we need to start from scratch or whether there are any libraries available that could facilitate development (especially the networking part).
View 1 Replies
Similar Posts:
Mar 9, 2009
I'm trying to make a multiuser (Flash Media Server 3 compatible) version of Pictionary in AS3.(Using Flash CS3).The part that is particularly confusing me is "how can I refresh the drawing on the screen of the user who is not currently drawing?"Looking at them both they are not drawing "real time" but instead refreshing the drawing every second or so. That would be fine for me... I just can't figure out how to share the drawing. (Essentially taking a snapshot of the current state of the drawing and sending it to the other players.)Currently I'm trying to send mouse position data to the SharedObject and then back to the drawing tool but this just creates a data lag and it doesn't show on the other player's screen.
View 2 Replies
Oct 31, 2011
I am making a flash app where I want to have a user defined viewport like the stage in the flash IDE which the user can use to define objects that have a starting postition somerwhere off or on the stage and an ending position either or on or off the stage with the object then tweening between the two points. My question is this: I want the user to be able to define a curved path for the object to tween along. Is there a library of code that I can use to define curved paths for the app?
Ideally I would like something similar to the functionality available in Flash, so a bezier curve sort of path that is subdivided into handles that can be dragged to define the path of the tween. If there isn't an existing library, then do you know of the functions that I would need to define (mathematical equations related to drawing curves etc)?
View 1 Replies
Aug 8, 2011
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..
View 1 Replies
Feb 22, 2009
I'm trying to make a drawing program in Flash 9 (AS3 ) which will allow the user to make their own caravan decking design. I'm having trouble getting it finished as I have only been working in Flash for about a week. Please see attached files.I think I'm on the right track, but heres 4 things I need to complete the work:
Add Object Focus: When the user moves the mouse over one of the decks I would like the decks border colour to change (0xFF0000) and to activate focus.
Add Object/Clone Copy: When the user starts to drag the deck and the deck has focus I would like the program to instantly clone that object to simulate the decks having an unlimited number.
Add Rotation: When the deck has focus I would like the registration point to be reset to the middle of the sprite. Currently I only have it working on one.
Add Collision Detection: I will have a basic drawing of a caravan in the middle of the screen and I wish for the deck to never go over the border of the caravan. When the user let's go of the mouse I would then like the collision detection to include both the attached deck and the caravan.
View 0 Replies
Feb 19, 2010
I have a drawing application likewhere the user can select a brush size to draw.I need a way to determine that all the surface has been drawn.
View 2 Replies
May 30, 2009
i make good Online Mulit Drawing example for you herethere is a Socket Server that i made, and swf to.
View 2 Replies
Apr 20, 2007
I have a potential project where a 3D object will need to be generated based on user input.
Is there a good 3D drawing library available for ActionScript?
View 7 Replies
Jul 15, 2011
I need a custom multi-user multi-chatroom app to extend an existing Flex app that I have.
I obviously wouldn't like to develop it from scratch, but focus only on the customizations and integration.
Are there any products (free or commercial) that provide multi-chatroom functionality from which I could start?
View 3 Replies
Nov 6, 2011
I know Sprite.graphics is pretty easy to use, but I was wondering if there is any ready made libraries for drawing, resizing, moving, layering, etc.. of various display elements? Also, stuff like tool selection, maybe some effects, premade shapes. Anything you would recommend?
View 1 Replies
Apr 10, 2010
i've created a simple drawing application with colors, a clear button, and a save function, but my problem is i want what people draw to become the head of a character in my animation.I would LOVE a transparent backround too to whatever they draw,
View 3 Replies
Mar 10, 2009
how can i do export the image that drawing in the application (swf file) ontime . i 'm design the flash application that you are drawing , switching the brush style and font and .. but i don't know how can i save the image that draw in .
View 1 Replies
Jul 28, 2009
I wonder which component to extend in Flex 3 in order to make a drawing stage.
View 1 Replies
May 16, 2010
I found this code on a forum which allows for an undo and erase button for a drawing application (and is perfect for what I need) but it's in AS2 and I can barely make sense of it:
Code:
_root.attachMovie("canvas", "canvas", 0);
d = 0;
[code].....
View 5 Replies
Jun 24, 2009
How to make multi user drawing application in as 3.0
View 8 Replies
Apr 8, 2011
So i have a project i am working on that is a drawing application. I am trying to put a brush size slider into the application but i have no idea where to even begin.I am very new to flash/actionscript so i dont know where to start.
View 9 Replies
Jun 14, 2011
I have this: [URL]. And would like to be able to stop drawing when dragging the added picture. The thing is, the drawing App is inside the fla. The Drag and Drop is an external class. What I think myself is I probably have to change the entire drawing code to an external class also, but then I'd still not know how to have those 2 classes communicate with each other.
Fla file:
PHP Code:
Draw API Marius Posthumus
import com.adobe.images.JPGEncoder;
Importsimport flash.display.Shape;
import flash.events.MouseEvent;
import flash.display.BitmapData;
[Code] .....
View 10 Replies
Jul 9, 2010
How do I create a simple live drawing board/whiteboard functionality using flash as3, and flash media server 3.5.
View 1 Replies
May 27, 2011
I am using a custom Flex skin to create an active blur/frosted glass effect on the background of floating Panels, TitleWindows, and other containers (similar to http:url....). There is a background image in the Application skin, and potentially any number of other components above and below the active blur component. Here's some relevant code within the skin:
public static const BLUR_FILTER :BlurFilter = new BlurFilter(16, 16, BitmapFilterQuality.HIGH);
private var _bitmapFill :BitmapFill = new BitmapFill;
private var _matrix :Matrix = new Matrix;[code]....
Unfortunately, the performance of this when the component is being resized, and especially when moved, is poor. There is noticeable drag delay and overall slowdown, and this is with only one popped-up TitleWindow in the test application. There is especially poor performance when components inside the TitleWindow are changed (button hover states, etc.)I've attempted to optimized a little bit by avoiding reinstantiation of the blur filter, bitmap fill, and matrix, but this has had little or no effect. I removed the blur at one point, just drawing the Application to a bitmap, and the performance is still poor, so it's clear that it's mostly the BitmapData.draw() call.
I've read about using scrollRect and cacheAsBitmap, but I'm not sure where to apply these properties (or other optimizations I'm not aware of) within the Application or its components.
View 2 Replies
Aug 12, 2011
I am trying to make my flex app work on Android, and that involves making an AIR app to run on Android. Seeing as the flex app needs the mic, an AIR app is required. I am using flash builder 4.5 on win7 with air 2.6. The trouble seems to be that most of it is now not available. For example mx.containers is there, but not mx.containers.viewStack. I notice that there are obvious equivalents in spark for some components but not others. VBox, HBox, Canvas VDividedBox, AdvancedDataGrid and associated custom renderers are the components my application uses the most. What is the fastest way to make this work on Android, I am under time pressure. Is there a site somewhere that recommends the best way to do this, and what components can be replaced with which?
[URL]
View 1 Replies
Nov 13, 2010
it is said [URL]You can download the JSON library as part of the core ActionScript 3 library.but when clicking on the link it doesn't work
View 1 Replies
Nov 9, 2010
i've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it?
[Code]....
View 3 Replies
Jul 22, 2009
Basically I've got a reasonably complex drawing object in a fla and I want to reproduce it in a class definition using the drawing api. However obviously this is a tedious task, so is there some trick or automated method of doing this?
Last time I needed to do this it was a drawing of an arrow and I ended up writing down x,y,width,height values for everything but this one has curves in it which I don't have experience with drawing anyway.
View 2 Replies
Nov 9, 2011
I am using Flash profassional cs5 and want to create an iPad application but it only allow to make iphone application. It allows to install on iPad but the resolution is very small.
View 1 Replies
Aug 18, 2011
I have made one one mobile application in flash builder using flex mobile project I have a question that "why size of an .ipa file is large as I export a mobile application as iOS application.???? in compare to that same application for android takes small size!
View 1 Replies
Feb 4, 2011
I have an AIR app that gets bundled with XML files that the app needs. These get put into the APP Storage Directory, of course. Works great. But when I install a new version ( which includes new XML files) , the new files don't get added or overwrite the ones from the previous version. It seems that if that directory is there from a previous install, the installer will ignore the part where it moves included files.
View 1 Replies
Sep 20, 2011
I am creating an application. At one view I have three states. If I changes state and than back button pressed it unloads the application.I am developing it in Adobe AIR.
View 1 Replies
May 6, 2011
I want adobe sockets to send "customized" class object to a server socket(WinSock2). I used socket.writeObject(myClassObj). Actually My flash application and windows application works for string buffer but not for object.
Code:
//Flash
var buffer:String = "God Bless Us";
socket.writeUTFBytes(buffer);
// WinSock2
iResult = recv(ClientSock, recvbuf, recvbuflen, 0);
Is there anything I must do before writeObject() is used.?
View 3 Replies
Aug 26, 2011
Currently i'm developing a facebooks apps with falsh application. i've have completed the development with all API required to run a facebook apps. Everything went well and it's live now. My question :
1. How can make user to go directly to the application page everytime they click the link posted by user who already use the application instead going to the canvas page applications. i'm been trying to look for the article that support saying that user will go directly to application directly to canvas application page instead of going to the application page.
View 1 Replies
Aug 6, 2003
I need to make my Flash application create a connection to a remote application and have the remote application send periodic updates to my Flash animation. The remote app is written in VB 6, and does not support XML sockets. However, I don't need the ability to send or receive XML since I am going to be overriding the onLoad() event anyway.
Or maybe I do need that ability... I'm having trouble getting my onLoad() event to trigger. Right now I'm just testing the onLoad event like this:
[code]...
So, basically I'm trying to find out how I can format the data I'm sending it so that the onLoad() event triggers. I've read that the XMLSocket object listens for the Null byte, so perhaps the data I'm sending it doesn't terminate properly. I need a persistent connection from Flash to the VB app because the VB app will be the one initiating the updates to the Flash application. Is the XMLSocket the way to go here, or is there another class of objects that I'm missing?
View 1 Replies