Sending Attachment While Using PHP In Flash
Hi there, is it possible that if a user files in a flash-php form and when clicked on send > an attachement .swf is send to the user's email, like an ecard.....or do I have to stick with a referring email adres in the mail?
Thanx
FlashKit > Flash Help > Flash MX
Posted on: 03-25-2003, 03:56 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Sending Email Attachment?
I saw this in another thread and it works fine:
var helpEmail:String="mailto:help@mysite.com?subject=H elp%20Request%20For%20Product:%20KX&body=Product:% 20KX%0DConcise%20problem%20statement:%0DSteps";
var requestEmail:URLRequest = new URLRequest(helpEmail);
navigateToURL(requestEmail);
Can anyone tell me what I'd have to add if I want to send an attachment with the email.
I have the absolute path to the attachement.
Many thanks in advance.
Sending A Email With An Attachment
So I am working on an flash application built in AS3.0 that has the user generating PDF's with AlivePDF. I would like to have the PDF emailed to me, so I consulted a few PHP + Flash emailing tutorials but none look like exactly what I am looking for. Is it possible to have a email generated in AS3.0 + PHP, with an attachment that was 'generated' only moments ago? Any links, coding, or help at all would be appreciated.
Sending A File Attachment
Is it possible to send a file attachment with a mailform with Flash and ASP ?
How can I do ??
Please help me.
Sending Mail With Attachment
hi
i have created a simple drawing tool in flash. i want to give it onmy web site for comptition of drawing, when any user draw & complete its own drawing, he click on a button of send email & that drawing which user creatd should mail to my email, plz tell me how i can do this...
Sending Copy Of Swf, From Orignal As Attachment
I am creating a quiz that will be an swf file. When the student completes the quiz i would like them to be able to send the completed quiz to their instructor as an email attachment. The instructors url, amongst other info, would be entered as a variable on the first page. On the last page I would like to script a "submit Quiz" button that would take the email variable, stick it in the url field, and send a copy of the completed quiz as an attachment. Thanks for any help.
Chris Erickson
Sending Copy Of Swf, Sent From Orignal As Attachment
I am creating a quiz that will be an swf file. When the student completes the quiz i would like them to be able to send the completed quiz to their instructor as an email attachment. The instructors url, amongst other info, would be entered as a variable on the first page. On the last page I would like to script a "submit Quiz" button that would take the email variable, stick it in the url field, and send a copy of the completed quiz as an attachment. Thanks for any help.
Chris Erickson
Flash Email Attachment
I would like to attach a flash movie to an email which I'm sending...something like the "greeting cards" that I sometimes receive. Thought it would be fun to create personalized "cards". I'm very new to flash-learning from a few books and online tutorials...alot of trial and error.Anyway, I've gotten as far as creating a few layers with sound-nothing too spectacular just a cat on a sailboat in the wind.Thank you for any help.
Flash PHP Form W/Attachment
Ok...I am trying to create a Flash form using PHP that will allow for the user to upload and send attachments. I can do the whole form thing w/Flash & PHP, pretty standard. I can also attach stuff using HTML and PHP, but not with Flash. I even got my Swf to browse for attachments, but it just doesn't send them.
check it: http://www.aaronmatthew.com/download/form_flash.html
any ideas? I have been all over the place trying to figure this one out.
--aaron
Flash As An Attachment Hmmm
Is there anyway to export a flash file by email as an attachment so that it doesn't get blocked by firewalls.
I heard of a way that flash can auto open when the email is read, is that true?
Flash Form With Attachment
Hello.
Does anyone know how to create a flash form with attachment capability? Basically the form's informations will be sent to an email address having a photo as an attachment. So i need help with the php part too.
Any help would be highly appreciated.
Thanks.
Send Jpg Or Png From Flash App As An Attachment
I am developing an application that will allow users to take a snapshot of the drawing that they have created, and send the drawing image as an attachment to a friend using my Flash/PHP e-mail form.
What I have done so far:
1. My Flash/PHP e-mail form is working great, except that I don't know how to send an attachment.
2. I can take a snapshot of a movieclip in Flash using the new BitmapData class, but cannot convert it to jpg or any other image file.
I found this link:
This has an excellent, but somewhat complicated method to convert a Flash clip to an image file that can be sent to the server. Unfortunately, the developer want $300.00 from anyone interested in using his class.
http://www.quasimondo.com/archives/000572.php
What are my questions:
1. How to send an attachment directly from Flash, using PHP?
2. How to convert a movieclip to an image file (either jpg or png)?
Thanks very much.
Sendmail With Attachment From Flash
Hi folks,
Sendmail with attachment from flash anyone? l cant find much out there on this - l have flash 8 and gather filereference is the thing to use but frankly l'm lost without and example.
Can anypne direct me to one?!
Action To Add Attachment In Flash And Send
We're working in FlashMX, and we need to allow people to add an attachment and send it with the rest of the text from a form they'll be filling out. The variables and text info will be sent directly from the Flash page, but we want to let the people browse for and add attachments if desired. The entire web site was done in FlashMX.
Or is there some other way around this without reworking the whole site between Flash and Dreamweaver. We work in Macintosh, so ColdFusion appears to be out.
Action To Add Attachment In Flash And Send
We're working in FlashMX, and we need to allow people to add an attachment and send it with the rest of the text from a form they'll be filling out. The variables and text info will be sent directly from the Flash page, but we want to let the people browse for and add attachments if desired. The entire web site was done in FlashMX.
Or is there some other way around this without reworking the whole site between Flash and Dreamweaver. We work in Macintosh, so ColdFusion appears to be out.
Attachment In Flash Form? Posible
Hey,
Well here it is . I've been looking for a way to have a flash email form that has the ability to add an attachment to the email. (located on the clients machine)
the use of PHP, JavaScript, Cold Fusion or Any Crazy mixture of anything... is welcome..
if you think it can't be done please post why.
I've yet to see this done but now I need to do it. And I think hearing anything you have to say might help.
thanks
_mediamake
Email An Attachment Through Flash Form?
so, i have this flash presentation to construct for a friend...
1. he wants the user to submit info registration to a flash form
2. the resulting page says "thank you, certificate of authentication has been sent"
3. he wants the jpg of the certificate emailed to the registrant as an attachment.
do you know the action script/code to do this? it's only a mock up presentation; we would like to fake it as much as possible.
Could it be done with this:
Code:
on (release) { loadVariables("email.php",'POST'); javascript('alert("Thank you for contacting us.");'); }
---------------
PHP Code for email.php
<?php
$name = $_POST['Name'];
$email = $_POST['Email'];
$message = $_POST['Message'];
$name = stripslashes($name);
$email = stripslashes($email);
$message = stripslashes($message);
$rec_email = "info@yoursite.com";
$subject = "Online form submission";
$msg_body .= "Name: $name
";
$msg_body .= "E-Mail: $email
";
$msg_body .= "Comments: $message
";
mail($rec_email, $subject, $msg_body);
?>
-------------
And then could a $msg_body be HTML code that embeds the image?
Or could I possibly skip the PHP and use javascript? If so, could you possibly supply the code?
What is possibly the best way to do this? Any help is greatly appreciated thanks so much...
Emailing Flash .exe Movie As An Attachment
Hello everyone.
I've finished a Flash presentation for a client and would like to send it over via email as an .exe file, as he'll be forwarding the file to many recipients and a .swf may be too much for some to comprehend. However, most email programs and services do not allow attaching .exe files. I've tried zipping it into a .zip file, but that won't work either.
Any idea on how to send a .exe flash file via email?
Thanks!
zayd
Email An Attachment Through Flash Form?
so, i have this flash presentation to construct for a friend...
1. he wants the user to submit info registration to a flash form
2. the resulting page says "thank you, certificate of authentication has been sent"
3. he wants the jpg of the certificate emailed to the registrant as an attachment.
do you know the action script/code to do this? it's only a mock up presentation; we would like to fake it as much as possible.
Could it be done with this:
Code:
on (release) { loadVariables("email.php",'POST'); javascript('alert("Thank you for contacting us.");'); }
---------------
PHP Code for email.php
<?php
$name = $_POST['Name'];
$email = $_POST['Email'];
$message = $_POST['Message'];
$name = stripslashes($name);
$email = stripslashes($email);
$message = stripslashes($message);
$rec_email = "info@yoursite.com";
$subject = "Online form submission";
$msg_body .= "Name: $name
";
$msg_body .= "E-Mail: $email
";
$msg_body .= "Comments: $message
";
mail($rec_email, $subject, $msg_body);
?>
-------------
And then could a $msg_body be HTML code that embeds the image?
Or could I possibly skip the PHP and use javascript? If so, could you possibly supply the code?
What is possibly the best way to do this? Any help is greatly appreciated thanks so much...
Contact Form With Attachment In Flash 8
Hi all,
i want to send the contact form with attachment in flash 8 using PHP....
i have done the simple contact form and it's working fine...but now i want to give attachment facility in my form...
so how can i send attachment along with my contact form.
Emailing A Jpeg As An Attachment From A Button Within Flash
I want to have a button that when clicked opens up the users email program and attaches a jpeg to the email (i guess this will be hosted on my server)
and they can type in whatever email address of their friend/client at the top
I know this probably requires PHP script in there?
ANy ideas or help please
James
Emailing A Jpeg As An Attachment From A Button Within Flash
I want to have a button that when clicked opens up the users email program and attaches a jpeg to the email (i guess this will be hosted on my server)
and they can type in whatever email address of their friend/client at the top
I know this probably requires PHP script in there?
ANy ideas or help please
James
Flash Page To HTML For Email Attachment
Hi Guys,
Im quite new to flash and have a simple question. I
I currently have a 1 page document made in Flash. I want to attach a html page as an email to send out. I have exported a HTML file which seems to work in a web browser. When I attach it it just comes up as a text link, and doesnt display the page. Its also asking for the java script file to be uploaded with the html file. Am I exporting it right out of flash or am I doing something else wrong?
Thanks in advance!
Cheers,
Jimmy
Launching Email With Attachment From Flash Movie
Hi, I have been looking into a way to launch an email from a flash movie (just a standard "mailto:") but with an attachment.
The closest thing I've seen so far is adding "..&attachment=.." with the directory path and file name of the attachment. However, it doesn't seem to work. Would anybody be able to point me in the direction of something that can explain how this can be done? I've been looking for hours with no luck.
Thanks,
Jess.
Flash Mail Form With Attachment Field
Hey, everyone!
Has anyone here ever seen any mail form with 'upload file' field in Flash? I must develop such a form interface where users should fill some filelds and attach a jpeg file. Is it possible with Flash + PHP?
Well, thanks for the attention,
Força e paz,
mocoroh
Flash Email Form, File Attachment
okay - we've all made a flash email form. is it possible to add a file attachement feature to this flash email form? is it even possible to browse the local file system with flash?
Flash Mail Form With Attachment Field
Hey, everyone!
Has anyone here ever seen any mail form with 'upload file' field in Flash? I must develop such a form interface where users should fill some filelds and attach a jpeg file. Is it possible with Flash + PHP?
Well, thanks for the attention,
Força e paz,
mocoroh
Flash Email Form With Attachment Feature
Hello!
Ive built a flash form using the UI compnents and some php script back end.
However im finding it difficult to have an attachment featuer where by a user can attach a document through the flash form and then send it through a php script.
The only examples ive seen while surfing google is an example that uses coldfusion, but i need to use a php back end script.
Anybody know of any examples that use flash ui and php?
Thanks in advance.
Anthony
X And Y Of Attachment
I'm making a RPG in Flash 5, but I can't get it to load the previous x and y positions of "man" or _root.map.man or even _root.man
Could somebody please post the actionscript I need to use? Thanks a lot. Seriously, I need this to work. If you want the FLA to try helping me out, please contact me on AIM.
Attachment
Sorry, Flashkit is like the best way I have of transfering my files Don't regard this post anyone just so I can have my file I made
File Attachment
When I try to upload an attachment I get this message: You have attempted to upload an invalid type of attachment. The valid extensions for attachments are: gif jpg png txt zip bmp jpeg fla swi sit psd ai What the hell am i doing wrong??
Email Attachment
A few years ago, I spent some time teaching myself authorware. I created a CBT that included a form. Each field in the form was saved as a separate variable. The CBT concatenated the variables down to a single variable by using something like the following:
FeedbackForm:=Label1^FName^Return^Label2^LName^Ret urn^Label3^Street^Return^ etc.
It then converted the new variable to a text file by:
1) creating a folder on the hard drive using the following command:
CreateFolder("C:\CBT\Record")
2) writing the concatenated variable to text using:
WriteExtFile("C:\CBT\Record\FormData.txt", FeedbackForm)
Lastly, it could launch an email to a specified address with the text file as an attachment.
Now I am spending my time more wisely by learning FLASH (which I am convinced is a FAR SUPERIOR tool).
So here is my question....
How do I achieve the same functionality that my CBT provided using FLASH MX 2004? Specifically, can I:
1) Concatenate variables to a single variable?
2) Write or convert variables to a text file or files?
3) Automatically attach a text file to an email that is generated from an email link?
What say you good people, can it be done?
E-mail Attachment
Is it possible to send an attachment file with a mailform flash + ASP ?
How can I do ??
Help me, please.
Attachment Link?
where is it? I have attempted to submit my first flash cartoon, and I see the paperclip, but cannot find the link to send the toon
Zipped Attachment
i was just seeing if i did this right, the zipped file thing. Anyway if this works can someone help me with this... it should explain it pretty well in the flash file, but if it is confusing, (because i am new here) just tell me and ill try and explain it thnks!
{i used MX 04}
Swf Attachment Problems
Hi all,
I had a problem making a sound button work on my fla file that had many scenes, so I made a new flash file, and had a button that when clicked would loadmovie onto empty movie clips on my stage... I made a movie clip for my music, and a movie clip for my whole picture movie swf.
somehow though, my picture movie works, but my music movie doesn't. Even the buttons on my picture movie (skyz) works, but the button in my music swf doesn't work.... can someone help me please? the action script that I used to attach the swfs is
on (release)
{
gotoAndPlay(2);
loadMovie ("music.swf", "music")
loadMovie ("Skyz_no music.swf", "skyz")
}
for my music.swf I can see my button, but when i click it it doesn't work. although when I view the swf on it's own, it does work
If/else Movie Attachment
URL: http://www.driveakamai.org/ --> click on Interactive Map in navigation
DESIRED MOD:
Replace default blue "i" button with red "i" where applicable.
DETAILS:
The line coordinates are drawn from items in an xml file. The "i"
button is there to pop up an info box within the movie. Items from the XML file read something like this for a default item with a blue "i":
<item>
<title>Moana Vista</title>
<description>Kapiolani Blvd.: No project related lane closures
scheduled</description>
<link>http://www.driveakamai.org/main/trafficadvisories.cfm</link>
<isNewUpdated>no</isNewUpdated>
<Alert>no</Alert>
<projectID>P19</projectID>
<Location>Kapiolani Blvd.: No project related lane closures scheduled</Location>
<Time></Time>
<typeOfProject>Day</typeOfProject>
<typeOfWork></typeOfWork>
<publish>yes</publish>
<date>1/29/2008</date>
<coordinates>green=1178,812.3s|1108,809.15|1078,795.45|</coordinates>
</item>
Some new items will have a <weekend> attribute, which will call a red "i" button, and will read as such:
<item>
<title>Moana Vista</title>
<description>Kapiolani Blvd.: No project related lane closures
scheduled</description>
<link>http://www.driveakamai.org/main/trafficadvisories.cfm</link>
<isNewUpdated>no</isNewUpdated>
<Alert>no</Alert>
<projectID>P19</projectID>
<Location>Kapiolani Blvd.: No project related lane closures scheduled</Location>
<Time></Time>
<typeOfProject>Day</typeOfProject>
<typeOfWork></typeOfWork>
<publish>yes</publish>
<date>1/29/2008</date>
<weekend>yes</weekend>
<coordinates>green=1178,812.3s|1108,809.15|1078,795.45|</coordinates>
</item>
QUESTION:
How do I go about doing this? Attached is what I believe to be the code that attaches the blue button. Can anyone give me some pointer(s) on this?
Thanks!
Attach Code
_root.attachMovie("info_menu","info_menu1",_root.getNextHighestDepth(),{_visible:false});
Email With Attachment
I'm building a picture gallery which allows the visitor to select items and email the site owner with a list. While the movie can send the list to the email's body, that's not ideal given the range of email clients, and it would be much better to generate a file attachment which could then be used in other order processing routines.
AFAICS Flash won't let me automatically generate and attach the text file - is that right? So I've got to look for other options. As the movie may run in static hosting environments, I can't depend on PHP. What other approaches should I consider?
John
Attaching An Attachment
hello all i am really having a real big problem ... i need to upload a fla to kirupa so that i can get some help but for some reason i cant ... i have tried compressing it but it is still too big, tho it is only 218kb?? how else can i upload this ??
$$
File Attachment
How do i attach a .fla file with my reply in kirupa's forum
When i start a new thread i could see Attach file option, but not when i reply. How do i attach the file in the reply ( in kirupa's forum)
Attaching An Attachment
hello all i am really having a real big problem ... i need to upload a fla to kirupa so that i can get some help but for some reason i cant ... i have tried compressing it but it is still too big, tho it is only 218kb?? how else can i upload this ??
$$
Button Attachment?
I have slight problem aligning and creating buttons on my navigation bar. I'm using attachMovie with a button in my library with an Identifier called "myBut". I want to create 7 buttons all in a row. Some how it doesn't seem to be working for me. It's not positioning the buttons correctly, only one appears. Anyone have any clue what could be going wrong in my code below??? any help would be greatly appreciated.
xPointer=50;
yPointer=100;
for(x=1;x <= 7;x++){
_root.attachMovie("myBut",["mybut"+x],0);
["mybut"+x]._x = xPointer;
["mybut"+x]._y = yPointer;
["mybut"+x].ts.text="O";
xPointer += 50;
}
Dynamic MC Attachment
Heya,
I'm pretty new to as3 so excuse me for this relatively noobish question.
In as 2, you could attach mc's to the stage and give them a new name like this:
Code:
x.attachMovie("linkagename", "newname"+i, this.getNextHighestDepth);
a thing that was very handy, was the way you could extend the instancename with an incrementing number, like i in the above sample.
in as 3 it'll go like this:
Code:
var y = new linkageName();
addChild(y);
but how do i set the instancename of y on the stage? because i want to let it increment like in the as 2 example.
Please help.
Thanks in advance,
Barry Alan
|