473,498 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Saving a Draw made by the user.

32 New Member
Hi All,

I have made a small app that allows the user to draw.

Expand|Select|Wrap|Line Numbers
  1.  
  2.  
  3. createEmptyMovieClip("terrain", 1);
  4. terrain.lineStyle(3, 0x000000, 100);
  5. imdrawing = false;
  6.  
  7. onMouseDown = function () {
  8.     if (imdrawing == false) {
  9.         terrain.moveTo(_xmouse, _ymouse);
  10.         imdrawing = true;
  11.     }
  12.  
  13.     if (imdrawing == true) {
  14.         onEnterFrame = function () {
  15.             terrain.lineTo(_xmouse, _ymouse);
  16.         };
  17.     }
  18. };
  19.  
  20.  
  21. onMouseUp = function () {
  22.     onEnterFrame = function () {
  23.         imdrawing = false;
  24.     };
  25. };
  26.  
  27.  
Now I would like to save it to a file on the server for future use.

Can anyone show the way of getting it done ?

I know how to do it PHP but the current server runs ASP.
Jul 11 '10 #1
0 1119

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1218
by: Matias Silva | last post by:
I would like store user databases in their user directory (/home/username/Databases/dbname/) and I know I can use symlinks, but I find that very cludgy. Is there something in mysql that is similar...
1
1370
by: Jagdip Singh Ajimal | last post by:
I have an application that connects and edits a database's tables. My question is, what is the best way to save who did what changes to this database? I need to be able to display this in the...
1
1333
by: Bob Murdoch | last post by:
We have an asp application that creates reports from a database. The managers would like to create the report, view the results, add a comment, and save the report so that he can send a link to...
1
1115
by: VB Programmer | last post by:
Using VB.NET user control in ASP.NET webform. When I look at the webform in the browser I get this error: Could not instantiate ActiveX control 'd940e4d2-6079-11ce-88cb-0020af6845f6' because the...
1
1734
by: platinumbay | last post by:
Sometimes when I run or build (or save I think) one of several VB .NET CE applications I get the above error. I then get a 'save file as' option to change the 'myapp.vbdproj' file. If you keep the...
1
992
by: Starbuck | last post by:
HI Is this possible One of our apps allows users to add new users to the database, items are user name, login, password, address etc etc Is it also possible when saving a new user to also store...
11
27269
by: Kevin | last post by:
I've been searching forever for examples of saving data changes in a DataGridView. There's all kinds of examples, but none really show how to save changes. Someone please help me. I have a...
14
1412
by: Stodge | last post by:
I'm trying to do the following. I have a Python application that is run: python app1.py --location=c:\test1 What I want to do is save the location parameter, so I can then do (in the same...
2
1718
by: Rene | last post by:
Hello to all! I am a newbee to C++, I did a beginners' course, and now I am stuck with a strange problem. I have written the function that is pasted downwards. The peculiar thing is that when...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7004
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7167
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5464
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4593
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3095
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
657
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.