Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 26-07-2006, 06:04   #1 (permalink)
Neuer User
 
Registriert seit: Mar 2006
Beiträge: 52
Drawing saving retreving data

Hi all
I am looking for a tutorial on: Drawing saving retreving data.

I have done a small drawing canvas and now would like to save to DB (php/mysql) and retrieve back the drawing cordinates....how to?

ActionScript:
  1. //=========== drawing ==============================
  2. drawHolder.onMouseDown = function() {
  3.     if (1) {
  4.         //Mouse.show();
  5.         //Airbrush._visible = true;
  6.         _root.Airbrush.gotoAndStop(1);
  7.         //this.lineStyle(my_nstep.value, cmp1.ColorValue, 100, true, "normal", "round", "round", 4);
  8.         this.lineStyle(my_nstep.value, cmp1.ColorValue, 100, true, "none", "round", "miter", 1);
  9.         //100, true, "none", "round", "miter", 1);
  10.         this.moveTo(_xmouse, _ymouse);
  11.         this.onMouseMove = function() {
  12.             this.lineTo(_xmouse, _ymouse);
  13.             updateAfterEvent();
  14.         };
  15.         this.onMouseUp = function() {
  16.             //_root.Airbrush.gotoAndStop(2);
  17.             delete this.onMouseMove;
  18.         };
  19.     }
  20. };

thanks
zooray ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 04:08 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele