ActionScript 2.0 :: XLM Loaded SWF/PHP Form Not Working?

Jan 7, 2006

I am using XML to load an external SWF that has a form using PHP. (Tutorial from, also using XML box resize tutorial to load from with XML) The form works, as far as sending the email correcly, but it does not goto the next frame that says with back button, so it may be confusing to the user if it doesn't do anything when the click send.On the form it has this actionscript attached:

onClipEvent(data){
// show welcome screen
_root.nextFrame();

[code].....

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Form And Buttons Within External SWF Not Working When Loaded?

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF.

I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with:

processing_mc.visible = false;
// Clear the form fields
first_name_txt.text = "";

[code]....

View 2 Replies

Actionscript 3.0 :: Form And Buttons Within External SWF Not Working When Loaded

Oct 20, 2010

I'm currently working on a flash site, which consists of a "Main" SWF file that has buttons to load external SWF files. I figured out how to make the external SWF files show on its own layer below other layers on the main time line of the Main SWF. I created a blank movie clip file on it's own layer of the main time line and used this to call out to it:

this.mySWFLoadingClip.addChild(loader);

This worked perfectly. The website so far works perfectly with each page of the website being an externally loaded SWF. The problem I came across today though, is that buttons and text fields within the external SWF files don't work when they are loaded onto the "Main" SWF. They only work when I open the external SWF files individually. I really need to figure out how to make buttons and the text fields within the external SWF files when loaded onto the "MAIN" SWF. I first came across this problem when I tried adding a form that I created to one of the external SWF files called guestlist_page_swf.swf. The form works on its own when I open that SWF individually, but when I try to load that SWF file with the form as a page on my "Main" SWF, the mouse doesn't even recognize that the submit button is a button, and it doesn't allow me to click on the text fields. Here is the link to the site I am having the problem with, and the problem page is the Guest List page:
[URL]

Below is the code from my Main SWF file and the External SWF file with the form on it:

MAIN SWF:

var Xpos:Number = 0.0;
var Ypos:Number = 192.5;
var swf:MovieClip;

[Code].....

View 5 Replies

ActionScript 2.0 :: Form Mailer Not Working When Loaded Into Movie Clip?

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

Contact Form Not Working?

Jun 15, 2009

I am really in trouble with flash forms and need help please. Ive been trying to get a contact form working for a few weeks but have had no luck.Below is the code I am putting in to the flash form and php file.(this is the code I have put for the send Button)
 
on (release) {
if (name eq "" or subject eq "" or message eq "" or email eq "") {               stop();         } else {         loadVariablesNum("form.php", 0, "POST");         gotoAndStop(2);     }}

(this is the code I have put for the clear Button)

on (release) {    name = "";    subject="";    message="";    email="";}

(And this is the php file i created in dreamweaver and saved it as form.php)
 
$to = "your_email@email.com";   $msg = "$name
";   $msg .= "$message
";
mail($to, $subject, $msg, "Message From: Online client
Reply-To: $email
");
?>
 
I have uploaded the swf file and php file on the server but my form is still not working by sending the information to my email.

View 1 Replies

ActionScript 3.0 :: PHP Form Not Working?

Dec 5, 2009

My site [URL]

The contact form is not sending. And I'm trying to figure out why...

<?PHP
$to = "sven@peachypro.com";
$subject = "OEX Charters";
$e = $_POST['email_txt'];

[Code].....

View 0 Replies

IDE :: Email Form Not Working?

Jul 2, 2007

I have a movieclip called Inquire.fla.In this movieclip i have a form and a button.The form is made up of 4 text fields.... name, email, phone, and message. Each has been given variable names. I converted the 4 text fields to a movieclip, and gave it the instance name "form".I back out to the main scene, click on the form movie clip and give it the actionscript:

onClipEvent(data){
_root.nextFrame();
}

I also have a button that is on the main scene. It has been given the actionscript:

on(release) {
form.loadVariables("email.php", "POST");
}
I then created email.php using dreamweaver with the following code:

<?php
$sendTo = "adamjcormier@hotmail.com";
$subject = "My Flash site reply";[code]....

The movie Inquire.swf is an external movieclip that is loaded into my main Index.swf. I upload the Inquire.swf, Inquire.html and email.php onto the 1and1.com server. When i view my webpage and fill it out.... absolutely nothing happens.

View 6 Replies

IDE :: Php Mail Form Not Working.?

Feb 15, 2009

This php mail form is not working in the Yahoo Server though otherwise worked in other Server. I talked with one Yahoo Service Representative for my Server and they stated that everything is fine with the Server and that the only issue they can see is you coded the script in PHP 5 because Yahoo only supports version PHP version 4.

<?
$destination="trnghosh@gmail.com";
$subject = "Message From trnghosh";

[code].....

View 1 Replies

Make A Working Form Mailer?

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

Reset Button On Form Not Working?

Mar 20, 2009

I am working on a flash site that was done by someone else. I have never used actionscript before so I am sooo new at this. There is a reset button on the form so when people accidentally type in something, they can just click on the "reset" button and it clears all fields. The problem is that it's not clearing.This is what I have in the code for the button:

on (release) {
fullName = "";
address = "";
message = "";
}

The three (fullName, address and message) are the names of my variable when you select each input field. Where am I going wrong with this? Nothing happens when I click it.

View 2 Replies

CS3 Flash Form (calls Php) Not Working

Sep 10, 2010

For some reason my flash file is not calling a php file and sending out an email including the data entered in the flash file.

I've taken out other movie clips and graphics to make this easier on everyone.

Fla File: [URL]

PHP File (in txt format for read-ablity): [URL]

Note; As you can see I've used _root.movieclip, I've tried it with out _root and still no luck.

View 1 Replies

Flash Form Using Components Not Working?

Feb 26, 2010

I have decided to give these components in flash a try and can't get it to work.I am using the following components, a Checkbox(instance name chkPrivacy), TextInput(instance name txtName) and a ComboBox(instance name cboName) on my stage.I have a "submit" button that I made.On my submit button, there is the following code:

Code:

on (release) {
cmdSubmit_onRelease();
}

On frame 1 of my timeline I have the following code:

Code:

stop();
cboName.addItem('');
cboName.addItem('Bill');
cboName.addItem('Tom');

[code]....

When I try to submit, I get an error like it could not find the file form.php+txtName=undefined+cboName..... something like that.I dont know how to get that checkbox thing working to send a variable out to my form.php

View 7 Replies

ActionScript 2.0 :: Put A Form Into Website But Its Not Working?

Mar 17, 2005

I am trying to put a form into my website but its not working.Im using a php language....

View 13 Replies

ActionScript 2.0 :: Get A Checkbox Working For A Form?

Apr 3, 2007

I can't seem to get the proper script to get a checkbox working for a form

View 2 Replies

IDE :: Get An Email Validation Working For The Form?

Aug 27, 2009

Ive been trying to get an email validation working for my form. It works great locally within flash preview, but not locally via its html window, or live. Im not a coder & am self taught to the code will be pretty shabby! (trial & error type gal!)

This is on my send btn,

Code:

on (release) {
if (form.name == null && form.email == null && form.message == null) {
errmsg = "oooh, you didnt write anything";
} else if (form.name == null) {

[code]....

When live it doesnt allow sending if the criteria arent met, but doesnt display the error messages either,

View 1 Replies

ActionScript 3.0 :: Email Form Not Working

Feb 25, 2010

I have been trying to get an email form to work for quite a while now.This is the code and it doesn't seem to work.url...As you can see the website will be waiting for response but nothign happends :/. Can someone fix it or possibly give me a working email form.

View 1 Replies

ActionScript 2.0 :: CS3 Contact Form Not Working Properly

Sep 24, 2010

So I have built a contact form out of AS2 and PHP. PHP 5 is enabled on my server, so that's not a problem. I think there is a slight error within my code somewhere. What happens is once online, you fill out the form and hit post, it goes to the "error sending email!".

[Code]...

View 1 Replies

AS2 :: Professional - Tabindex Not Working In Contact Form?

Feb 17, 2011

I have a contact form on my site for which the text inputs are  created via AS2. This works fine but I cannot get the tabbing to work  (or even have any effect) no matter what I do. I have a menu that  sometimes displays at the top, sometimes on the left and sometimes at  the bottom. If it's at the top or bottom then the form tabbing works  fine, however if it's down the side then when i tab from  contact_namefield it goes to the 8th menu option, then the 9th menu  option, then contact_emailfield then contact_messagefield.Similarly if i  tab from the top of the menu it's goes down sequentially to menu option  7, then to contact_namefield, then menu option 8, then menu option 9  then contact_emailfield then contact_messagefield.

I cannot for the life  of me work out how to change this, I would rather avoid setting  tabenabled=false for every other element on the page (as i'd still like  these to be tabbed), but either way I don't think this will fix it as  the tabindexes i've specified seem to be having no affect at all, no  matter what values i put in (even if i reverse them) the tab order is  always exactly the same. I am using the following code and would be so  grateful if anyone could point out what i'm doing wrong as I can't for  the life of me figure it out!

var currfont=_root.textfont;
var inputcol = "0x" + _root.textcolour;var my_fmt:TextFormat = new TextFormat();my_fmt.bold = false;my_fmt.font = "Arial";my_fmt.color = inputcol;

[code].....

View 1 Replies

ActionScript 2.0 :: OnClipEvent(data) Not Working In Form?

Apr 2, 2010

It's a very basic comments form with only 3 fields, the information gets sent directly to a email address through PHP.

The form works perfectly, sends all the information to my email, but my problem comes in when I try to run a onClipEvent(data) handler to go to a "Thank you" page when the information's been sent.

The onClipEvent(data) handler runs on the form movie clip and works fine when I run it on my local drive, but when I run it through the website it never executes. The form just get sent and it stays on the same frame.

I'm getting headaches from this because it looks like all the codes are working fine, it just doesn't want to run the damn handler!

View 0 Replies

ActionScript 2.0 :: Contact Form Not Working Properly

Sep 24, 2010

So I have built a contact form out of AS2 and PHP. PHP 5 is enabled on my server, so that's not a problem. I think there is a slight error within my code somewhere. What happens is once online, you fill out the form and hit post, it goes to the "error sending email!". Below is my code so you can take a look at it

Code:
//
// SET FOCUS FIELDS
//
name_txt.onSetFocus = function() {
name_mc.gotoAndPlay("write");

[Code].....

View 1 Replies

IDE :: Flash CS3 Mail Form, Working But Have A Small?

Jan 26, 2009

after loads of attempts trying to get my mail contact form to work ( very new to action script + php ) I finally got there! The only problem is i receive all this under the message..

[Code]...

The message is in there, but you can see this is a bit of a problem. Does anyone know how I can resolve the issue?

View 3 Replies

ActionScript 3.0 :: Loaded Swfs Not Working When Loaded Through Xml?

Jun 10, 2010

I have a "photo" gallery that loads numerous SWFs through xml, one by one on click. All works fine. All my SWF work fine stand alone. But when I load them into the player, many swf dont work properly.in example, I have textinput textfields in many of the swfs, which work fine on their own but not when loaded into the player. Then I have a word search game that works fine when alone, not when in player. I can see there is something as my mouse cursor changes into the "button finger", but nothing visual.

All drag and drop assigments work fine etc. I have no idea whats up. I have receantly switched to as3 and in as2 there was _lockroot declaration that solved similar problems, but now in as3 (where it supposedly should be automatic) it doesnt work. As it seems that it cannot recognise it own stage value, or selection_focus when loadedinside another swf through xml.Using cs4, as3.

View 4 Replies

ActionScript 2.0 :: Flash Form Not Working Inside A Movieclip?

Jul 14, 2004

i created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).

The form worked fine, as a standalone swf file, BUT now its not working since i did this:

instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!

I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made. Here is the actionscript on the form:

[Code]...

View 4 Replies

ActionScript 2.0 :: Email Form Not Working Via Index.html?

Jul 5, 2009

I've got an email form within a swf file - [URL]

If I try and fill this form in, it gives me nothing, I got my "Your email failed" message.

However, if I call the swf file - www.kismetroadshow.com/main8.swf and do the same again, it works and I get an email.

I've ruled out the php script therefore.

I've posted the actionscript below:-

stop();
senderLoad = new LoadVars();
receiveLoad = new LoadVars();

[Code].....

the button's called sender. It's been doing my head in for 4 days, everytime I think I have it cracked the punter sends it back which is really embarrassing.

View 3 Replies

ActionScript 2.0 :: Flash Form Not Working Inside A Movieclip

Jul 14, 2004

I created a flash form which collected data and sent it to an asp file which inturn sent it to me as an email. (for my website).

The form worked fine, as a standalone swf file, BUT now its not working since i did this:

instead of running it as a standalone file, im now trying to run it inside a main, bigger swf file, as a movieclip.Its running inside a movieclip called 'Movieclipcontainer.' And as a result its no longer working!

I havent changed my actionscript, and im thinking I probably need to! but i dont know what changes need to be made. Here is the actionscript on the form:

onClipEvent(data){
// show welcome screen
gotoAndPlay("brochure", 46);
}

[Code].....

View 4 Replies

ActionScript 3.0 :: Loading Jpg Form External Site Not Working On Server

Mar 5, 2009

I'm trying to load a jpg from [URL]. I load if from my computer, it works.. load it online, doesn't. And it doesn't give me any errors or anything. The completeListener is not working! Is there a problem with flash loading from other domains or what?.. If I test it, it shows in Safari's activity that the jpg was loaded, but it won't display it.

[Code]....

View 7 Replies

PHP Forms Not Quite Working - Flash Jump To The Next Frame Once The Form Has Been Submitted?

Nov 24, 2009

I've designed a site with 2 forms that use PHP. One has 3 form fields (name, email, message) which I've called 'samples'. The other has one field where an email address is submitted called 'email' for a newsletter sign up, and the pages jump to frames once the data is sent. Admittedly I've used a tutorial for this, but haven't changed anything other than the PHP file names and everything associated with these files in flash in the actions panel.I've assigned this code to the send buttons
 
on (release) {    form.loadVariables("/samples.php", "POST");}

 
AND have added this to the MovieClip containing the Form fields
 
onClipEvent(data){    _root.nextFrame();}
 
The problems i'm having are that all the data isn't being received correctly. So the message form isn't working, it's only sending the first field. The newsletter form is using the samples.php file not the email.php. And secondly, where Flash should jump to the next frame once the form has been submitted, it's actually jumping to the end frame (stop actions on all frames).

View 37 Replies

Actionscript 3 :: After Loading A Flash Movie The Form Stops Working?

Aug 24, 2011

I'm a total begginer in flash and action script, I do have some knowledge in other programming languages.By trying to help a friend I added a contact form in his company website, that was made by someone else.his site is full flash with a index frame that loads several pages.After I built the new contact.swf and tested locally and also hosted by accessing it straight from the browser and embeded I tried to replace it with the old contact.swf that had no contact form.During the tests, everything was fine but when included in the site the form is not functioning.The form has a few rules that prevent empty fields with a green text warning. when I access it embeded separatelly in a web page it works, when I access it loaded by index.swf it does nothinh even if I press the submit button.So I assume the problem is in the index.swf action script.the button that loads the contact page has this code:

on (rollOver) {
gotoAndPlay(2);
}

[code]......

View 1 Replies

Flex :: Form Inside Pop Up Window - Tab (order) Between Forms Not Working?

Aug 25, 2011

when user clicks on Add button, then a pop up button will be opened with certain form elements (like textinput, date field, text area).. When i used 'TAB' inside this form,it is not working.I found in couple of Questions / forums that we need to create an instance of FocusManager and then bring/activate focus for the pop up.But still i didn't see the tab working inside the form.In order to tab order working inside a pop up, what steps we need to follow.

I tried using focusmanager and property like tabfocusenabled, tabenabled and also added taborder inside each form element.Iam using Flash Builder 4.5 and using spark components for development.Is there any workaround for this problem?

View 1 Replies

ActionScript 2.0 :: Required Field Form Script Not Working Correctly?

Aug 17, 2011

I require all the fields filled before processing but the result is, whenever the last field is filled out(tComments field) the form will still go through, even if other fields are left blank. Here is my script and:

bSubmit.onRelease = function()
{
if (tName.text == "",
tEmail.text == "",
tPhone.text == "",

[code]....

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved