# Sending a Flash drawing by email?

**URL:** <https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315>\
**Category:** flash\
**Created:** [May 20, 2003, 7:43am UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315 "2003-05-20T07:43:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hopesfall](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hopesfall](https://forum.kirupa.com/u/hopesfall)\
**Post date:** [May 20, 2003, 7:43am UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/1 "2003-05-20T07:43:16Z")

</div>

Hi,

Please take a look at this link first!

[http://www.imaginationatwork.com/Imagine?\_nolivecache&aoverride=y](http://www.imaginationatwork.com/Imagine?_nolivecache&aoverride=y)

Well, I can manage the drawing part, but can anyone tell me how you can send a drawing via email? I know how to send textual matter, but this is really confusing!

Any help will be highly appreciated!

Thanx!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 4:06am UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/2 "2003-05-21T04:06:53Z")

</div>

Wow that is awesome.  
No clue.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 4:11am UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/3 "2003-05-21T04:11:19Z")

</div>

Just kidding… There are a few things they could be doing.  
-Recording the drawing as an array of points (x,y)  
-Saving the drawing to a server somewhere  
-Reloading the array as an XML document from an embedded swf in the email

or maybe there is a feature of server side flash…(no experience here) that lets you convert it to a jpg and email that.

I hope it is simpler than all that though.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 5:11am UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/4 "2003-05-21T05:11:10Z")

</div>

I thought about storing the co-ordinates in an array and using an XML file too. It’s still gonna be tricky though.

About the .jpg part, that’s probably not the case 'cuz when you view the drawing that is sent by email, it actually plays back all the strokes.

Well, thanx anyway!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 12:20pm UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/5 "2003-05-21T12:20:08Z")

</div>

I did a semi-similar thing (currently offline)… basically, i store the coordinated of the points in an array, convert the array to a string, and then store it in a mysql database. When i retrieve them, I plug em into a function that ‘visualizes’ the points…

What they do is probably the same, and the link you get in the email tells flash to load that particular entry in the database…

let me know if you need more help 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 21, 2003, 10:30pm UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/6 "2003-05-21T22:30:50Z")

</div>

ahmed:  
question about your footer… it saves the picture as an array of 0’s, and 1’s right?  
you didnt simplify it down to one big integer did you…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 28, 2003, 9:22pm UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/7 "2003-05-28T21:22:32Z")

</div>

yeah… its just a multidimentional array with 1’s and 0’s in it 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 5, 2003, 10:00pm UTC](https://forum.kirupa.com/t/sending-a-flash-drawing-by-email/21315/8 "2003-06-05T22:00:49Z")

</div>

ahmed,

Could you send me a mini-code for that?

Thanks
