 |
Madokan
Staff Member

Registered: Jun 2002
Local time: 06:04 AM
Location: Berlin/Germany
Posts: 166
|
Hi Folks,
Something to play-around. Just be inspired.
PHP:
butRec.onRelease = function() {
posListe = new Array();
mc.onPress = function() {
startDrag(this);
this.onEnterFrame = function() {
posListe.push([_root._xmouse, _root._ymouse]);
updateAfterEvent;
};
};
mc.onRelease = function() {
// Aufname Stoppen
stopDrag();
delete this.onEnterFrame;
};
};
butStop.onRelease = function() {
delete mc.onEnterFrame;
};
// Play Recorded
butPlay.onRelease = function() {
i = 0;
mc.onEnterFrame = function() {
lineStyle(1, 0xff0000, 25);
if (i < posListe.length) {
this._x = posListe[i][0];
this._y = posListe[i][1];
if (i == 0) {
moveTo(this._x, this._y);
}
lineTo(posListe[i][0], posListe[i][1]);
} else {
delete this.onEnterFrame;
}
i++;
};
};
butClear.onRelease = function() {
clear();
}
|
Example:
http://www.flashangel.de/mx/fsmxauf.swf
FLA:
http://www.flashstar.de/tutlist/ind...eich=fsmxcreate
yours
Matze K.
__________________
[Flashstar]
Flashstar Website
Report this post to a moderator | IP: Logged
|
12-12-2002 10:05 AM |
|
|
|  |
 |
TheDutch
DevPod (Staff Member)

Registered: Mar 2002
Local time: 06:04 AM
Location: The Netherlands
Posts: 4208
|
Hi Madokan,
Once again something nice to play with.
This way you record a drawing and let it redraw over and over again 
__________________
Please don't email or PM me your questions!
Ask your questions on the forums, that will not only help you but also other people with the same kind of questions.
Report this post to a moderator | IP: Logged
|
12-12-2002 10:16 AM |
|
|
|  |
 |
| All times are GMT. The time now is 05:04 AM. |
 |
|
 |
|
|
|  |
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
< FlashDevils - Terms of use
>
Copyright, FlashDevils Community, 2002 - Flash Archive
|
|