ActionScript 2.0 :: How To Send ECards From Within Flash
Dec 11, 2007
How can I send 'eCards' from within flash? I want the user to pick/select an image and put some text and the email address the email goes to into formula. I want to send an customized email with individual text and (inline) attached image to a defined email address.
View 3 Replies
Similar Posts:
Dec 9, 2011
Would like to understand the basic process behind an ecard before I attempt to construct one!Obviously there could be the following elements:Initial web page containing a Swf (choose swf) offering a user a choise of ecards and a consisting of a series of text input fields to collect recipients and senders address and a message. With actionscript that calls a php file on the server.
Passing variables holding the card choise the card text the email from and to etc from swf to php file.The php script runs and creates a copy of a swf card, the one chosen by the user(swf1) It populates the swf copy with text from the variables set by the choose card swf.the php then sends an email to the recipient address with ? and this is where I am unclear?Does it send an attachment of the swf1 or how does it do it?
View 2 Replies
Feb 15, 2011
I have one that's almost done and the stage size is 700x800 px. But I'm starting to worry if that's going to look too small? To change it, will be a lot of work - there's animation, imported Jpegs etc. As far as I can tell, in order for it to look correct in larger dimensions I will need to basically create it again from the ground up. So, I'd really like to get an idea of what the optimal pixel dimensions would be for ecards to run on multiple platforms.
I really want to do this and I don't feel like I can move ahead until I get the viewing size correct. I don't even mind redoing the card. I just want my future cards to be the correct size. I don't want to have to come back and redo them all. By the way, the cards are being made in Flash. The site itself will be created in DreamWeaver.
View 8 Replies
Nov 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button.
I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 2 Replies
Nov 16, 2010
I'm looking to send a list of variables (say 6 in total) from php to flash and for flash to pick a random one and send it back to php when clicking a button. I would like it to appear in a dynamic text box. That randomly selected variable needs to be sent back to php on pressing a button.
View 6 Replies
Mar 11, 2004
I searched around and found some helpful things, but I am still missing something I think...
LoadVariables() won't work across domains, right, so, is it porrible to send data to a CGI script via getURL and not have a popup window on send?
View 3 Replies
Mar 18, 2010
I have a problem with shareobject. the Send method does not work. I work with AS3 My code
[Code]....
View 4 Replies
Nov 24, 2005
I am actually discovering Classes.I try to make a class that reads out an XML file and than converts it into arrays.the array is well created in the class file, but I can't send it back to the swf correctly: it only duplicates the first item of the array in an infinite loop, but when I trace it into the class the output displays it right..
with this code I call the class:
Code:
var myProduct:Product = new Product("gallery.xml");
this.onEnterFrame = function() {
trace(myProduct.getArray());
[code]....
View 1 Replies
Mar 12, 2009
a week ago I bought the following monster template template:[URL]..my last changes to it were to the popup boxes that appear on the SERVICII page when you click those titles there. Right after those changes it compiled and published, everything ok, i did several other tasks in Photoshop then back to my flash and at the next recompile, Error - Send don't send Flash has to close. I reopened it and it keeps closing forced. I tried undoing my steps but nothing worked. I am desperate, the project is due completion on saturday and my source is messed up.
Can anyone tell me why I get that? Has anyone been in a similar situation.I am a flash newbie, I saw no errors in "Compiler Errors" or in "Output", just force closing the Flash CS3.
View 8 Replies
May 20, 2011
I use this code to convert an image to a BitmapData and store a JPG in a ByteArray.
import com.adobe.images.JPGEncoder;
var jpgSource:BitmapData = new BitmapData (img_mc.width, img_mc.height);
jpgSource.draw(img_mc);
[code]....
Now, I want to do the following:
1. send the ByteArray to PHP;
2. PHP must store a physical image_id.jpg on server;
3. then PHP must return the URL of the image to Flash;
The first lines of PHP could be:
if (isset($GLOBALS["HTTP_RAW_POST_DATA"]))
{
// get bytearray
$jpg = $GLOBALS["HTTP_RAW_POST_DATA"];
[code]....
View 1 Replies
Dec 10, 2010
Example of code which would be used to send a bunch of variables to a PHP script via flashThis would require the PHP script to load when the data is sent.I want to use this for a Flash event calender which triggers more information about the event to appear in a HTML area of the page when an event is clicked on. The PHP file would be the same file that the SWF is embeded in so the FLASH file would reload the page with the variable sent to the PHP. The PHP would use this variable to select the right content from a MySQL database.
View 13 Replies
Jun 4, 2010
I have to send some specific xml to a php script (from flash AS2) that then sends out sms message based on the xml. I have been given the xml by the sms sender and have tested it via their live demo and that works fine. The problem I am having is getting flash to send this XML.
The sms sender states that it needs to recieve the xml in the following format: The XML Document should be posted uriencoded, with a UTF‐8 character set as paramaeter 'xml'
Here is the code I have so far, I think something is missing maybe. I have tried running the swf in a browser rather than in the flash testing environment
var my_xml:XML = new XML('<xml></xml>');
my_xml.contentType = "text/xml";
send_btn.onRelease = function () {
[Code]....
View 1 Replies
Jun 4, 2010
I'm trying to send array of data from Flash to PHP to sending e-mail. I'd like to do that because I must change the php page everytime my form site changes because of client's choice.[cod]e...
View 1 Replies
Nov 15, 2010
I need to send a tweet from flash, so i've been looking for solution on the net, but everything i found is using as3. Since i don't know anything of as3, it becomes difficult to edit everything.
View 1 Replies
Sep 13, 2011
So, I have learned how to actually send data from Flash, but how do I in ActionScript send data every 3 second?
View 1 Replies
Jul 11, 2008
Is it possible to send sms from flash, by using PHP? I would be greatful if someone knew about a tutorial for this, or if anyone has any idea about how to do this.
View 3 Replies
Jan 2, 2004
i want to know, i have a video.swf in a page, and when the video finish, it go to another url,
www.site.com/index.html <----- video.swf
it redirect to www.site.com/index.php
how can i put the video in the index.php, and send 1 variable via post, so when it finish send to the same url that he are but with a varible, and them in php i look this variable and show the page
View 5 Replies
Jul 7, 2008
Attached is the .as file. Here you will get an example how to send data to php.
View 1 Replies
Nov 23, 2009
basically, the ecard will start with 3 questions.each question has 3 answers.so user choses the answer e.g. B, B, C and clicks preview.it will play the movie clip assigned to B B C in sequence.then user can click send to sent to friend.so the URL needs to be able to identify the sequence maybe in parameters.so that when his friend receives the ecard and clicks on the flash it will play B B C sequence.then his frind can create his own ecard and maybe A C A etc...So how i created like that?
View 3 Replies
Sep 16, 2004
I'm trying to send content from flash to asp, but I dont know how to request for the data in asp,
This is my AScode:
Code:
var myLv:LoadVars = new LoadVars()
myLv.vr1 = vr1
myLv.vr2 = vr2
[Code]....
View 1 Replies
Nov 19, 2002
way to send a VAR from flash to asp, and then the asp file writes it in a .db file
View 9 Replies
Dec 14, 2002
how to send data to asp thru flash & how to retreive data from an asp into flash...
View 3 Replies
Aug 25, 2009
Problems on php send color var to flash (AS2.0)
code in php:
echo "<font color="#CCCCCC">";
echo "Hell-lo World!";
echo "<font>";
in browser output, everything is fine, the color of the font has changed to #CCCCC but when i load the code into flash e.g.
slogan_txt.html = true;
slogan_txt.htmlText = textFromPhp;
the color hasn't changed.
I've trace (slogan_txt.htmlText);
I can see there are a lot of default setting for htmlText:
<P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">
But I couldn't see my imported php code <font color=#cccccc>
On the other hand, the imported php code of font size could override the default html setting of flash player I've also try echo "<font color=""."#"."CCCCCC"."">"; no luck.
View 2 Replies
Jan 31, 2010
Send data from Flash to PHP = Possible. Is it possible the other way? ( for example, send a variable from PHP to Flash ). If it is, how secure is it? Can people see the data that was sent?
View 8 Replies
Mar 2, 2010
So I'm trying to send an array of values from PHP to Flash, but the problem is any character I could use to separate the values could potentially be in the value itself.
Fine, no problem I thought. I'll just urlencode the variables and allow (for arguments sake) commas to separate the 'encoded' values.
Just after I'd finished laughing about my mighty victory over code adversary as I often do, I attempted to fetch the array from the PHP file and I quickly learned that Flash automatically applies the 'escape' function to the data after it is received. My laughter was replaced by (for theatrical sake) tears!
A way to tell Flash to stop automatically 'escaping' the incoming variables, or
A way to send an array of values without using a character that could be used in the variable (which could be anything... fullstops, commas, dashes. Pretty much anything within reason)
Now, before you mention that I should just make a NVP (Name value pair) for each variable in the array, know that there is quite a lot of data already being loaded, and adding (what I consider is) unnecessary extra NVP syntax (which would double the large amount of data I'm sending) could potentially cause trouble, not to mention a general lack of bandwidth.
Should I bite the bullet and NVP my arrays (ugh!), or maybe use an obscure character as the separator... but I would like a practical approach to this solution... like stopping Flash from automatically escaping the input.[code]...
View 4 Replies
Dec 11, 2007
I have got to send sth by ASP in Flash. I wrote some code but this doesnt work.[code]If I just click on email. asp without Flash, I will get a email from there. But if I use the above method to call that page, the email wont be sent. So do anyone know what wrong?
View 3 Replies
Apr 17, 2007
I create an xml in flash and want to save it on the server. i user my_xm.send("script.php"); to send the created xml, but don't know how to handle it in PHP in order to save the file on the disk.
View 2 Replies
Jul 14, 2009
I have been given task and dont know where to start. I need to produce a small quiz that sends the selected values to an asp.net application form there populates the database with the values chosen.
Ive been told this is the best way to send values from flash to a database.
View 7 Replies
Sep 10, 2009
In a contact page, there is fields for sending message. What I want to do is that, when i click the send button, the message should be send to corresponding mail ID. Is there any need to use server side languages for this purpose?
View 1 Replies
Oct 8, 2009
How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.
View 1 Replies