ActionScript 3.0 :: Flash - Online Multi Drawing Application?
May 30, 2009i make good Online Mulit Drawing example for you herethere is a Socket Server that i made, and swf to.
View 2 Repliesi make good Online Mulit Drawing example for you herethere is a Socket Server that i made, and swf to.
View 2 RepliesHow to make multi user drawing application in as 3.0
View 8 RepliesExample: If my SWF has a simple 2D charactor sprite, which moves around on a 2d background... What will I need to make it so that a player has to create an account and sign in, and then others can do the same and they can all see each other in the room. I have been unable to find resources on what it takes to turn a flash game into a chatroom or an "MMO".
View 3 RepliesSo, here is the question. I have a small flash application that sends some variables to a php script (via POST), and that php script sends them to a mySQL database.
This works fine when I'm testing my flash offline, I go to phpmyadmin, and the registry is done. When I upload the swf to a online html, this stops working. It no longer creates another registry in the database. I have no ideia why this happens.
I read a bit about it and found out about cross domain policy, and thought it might be the problem. Thus I made a small .xml file and uploaded it to both servers (the one the swf is on, and the one that has the database), and its still not working.
[Code]...
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 RepliesI'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.
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 Repliesclient has suggested that they would like a multi userdrawing board online.Basically i need to demo something that two users can draw onto at the same time, my host has php and mysql which i would like to stick with as I have a basic understanding of the technologys
View 1 RepliesI am using flex4, I am seeking the answer to create multi window web application. My application is some sort of complex, currently I only know using PopupManager to create a new window.Should I create each MXML for each window that I want to instantiate? And then load the mxml and put it into the stage? Is there any tutorial describing that? I want the program modular and easy to manager, extend.
The current way I am using is use Group to group up all the controls inside a window, and if user want to open that window, I will display the group and bring it to the front. Is it the right way to do windowing? But I can't support drag.
I want to know if there is any native support for draggable window, or dialog?
Also till now all the controls are put inside a single mxml file, is it possible to put one window(or one group) to be a separate mxml file?
I'm trying to adapt for Android Tablet a multi-sequence Flash application widely using "loadmovie" and"unloadmovie" instructions.Each of these sequences are independent Flash files that were generated as swf files for load and unload.But building an application for Android is quite different, since it is based upon apk files.So, how "loadmovie" mechanism can be implemented in this environment ?
View 1 RepliesI developing an AIR application in Flex that would be dealing with playing different SWFs. I am finding some issues as these SWFs that I am playing are heavy. I find that the animation is not smooth and is causing the graph of CPU usage to go high (my be because single thread architecture of Flex). I am therefore planning to have a multi process architecture for my application. Something like Google Chrome. I have one main application as one process and other SWFs would be playing in separate process but should be seen inside the main application window. How to make it possible in Flex?
View 4 RepliesIs there any platform/compiler for creating flex application online? Any version will work. I know some action script online compiler but not able to find any flex online compiler.
View 2 Repliesi'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 Replieshow 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 RepliesI wonder which component to extend in Flex 3 in order to make a drawing stage.
View 1 RepliesI 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].....
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 RepliesI 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] .....
How do I create a simple live drawing board/whiteboard functionality using flash as3, and flash media server 3.5.
View 1 RepliesI 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.
I have strange error which i tried to fix all day but with no result. The application is working fine in debug modus, but after I uploaded it to my server it throws following Error:
[Code]...
i've tried to simulate a pencil tool, for drawing above a imagem, but the drawing is below the picture. How fix it?
[Code]....
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.
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 RepliesI 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 RepliesI 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 RepliesI 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 RepliesI 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.?
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.
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?