Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: saving user's drawing
From: Matt Wobensmith
Date: Fri, 5 May 2000 01:49:40 +0100

Hi Marcelo!

You asked:

>I've seen somewhere a work in Flash where the user could draw on screen and
>then send the result somewhere.

and

>Does anybody knows how can I do it or, at least, what site I'm talking
>about?

Well, um, uh - conflict of interest! :>)

Seriously, you may have been talking about the site I posted on here a month
or so ago:

http://www.sendasketch.com

And this is my own site.

Disclaimer: not a MM affiliated venture in any way.

I checked out your site, BTW, and I of course, love the concept.

To answer the "how" part, I'll give you some brief hints about how
sendasketch works.

You create objects on the screen. This is done via Duplicate Movie Clip and
Set Property, much like yours.

Then, to "save" the sketch, you need to have a Loop action that will run
through and set a bunch of variables equal to the properties (x,y, width,
height, type, etc.) of the duplicated movie clips. This data is then sent to
a server-side thing like ASP (in this case) or whatever, which can then
store this data in a text file or database.

Then, to recreate the sketch, use Load Variables and run through another
Loop to use those variables to reassemble the duplicated movie clips using
Set Property, perhaps in a different movie, but not necessarily so.

Let me know if this helps. Post any questions to the list - I'm sure others
may have things to say about this.

I'm happy to offer whatever guidance I can, but I should say there is no
right way to do this, as everyone's implementation of this can and probably
will vary. :>)


Matt

ps - please, everyone, feel free to use this site. It needs *you* to make it
beautiful.

---------------
Matt Wobensmith
Macromedia Tech Support
Flash Team Lead

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: saving user's drawing, Marcelo Siqueira

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]