|
-
convert flash graphic to jpg and send mail
hi
pls....... help
I have flash symbol and now i need to send that symbol as ecard on a particular mailID.
I am confused which serverside scripting to use to convert flash image into jpg and send it to mailID.
Pls provide me with the required script for this task for both flash and php,asp or any other.
-
Senior Member
Is this related to Actionscript 3 (Flash 9)?
- The right of the People to create Flash movies shall not be infringed. -
-
Teh ultimate flasher, and stuf
dear riva rival,
you r hopeless this is one of the stupidest questions i've heard in a while, but i help n00bs so here r the 2 things u gotta do.
1. Not post questions like this on the acationscript 3.0 forum, and
2. Copy and Paste the symbol into a bitmap editor, such as paint, or somthin, and save it as a jpg.
Just 'cuz you're all N00bs,Doesn't Make the Least N00by Pr0!
PURE PWNAGE!
-
This is an interesting question - because it is possible and heavil releated to AS3. I think nobody will provide you with the "required script for this task". Just because it hasn't been done before. But I am not sure if a HTML mail has embedded content.. 
But I can tell you the way.
1.) You need an SMTP server running on a port higher than 1024
2.) Use this class to create a JPEG from the BitmapData
3.) Set up your HTML mail
4.) Connect with a socket to your SMTP server and send the data
-
 Originally Posted by DarkPhoenix777
dear riva rival,
you r hopeless this is one of the stupidest questions i've heard in a while, but i help n00bs so here r the 2 things u gotta do.
1. Not post questions like this on the acationscript 3.0 forum, and
2. Copy and Paste the symbol into a bitmap editor, such as paint, or somthin, and save it as a jpg.
I think you're the hopeless one. Copy-paste the symbol into a bitmap editor? Right, you're expecting users to have the flash ide installed, and would give them the fla file? What kind of application would that be? Not a very user-friendly one that's for sure.
To riva raval : you can make bitmapdata from the symbol (like joa__ suggested). But you can send the bitmapdata to a receiving server script through http, and send the mail from there.
-
Senior Member
One possibility to send bitmapdata would be by this way. You need to modify the script, though for your purpose. It is not a jpg but data stored as xml.
http://www.flash8.flashscript.biz/st...ore_image.html
Unfortunately, the recipient needs a decoder movie.
You can do that in Flash 8, though.
And by the way, there are no stupid questions, only stupid answers . I think that is generally accepted.
- The right of the People to create Flash movies shall not be infringed. -
-
Custom User Title
 Originally Posted by cancerinform
And by the way, there are no stupid questions, only stupid answers  .
I wish you were moderator on games forum
-
Teh ultimate flasher, and stuf
sure w/e man, if u say so
Just 'cuz you're all N00bs,Doesn't Make the Least N00by Pr0!
PURE PWNAGE!
-
Oh well, it might be easier using the mail() function of PHP. But another topic here is sending a byte-array as an octect-stream.
It is so nice to talk about such topics with AS3 now
-
Senior Member
weiter, weiter we like to hear more.
- The right of the People to create Flash movies shall not be infringed. -
-
u didn't understand my question only.
 Originally Posted by DarkPhoenix777
dear riva rival,
you r hopeless this is one of the stupidest questions i've heard in a while, but i help n00bs so here r the 2 things u gotta do.
1. Not post questions like this on the acationscript 3.0 forum, and
2. Copy and Paste the symbol into a bitmap editor, such as paint, or somthin, and save it as a jpg.
-
dear sir,
i am not at all hopeless. I think you didn't understand my question.I want to save the image from swf format to jpg or bmp at runtime itself and then send it as an ecard on provided mailid.
For this task i am searching for actionscripting in flash and also script of php or asp as flash doesn't support server side application directly.
I hope u understood my question .................
Last edited by riva raval; 08-29-2006 at 03:40 AM.
-
Riva raval, we posted you a lot of suggestions. You can convert the BitmapData instance of your image to JPEG or PNG using the classes of Tinic Uro. Theese output you a ByteArray which can be transferred to PHP using some technique I described on my blog.
All you have to do is building your PHP script from that point. You may want to have a look at mail(). You could do this also in Flash only but it saves much time to use PHP here.
Questions releated to PHP should be asked in another board and not this one. This post is only a summary of what mose people said here and it solves your problem. Feel free to ask any questions releated to theese topics.
-
Teh ultimate flasher, and stuf
got u now... srry dor the commebt =)
Just 'cuz you're all N00bs,Doesn't Make the Least N00by Pr0!
PURE PWNAGE!
-
good job
 Originally Posted by riva raval
hi
pls....... help
I have flash symbol and now i need to send that symbol as ecard on a particular mailID.
I am confused which serverside scripting to use to convert flash image into jpg and send it to mailID.
Pls provide me with the required script for this task for both flash and php,asp or any other.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|