ActionScript 3.0 :: Basic Flash/PHP Mailer?
Sep 22, 2010
I'm creating my first Flash website using AS3, and it's really basic. I would like to put in a contact form, which I have made. I've converted the 3 fields (name_field, email_field and message_field) to a symbol (movie) called 'form'. I've also got a send button, which is called send_btn.
I've set up the Action Script so that when the button is clicked, the user is taken to a confirmation-style page. All I want to do is called a php script (I'm comfortable with the code for that) called 'mailer.php' and send the three variables from the form to it before then loading the confirmation page.
[Code]...
View 13 Replies
Similar Posts:
Apr 1, 2009
I used Flash-Based Email Form Using PHP by Senocular and I have a problem with Polish characters (eg. ‚, …, ™, ‡, ¼, etc). I can type them in the form but when I read the email after sending it to my mailbox the email appears with strange, unreadable marks.I have tried putting some code in the email.php like:[code]I was reading on the Internet about converting / setting charset in Flash or php (eg. I System.useCodepage=true; iconv etc�) before sending the email but I do not know exactly how it should be done.
View 1 Replies
Nov 26, 2009
I'm picking up where someone else left off, and I don't know the first thing about Action scripts or PHP. I have a flash form (Name, Email, Subject, Message) and I want to add a checkbox for "Add me to your mailing list" I've tried to break it down and logically figure it out, but no such luck, guess I'm not that smart.
[Code]....
View 3 Replies
May 19, 2009
I got this:- I created a form mailer .fla and Im using php (loadVariables("action.php", OST");- everything works great, if I embed the swf into html.My problem:- I created a main .fla, where Im using a container for the form mailer .swf- in this case, the action.php file (residing in the same folder with the .swf files) doesnt compile anymore, so, mails wont be sent.
View 1 Replies
Nov 22, 2002
have been trying to make a form mailer in flash.The form mailer for me is provided by [URL] it gives me the codes to send stuff from my web site to my email.This is the code that formbuddy has given me
<form action="http://www.formbuddy.com/cgi-bin/form.pl" method="post">
<input type="hidden" name="username" value="USERNAME">
<input type="hidden" name="reqd" value="1,2,3,4">
<input type="hidden" name="url" value="URL">
the USERNAME value is for me to add my formbuddy username after i have signed up with [URL] .Now my problem is that i dont know how to put the hidden fields in flash, especially the <input type="hidden" name="username" value="USERNAME">. So how do i do it? And yes, i have seen all the tutorials they have here about the form mailers. I also tryed to put the the hidden fields has variables in flash which again did'nt work....
View 7 Replies
Jun 29, 2011
I have a mailing form and i am trying to add a line of code in the php and flash to detect the ip address of the ppl sending an email to me. I don't know anything about php
View 2 Replies
Mar 31, 2010
I'm completely new to programming in PHP. I finally got the Flash/ PHP mailer working as demonstrated on this site ([URL]). Now I'm just trying to figure out how to block out blank forms... and possibly do email verification.
[Code]...
View 2 Replies
Apr 19, 2004
I followed this tutorial for a form mailerHowever when I try to load this from my main swf into a movie clip holder, it no longer works. It only wants to work by itself, im a novice at flash/actionscript but im wondering if this is causing the problem by trying to get to the root of my main movie instead of the actual mailer.swf?
onClipEvent(data){
_root.nextFrame();
}
View 3 Replies
Nov 18, 2009
I know how to get basic xml into flash, but I'm having a problem with a particular set up of xml. The sample below, I can get into flash but am having trouble manipulating it and getting the various bits of data into a format I can manipulate.
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<Contacts>
<Contact id="1" name="name1">
<ContactDetail id="1" type="email" detail="sample@sample.com"/>
[code]....
View 7 Replies
Nov 7, 2008
I would like to have a third party exchange english language text in a swf file with translation-text in other languages. They would like to do it via XML. Is there a place where I can look up some basic info on how to write XML code (beginner), or find a script that lets me exchange text/content via XML?
View 2 Replies
Aug 31, 2009
What is a good structure for a complete Flash website. ex.
1) Index.swf ( which is just a container and loader for the actual SWF site content)
2) Main.swf (the main content of the site that gets loaded in by Index.swf)
Should the index.swf load in several SWF's , like navigation file , news reel file , etc....Also , if anyone know of a web site that has this information or knows of a book that covers this material ,
View 1 Replies
Jul 9, 2005
Id like to make a graphical editor with flash that has some basic features like copying and moving files, and editing text-files.The editor is to be used exclusively offline.I know that AS doesnt provide such functionality, but perhaps its possible with some backend script that doesnt require any installs (like php does)?Javascript, perhaps? Does it have the power to edit files etc?
View 1 Replies
Feb 22, 2007
Everything I read about xml & flash gets all complicated - arrays, galleries, mp3 players etc. Does anyone have an example of the most basic xml - flash integration? I just want to import a text title, a jpg image & a text description that can be changed remotely once a month - nothing tricky...
View 4 Replies
Jan 8, 2009
i know how to program in vb.net, and have little problems switching to action script. the only problem im having is that i dont know where to type my code. in visual basic there were events that you would type into. does any one who knows Vb know what im talking about? i get the whole convert to symbol stuff just not where im supposed to type
View 3 Replies
Jan 23, 2009
I want to start basic. Are there any tutorials or samples where I can make a simple flash website with 1 pic and 1 text content in there and be able to change it like in a CMS system using whatever methods are best php, xml, asp. Maybe using PHP or whatever is the standard for Flash CMS at the moment. How to make a simple content management Flash site starting from there. Where an admin logs in and then change the content for the pic and the text.
View 3 Replies
Sep 17, 2007
I'm trying to create a basic interaction between flash and ASP.net v1.1.In flash code I'm using the LoadVars function and on asp.net page I'm using "Response.write" to return the value to flash.I have a flash button which send the load to the asp.net.(meaning the first time I click the button , the asp.net page is called and return the value , but the second time nothing happens!)
Here is my code:
FLASH:
---------------
Code:
function doCheck()
{
checkSessID = new LoadVars();
checkSessID.onLoad = function (serverIsOnline)
[code]....
The first time in click on the flash button the doCheck() function is called and the sendResponse function (which is in the "IMService.aspx") return the value to flash.Then , when clicking the second time on the button , nothing happens.
View 2 Replies
Jan 23, 2009
how to navigate through the Main timeline using the arrow keys!I know its probably been asked (and covered) a thousand times, so sorry in advance.And yes, of course i've googled it but every piece of code i try seems to error :C
So, just to re-cap, i'm trying to display whats on frame 2 when say, key 40 (right arrow key, i think) is pressed, then return to frame 1 on release, if that makes sense.
View 3 Replies
Aug 3, 2009
I've started using the 3D capabilities of Flash CS4 recently, particularly with respect to transforming the rotation and translation properties of movie clips with AS3. Which is fine for planar shapes, but I want to know how to create true 3D objects that I can similarly manipulate. The problem is, that although there are plenty of excellent tutorials covering simple changes in X, Y and Z properties, there seems to be a distinct lack of tutorials explaining in simple terms how to go about creating, say, a basic cube that can be displayed and transformed dynamically. Adobe's Flash CS4 files mention perspective projection and the Matrix3D object, but I don't find these section particularly clear. What I would like to do, for starters, is create a simple cube to which I can apply x, y and z axis transformations in the same way I can to movie clips.
View 2 Replies
Jan 12, 2012
I'm new to the forums and fairly new to action-script also,Generally such basic things are a breeze, but i can't for the life of me figure out how to navigate through the Main timeline using the arrow keys;And yes, of course i've googled it but every piece of code i try seems to error.So, just to re-cap, i'm trying to display whats on frame 2 when say, key 40 (right arrow key, i think) is pressed, then return to frame 1 on release, if that makes sense.
View 2 Replies
May 5, 2004
I was just wondering if anyone out there has had any luck trying to get a flash app to talk to either a visual basic or c++ application? I need to build a player [flash embeded into the vb or c++ application] that when the user say, pushes a button, calls a function or action from within the app. Any Idea How would I go about this?
View 1 Replies
Feb 14, 2011
I have an online form in flash that when filled out, sends a variable containing the whole message to my PHP mailer (which in turn mails it to me).
Is there a way (at the ActionScript end) that I can instruct the mailer to send the highlighted fields in Bold.[code]...
View 1 Replies
Jan 14, 2010
I've had no problem creating preloaders for a basic page. I have a gallery with a preloader on the main page. It works fine. You can click thumbnails to see large photos that are on separate swf files. Everything worked fine when there were no preloaders on the individual swfs. But later I added preloaders to each individual swf file and now they do not load - just a big fat "0% Loaded" screen.
I'm doing something wrong. Perhaps the preloader should be contained within the loader that is displaying the individual swf files? Maybe the individual swfs do not need their own preloaders? I'm over my head in AS 3.0
View 1 Replies
May 6, 2011
I am doing my simple portfolio on Adobe Flash CS4. However when I am already looking just for the basic action scripting from the tutorial I can't determine which is the most accurate for the buttons. Here's my sample below: The texts that were listed below are my buttons such as About, Profile, Print Ads, Magazine, Logo, Print, Illustration, and Design Concept.
I've already convert it into symbol as BUTTON and now I am ready to put a basic action script to function and transfer into another scene. Example I want to function the Illustration and Print button into Illustration and Print scene how would I do the action script about it?
Here's the example of next scenes that could be clicked from the homepage
This is the ILLUSTRATION scene
This is the PRINT scene
How to do the action scripting by using the gotoAndPlay or anything else to function my portfolio.
View 12 Replies
Nov 6, 2009
I'm having a problem parsing a JSON file in AS3. Im trying to parse multiple JSON arrays, but don't really know how to get to the next after accessing the first one. My JSON file looks like:
{ "term": [ {
"id": 4211,
"place": "NEW YORK CITY"
},
{"id": 2675,
"place": "WASHINGTON (DC)"
[Code] .....
I can get the data from the first array, but how would I structure my code so that I could iterate through 2 or more "term" arrays?
View 2 Replies
Jan 31, 2010
inserting a .swf or flash files in visual basic asp.net give me coding sample or procedure or a link to inserting a flash files in my web form in vb asp.net
View 2 Replies
Feb 6, 2009
So I've been following URL... lovely "Flash Video Basics" tutorial and have encountered some issues which have eventually brought me to a brick wall.After seeing this error regularly:"1061: Call to a possibly undefined method attachVideo through a reference with static type flash. media: Video."I followed someone's advice to use attachNetStream() instead of attachVideo, which worked for a bit..Then I encountered an problem in which the audio would play, but no video. This led me to another forum which suggested that all the script I was trying to use (taken from the tutorial) was actually Actionscript 2.Changing my export to use Actionscript 2 instead of 3 fixed some problems but created others. I'm feeling like at this point I have to give up on the tutorial and just get friendly with a manual - but I'd love to be wrong about that. So I guess my question is: Does anyone know if these (very nicely done) tutorials were created with a version of Actionscript in mind?
View 4 Replies
Jul 5, 2009
I want to create a basic flash file with a little plane that is constantly flying. It never stops just keeps on moving. Now it would be fairly simple to do that but i want to be able to rotate the plane using the arrow keys. Once the plan is rotated I want the plane to fly in the direction of the rotation.
I could easily keep increasing the planes x value but that will make it fly only to the right I want to be able to make the plane fly freely.
[Code]....
View 2 Replies
Apr 17, 2007
Im a beginner at flash video, and have been using the built in FLV component which I can apply actionscript fades to easily. However I don't seem to be able to use them when I use the better method... NetStream. Here is an example fade:
[Code]...
View 1 Replies
Sep 4, 2010
So I've never dealt with collision detection since I mostly have just made simple web-designs, apps, and things that just don't make use of physics or anything like that. But today I decided to fiddle with it a little and was pretty excited when I started out just using a square to move around with keys and so I made some walls to figure out some collision stuff.
And basically, I can't move out of the wall once I collide. I know I could make it so when I collide the sprite backs off a few pixels, but it causes that jittery effect. So I was wondering is it possible to check for a collision before the block is animated?
[Code]...
View 1 Replies
Apr 20, 2005
How I can connect Flash commands at formes of visual basic 6?
example:
when I insert Flash Movie (.swf) to form1 in visual basic
this Movie contain 2 commands (a,b)
when you click command (a) then convert you to form 2 in visual basic
&
when you click command (b) then convert you to form 3 in visual basic
View 3 Replies