Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




My Flash Form Does Not Work In Some Computers



I am pulling my hair out over a problem with a Flash form that I recently put on my work website.

We are getting regular calls from customers saying that the submit button does not work at all. I have tested this form on several different computers using IE, FF, Netscape and Opera. It works fine for me on all of them but many customers who say they are using XP and IE are having trouble.

This is the function that gets called from the submit button:


Code:
function sendInfo(aspName) {
myVars = new LoadVars();
myVars.Your_Name = Your_Name;
myVars.email = email;
myVars.Wedding_Date = myDate.text;
myVars.Location = Location;
myVars.DJ_Company = cboDJ.getSelectedItem().label;
myVars.Brides_Name = Brides_Name;
myVars.Grooms_Name = Grooms_Name;
myVars.Bride_Groom_Dance = Bride_Groom_Dance;
myVars.Grand_March_Time = Grand_March_Time;
myVars.Grand_March_Song = Grand_March_Song;
myVars.Wedding_Party_Dance = Wedding_Party_Dance;
myVars.Switch_Partners = SwitchPartners;
myVars.Bride_Groom_Dance_GM = Bride_Groom_Dance_GM;
myVars.Bride_Father_Dance = Bride_Father_Dance;
myVars.Groom_Mother_Dance = Groom_Mother_Dance;
myVars.Parents_Dance = Parents_Dance;
myVars.Bouquet_Toss_Song = Bouquet_Toss_Song;
myVars.Garter_Toss_Song = Garter_Toss_Song;
myVars.Garter_Removal_Song = Garter_Removal_Song;
myVars.Additional_Information = Additional_Information;

myVars.send("WeddingPlanner"+aspName+".asp", myVars, "GET");
}
Can anyone spot a problem? I'm assuming the problem is going to have something to do with the ASP integration but why would it work on some computers and not others with the same OS and browser?

Any help is much appreciated.



ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 07-17-2007, 09:22 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flash Site Doesn't Work Right On Some Computers
Ok, I tested my web site on 6 different computers (PCs and Macs). First I was having trouble with it on my computer only when I uploaded it to my server, none of my navigation worked right and none of the links. I deleted my ambient sound to bring the file size down, now it works right. But! To make sure I tested the site on more computers and almost all of my script links/ navigation didn't work on Explorer 4.5 on a Mac. What do I do? I'm baffled. I even loaded my old file before I started changing and updating it, same problem on that Mac.
Now before like I said it was a few PCs where none of the links where working, but now they are. Aaaaarrrgghh. Please help.

http://www.jaredhobbs.com

Jared

Flash Presentation Doesn't Work Right In Other Computers
Hi guys, i've made this flash presentation. In my computer all works well, but when i play it in other computers some text doesn't show.

I don't know if its because other computers don't have that specific font i'm using, but when i made the text in the presentation i then converted it to a graphic symbol so to my understanding that's not text anymore its an image, so it doesn't need the font, but i could be wrong i'm no flash expert.

Any ideas?

Thank you very much.

Flash Presentation Doesn't Work Right In Other Computers
Hi guys, i've made this flash presentation. In my computer all works well, but when i play it in other computers some text doesn't show. It's just certain animation with text, simply doesn't show.

I don't know if its because other computers don't have that specific font i'm using, but when i made the text in the presentation i then converted it to a graphic symbol so to my understanding that's not text anymore its an image, so it doesn't need the font, but i could be wrong i'm no flash expert.

Any ideas?

Thank you very much.

Doesn't Work On Some Computers
Here's my predicament. Basically, when I am at work I can never properly view my site ( http://www.wheelsonwheelscoveringkent.co.uk/ ). What happens is the first screen displays fine, but when the map thing appears, none of the text displays and most of the lines are gone. The rollover effect still works though. I noticed at work I am on Flash Player 7, but at home on Flash Player 8. 8 Works fine, and I tried making the file a Flash 7 file but it didn't solve my problem. Does anyone know why this happens - there are also filtering things on the work computers...but the actionscript and general flash file just seems not to work...

Trying To Get My FLASH Form To Work
i created a form from a flashkit tutorial found here: http://www.flashkit.com/tutorials/Dy...15/index.shtml

and im having trouble getting the submission to work. i dont receive anything when i fill out the form. could it be a server-side thing? and if so, is there anyone that could help me, im totally new to this thing!

Getting A Flash Form To Work
what is the best way to make a flash form transmit info to an email address?

Can't Get Form In Flash To Work PHP
Hello,
I'm having a very difficult time getting a form in Flash to work. I want to use a php script. I know that my server supports it because I'm able to send myself an email using a php script located on the server.

Basically what I want is just a single input field form for people to enter their email address. It would then be sent to my email address in a message, so I could add it to my records and e-list.

I've found tutorials all over the web about email forms, and I've tried to modify them to get them to work like I want. It seems to me the problem is that the script isn't receiving the variables from flash.
As I mentioned above, the php email is working fine as I've tested it independently.

What could be going wrong that I need to fix? I've followed several tutorials and none have worked for me yet.

Any and all help is immensely appreciated!
-Daniel
------------
Version: Flash MX 2004

Flash Form Won't Work In IE...?
I have created a small search text box in flash for searching the website (it searches and outputs to HTML, not flash).

I also have the AC_RunActiveContent.js thing installed, so that's not the issue. The flash file itself loads fine. However, whenever I submit a search term in the box, it comes back saying that "your referrer does not match our list of trusted hosts." It works just fine in Firefox. Here is the code that I have in the flash file for the search box:

on (release, keyPress "<Enter>") {
var my_lv:LoadVars = new LoadVars();
my_lv.searchTerm = searchTerm.text;
my_lv.send("search.asp", "_self", "GET");
}

What can I do to fix it?

Flash Form Won't Work In IE...
I have created a small search text box in flash for searching the website (it searches and outputs to HTML, not flash).

I also have the AC_RunActiveContent.js thing installed, so that's not the issue. The flash file itself loads fine. However, whenever I submit a search term in the box, it comes back saying that "your referrer does not match our list of trusted hosts." It works just fine in Firefox. Here is the code that I have in the flash file for the search box:

on (release, keyPress "<Enter>") {
var my_lv:LoadVars = new LoadVars();
my_lv.searchTerm = searchTerm.text;
my_lv.send("search.asp", "_self", "GET");
}

What can I do to fix it?

HELP Cant Get My Flash Form & PHP To Work
Hello all...

I can't get my online form to work correctly. I've read severval tutorials, but I just cant seem to pull it off.

Could someone be kind enough to help me out with this problem?

To view the site go to: http://www.kosmodesign.com/af.htm

(under the online form section)

If you can help me out, let me know and I can email you the .fla file.

Many thanks,

KJ

GET FLASH FORM TO WORK
OK, I am trying to get my flash form to work and I'm working with a template from FLASH MX BIBLE. I'm going to paste both my action script and my cgi script in here & hopefully I can find an answer to why it doesn't work. Basically what happens is it says it was received, but it wasn't. ... or it is but none of the words come through (this happened earlier before I tried tweeking the script... which I think made it worse).


........ thank you thank you to anyone who can help me ...........










Attach Code

HERE is the ACTION Script for Flash:
userComments = new LoadVars();
userComments.onLoad = function(success) {
if (success) {
_root.gotoAndStop("output");
} else {
_root.gotoAndStop("error");
}
};
function sendComments() {
var obj = userComments;
obj.fromEmail = fromEmail.text;
obj.fromName = fromName.text;
obj.toEmail = "chicfurniture@sbcglobal.net<mailto:chicfurniture@sbcglobal.net>";
obj.toName = "Shawna Cogar";
obj.subject = "C2C Feedback";
obj.body = comments.text;
userComments.sendAndLoad("http://chictochicfurniture.com/cgi-bin/sendmail.cgi", userComments, "GET");
_root.gotoAndStop("wait");
}

AND here is the CGI script that I copied directly from the CD
#!/usr/bin/perl

use CGI;

# ----------------------------- define variables -----------------------------

# @restrictTo is an array containing refering addresses to which you
# wish to grant access to your script. If it contains a single value of
# 'all' then any refering address can access your script.

# uncomment the next line to grant access to only restricted addresses
#@restrictTo = ('chictochicfurniture.net');

# comment the next line if you restrict access.
@restrictTo = ('all');

# $toEmail is the default email you wish this script to send all
# emails to. uncomment the line below to do this.
# $toEmail = 'chicfurniture@sbcglobal.net<mailto:chicfurniture@sbcglobal.net>';

# $sendMailProg is the location of the mail send program on your server.
# the default setting will work for most Unix servers.

$sendMailProg = '/usr/lib/sendmail';

# ------------------------ end define variables ----------------------------------

# -------------------------- call subroutines ------------------------------------

# step 1: validate the refering address
&validateReferer;

#step 2: get data from form post
&getData;

#step 3: check the output request type
&checkOutputRequest;

#step 4: check required fields
&checkRequired;

#step 5: send email
&sendEmail;

# ----------------------- end call subroutines -----------------------------------

# --------------------------- subroutines ----------------------------------------

sub validateReferer
{
local $isValid = 0;

# checks to make sure that the HTTP_REFERER has been passed
if ($ENV{'HTTP_REFERER'})
{
# compares each address in the @restrictTo array to the refering address
# if it finds a match, it flags $isValid to true and breaks out of the
# foreach loop
foreach $address (@restrictTo)
{
if ($ENV{'HTTP_REFERER'} =~ m|https?://([^/]*)$address|i || $address eq 'all')
{
$isValid = 1;
last;
}
}
}
# if HTTP_REFERER has not been passed, it checks to see if the value of the first
# element of the restrictTo array is 'all', in which case all refering addresses
# are granted access, so the $isValid is flagged true.
elsif ($restrictTo[0] eq 'all')
{
$isValid = 1;
}

# if the refering address is not a valid on, output an error message.
if ($isValid != 1)
{
&output('invalidAddress');
}
}

sub getData
{
if ($ENV{'REQUEST_METHOD'} eq 'GET')
{
# split the query_string into an array that holds the name/value pairs.
@variables = split(/&/, $ENV{'QUERY_STRING'});
}
elsif ($ENV{'REQUEST_METHOD'} eq 'POST')
{
read(STDIN, $fromPost, $ENV{'CONTENT_LENGTH'});

# split the previously assigned value of $fromPost into an array that
# holds the name/value pairs.
@variables = split(/&/, $fromPost);
}

# if no request method has been passed (no form information) then output
# an error message.
else
{
&error('noRequestMethod');
}

# break each name/value pair apart, convert them from the URLenceded format,
# and place them into an associative array.
$k = 0;
foreach $variable (@variables)
{

local($varName, $varValue) = split(/=/, $variable);

$varName =~ tr/+/ /;
$varName =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;

$varValue =~ tr/+/ /;
$varValue =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;

$varValue =~ s/<!--(.|
)*-->//g;

$FIELDS{$varName} = $varValue;

$order[$k] = $varName;
$k = $k + 1;
}

}

sub checkOutputRequest
{
$outputEnvVars = 0;
if (defined($FIELDS{'envVars'}))
{
if ($FIELDS{'envVars'} eq 'yes')
{
$outputEnvVars = 1;
}
if ($FIELDS{'envVars'} eq 'only')
{
&output('envVars');
}
}
}

sub checkRequired
{
# checks to see if a formfield called 'required' has been passed
# if not, define @required to be empty. otherwise, define @required
# to be the elements from the comma-delimited list passed from the form.
if (!defined($FIELDS{'required'}))
{
@required = ();
}
else
{
@required = split(/,/,$FIELDS{'required'});
}

# in order to send an email it is necessary to have an address to
# which to send. if no value was passed and a default has not been
# specified within the script, then add to the array of missing
# values.
if (!defined($FIELDS{'to'}))
{
if (!defined($toEmail))
{
push(@missing, 'to');
}
}
# if an email address has been passed frmo the form, then make sure that it
# is a valid format for an email address. otherwise, output an error message.
elsif ($FIELDS{'to'} =~ /(@.*@)|(..)|(@.)|(.@)|(^.)/ || $FIELDS{'to'} !~ /^.+@([?)[a-zA-Z0-9-.]+.([a-zA-Z]{2,3}|[0-9]{1,3})(]?)$/)
{
&output('badEmail');
}

# check to make sure each required formfield has been passed.
foreach $require (@required)
{
if (!defined($FIELDS{$require}))
{
push(@missing, $require);
}
}

# if any missing formfields were detected, output the error message.
if (defined(@missing))
{
&output('missingRequired');
}
}

sub sendEmail
{

# begin sending the mail.
open(MAILPROG, "|$sendMailProg -t");
if (defined($FIELDS{'to'}))
{
print MAILPROG "To: $FIELDS{'to'}
";
}
elsif (defined($toEmail))
{
print MAILPROG "To: $toEmail
";
}
else
{
&output('badEmail');
}

if (defined($FIELDS{'from'}))
{
print MAILPROG "From: $FIELDS{'from'}
";
}
else
{
print MAILPROG "From: <unknown>
";
}

if (defined($FIELDS{'subject'}))
{
print MAILPROG "Subject: $FIELDS{'subject'}

";
}
else
{
print MAILPROG "Subject: <none>

";
}

# print each variable name and value to the body of the email.
foreach $index (@order)
#foreach $member (keys %FIELDS)
{
if ($index ne 'to' && $index ne 'from' && $index ne 'subject')
# if ($member ne 'to' && $member ne 'from' && $member ne 'subject')
{
print MAILPROG "$index:

$FIELDS{$index}

";
# print MAILPROG "$member:

$FIELDS{$member}

";
}
}

# sends email.
print MAILPROG ".";

close (MAILPROG);



# output the success of the send to the user.
&output('sentEmail');

}


sub output
{
# create a local variable to hold the value of the paramaters
# passed to the subroutine.
local ($outputType) = @_;

if ($outputType eq 'invalidAddress')
{
print "Content-type: text/plain

";
print "success=0&error=invalidAddress";
exit;
}

elsif ($outputType eq 'noRequestMethod')
{
print "Content-type: text/plain

";
print "success=0&error=noRequestMethod";
exit;
}

elsif ($outputType eq 'missingRequired')
{
# create local variable to hold length of array for
# missing formfields.
local $howManyMissing = scalar(@missing);
print "Content-type: text/plain

";
print "success=0&error=missingRequired&missing=";

# print a comma-delimited list of the missing formfields.
for ($i=0; $i< $howManyMissing-1; $i++)
{
print "$missing[$i],";
}
print "$missing[$howManyMissing-1]";
exit;
}

elsif ($outputType eq 'badEmail')
{
print "Content-type: text/plain

";
print "success=0&error=badEmail";
exit;
}

elsif ($outputType eq 'envVars')
{
print "Content-type: text/plain

";
print &envVars;
print "&timeDate=";
print &makeDate;
exit;
}

elsif ($outputType eq 'sentEmail')
{
print "Content-type: text/plain

";
print "success=1&timeDate=";
print &makeDate;
exit;
}
}

sub makeDate {

@days = ('Sunday','Monday','Tuesday','Wednesday',
'Thursday','Friday','Saturday');
@months = ('January','February','March','April','May','June','July',
'August','September','October','November','December');

($sec,$min,$hour,$dayOfMonth,$month,$year,$dayOfWeek) = (localtime(time))[0,1,2,3,4,5,6];
$time = sprintf("%02d:%02d:%02d",$hour,$min,$sec);
$year += 1900;

$date = "$days[$dayOfWeek] $dayOfMonth $months[$month] $year $time";
$date = CGI::escape($date);

return $date;
}


sub envVars
{
local $remoteHost = $ENV{'REMOTE_HOST'};
local $httpReferer = $ENV{'HTTP_REFERER'};
local $httpUserAgent = $ENV{'HTTP_USER_AGENT'};

$remoteHost = CGI::escape($remoteHost);
$httpReferer = CGI::escape($httpReferer);
$httpUserAgent = CGI::escape($httpUserAgent);

$envVars = "REMOTE_HOST=$remoteHost&HTTP_REFERER=$httpReferer&HTTP_USER_AGENT=$httpUserAgent";
return $envVars;
}
# ----------------------------- end subroutines ------------------------------------

























Edited: 09/29/2007 at 02:29:07 PM by photogirl_78

Getting Flash Form To Work...
Hi every one I'm in the process of building a flash form I've been following tutorial:

http://www.kirupa.com/developer/actionscript/flash_php_email.htm

MY EXAMPLE WORK FILE: http://www.johncliffordtaylor.com/form_help.fla

But I've made a change to the work layout (details below) and now I can't get my:

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

ActionScript to work so when you press the send button on the form page the play head doesn’t advance to the thank you frame.

In the tutorial shown all the frames are on the main timeline. Because of existing content layout in the site I’m building this form for I have to build the same form and placed it in a movie clip aptly named "form" so it will occupy only one frame on the main timeline.

Sadly this is where the problems start because even though the PHP email function is working fine, the when you click on the send button the play head doesn’t advance to the thank you frame.

I think the problem lines in the:

_root.nextFrame();

Part should it be a:

this.nextFrame();

So any help would be very cool thx for taking the time to read and help out

John

Flash Form Work With Php File
Hello,

i am trying to make a flash form working with a php file that sends the input data into my email.
the text boxes are working but i cant make the radio buttons and check boxes to work.
is there some one that can tell me what should i do.
i have attached the files so you understand better what im trying to do.

thanks once again!

Getting Form Object To Work In Flash
Hi,

I have been asked to embed a button into a flash movie. I have the HTML equivalent form tags with all of the detail.

When I have done this before, I used the getUrl object and created a button from an image, which allowed me to redirect to a link

HOWEVER - this time the form object has hidden stuff to pass - see below for the tag:


<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but02.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxx, et cetc etc etc etc etc etc-----END PKCS7-----
">
</form>


Any ideas how to get this to work, please?

Cheers in advance

Flash Email Form Just Won't Work...
I have this form all set up, I have seen a working version and followed everything down to the t! But for the life of me it will not send, the data disappears but nothing... I have tried everything... Can anyone please look at the attached and see if they can see what I am doing wrong it's killing me!!!!

Php & Flash Form Doesn't Work
I'm using kirupa's php & flash form on a web page and it doesn't work. I think it's because all the sections are in external files, including the contact one. Can somebody help me pleaaase?????
Here is the site:
http://www.bausa.cl/home.html
thanx!

the_light

How To Make A Flash Form Work
I am having much trouble getting my flash contact form working. It is in a flash template that I purchased and I sure could use some help. I thought that it would be easy but it seems to be beyond me as to how it works. php is what I am looking at to use and when I highlite the button to use various scripts none of them work or I'm doing it wrong. I even tried the tutorial here and nothing. This is no simple form. If anyone could help me onto the path that would be great.

Thanks,
chipster

Can't Get Flash Email Form To Work
I've been doing the Flash email form tutorial...http://www.kirupa.com/developer/actionscript/flash_php_email.htm

..and I can get it to send and email to me but the page doesn't change after it has sent. I've been at it for ages trying different things but I can't get it to work. I've also just realised that the one on the tutorial doesn't work either!

I think the problem lies here....


onClipEvent(data){

_root.nextFrame();

}

I tryed putting a gotoAndPlay when you click the send button but I think this makes it change before it has a chance to send the vars, plus it'd be nice to know the data had been sent.

Any ideas / help would be much appreciated!

Cheers

Sean

P.S i'm using flash mx 2004

Help Flash Form Wont Work
Hi US.. i need your help... attached is the link to the form I need help on.. its the .fla file.. my cgibin is located at olidemedia.com/cgi-bin. I tried over and over and for some reason it wont work.. please help .. download fla and see if u can make it work.... maybe u can try using your cgi-bin and if it works i would appreciate a link to download the new working fla form and i will just change the address to mines

thanx here is the link http://olidemedia.com/form.fla

Flash Email Form Just Won't Work...
I have this form all set up, I have seen a working version and followed everything down to the t! But for the life of me it will not send, the data disappears but nothing... I have tried everything... Can anyone please look at the attached and see if they can see what I am doing wrong it's killing me!!!!

Flash HTML Email - Asp Form Won't Work
Hello all,

I'm formatting an HTML email that has an embedded Flash movie in it. The flash movie has an asp form that sends email. This function works fine when ran from a browser, but doesn't work when sent in the HTML email (viewed using Outlook Express). Does anyone have any idea why this would be or how to correct it? Thanks in advance.

How To Make This Mail-form Work In Flash?
Hey everyone...
I'm just working on my latest flash-HP and I'm just about done. My only problem is, that I can't make this mailform work, when I integrate it in Flash:
-------------------------------------html start-----
[form name="formmailler" action="http://www.websup.dk/formmailler.php3" method="post"]
[input type="HIDDEN" name="modtager_email" value="ronze@events.dk"]
[input type="HIDDEN" name="emne" value="E-mail from Homepage"]
[input type="HIDDEN" name="medsend" value="hjemmeside;kommentar"]
[input type="HIDDEN" name="url" value="http://www.minusme.dk/tak.html"]

Name:
[input type="text" name="afsender_navn"]
E-mail:
[input type="text" name="afsender_email"]
Homepage:
[input type="text" name="hjemmeside"]

Feed Back:
[textarea cols="22" rows="5" name="kommentar"][/textarea]

[input type="submit" value="Send"][/form]
-------------------------------------html end-------------------
Some of the stuff is written in danish, because it's a danish formmailer I'm using.
But let me explain: the "modtager_email" is recipient
the "emne" is subject
the "url" is the thank-you-for-posting-page
I've tried the tutorial "simple forms in flash" but it doesn't work. I dont't know what I'm doing wrong. All the "hidden" HTMl I've set as variables in the Flash-document (submit button).
If this doesn't work, do you know any other place where there's a formmailer easy to use?

thank you
PS: I've replaced the < > with [ ]

Making An Html Form Work In Flash
Hello,
I have an html form setup here: http://www.uprokrecords.com/lpg/recommend.htm
I would like to get this to work inside flash but have no clue since the code is really touchy!
The code for the form is attached.

Please help.
<form method="POST" action="http://www.thecadetleague.com/cgi-bin/mrp/MRP.cgi">
<input type="hidden" name="next" value="http://www.uprokrecords.com/lpg/thankyou.htm">
<input type="hidden" name="sitename" value="The LPG E-Card">
<input type="hidden" name="howmany" value="10">
<input type="hidden" name="siteURL" value="http://www.uprokrecords.com/lpg">
<TABLE>
<TR>
<TD width="531"> <table border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="72" height="37" align="right"><font face=verdana size=1 color=white>Your
Name:</font></td>
<td width="150"><input type="text" name="visitorname" size="25"></td>
</tr>
<tr>
<td height="30" align="right"><font face=verdana size=1 color=white>Your
Email:</font></td>
<td><input type="text" name="visitormail" size="25"></td>
</tr>
<tr>
<td height="12"> </td>
</tr>
<tr>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_1" size="25"></td>
<td width="75"> </td>
<td width="72" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td width="150"><input type="text" name="friendname_2" size="25"></td>
</tr>
<tr>
<td height="49" align="right"><font face=verdana size=1 color=white>
Email:</font></td>
<td><input type="text" name="friendmail_1" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_2" size="25"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="36" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td><input type="text" name="friendname_3" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_4" size="25"></td>
</tr>
<tr>
<td height="30" align="right"><font face=verdana size=1 color=white>
Email:</font></td>
<td> <input type="text" name="friendmail_3" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_4" size="25"></td>
</tr>
<tr>
<td height="8"> </td>
</tr>
<tr>
<td height="42" align="right"><font face=verdana size=1 color=white>Name:</font></td>
<td><input type="text" name="friendname_5" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_6" size="25"></td>
</tr>
<tr>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_5" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_6" size="25"></td>
</tr>
<tr>
<td height="16"> </td>
</tr>
<tr>
<td height="34" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td><input type="text" name="friendname_7" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_8" size="25"></td>
</tr>
<tr>
<td height="35" align="right"><font face=verdana size=1 color=white>
Email:</font></td>
<td><input type="text" name="friendmail_7" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_8" size="25"></td>
</tr>
<tr>
<td height="8"> </td>
</tr>
<tr>
<td height="43" align="right"><font face=verdana size=1 color=white>
Name:</font></td>
<td><input type="text" name="friendname_9" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Name:</font></td>
<td><input type="text" name="friendname_10" size="25"></td>
</tr>
<tr>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_9" size="25"></td>
<td> </td>
<td align="right"><font face=verdana size=1 color=white> Email:</font></td>
<td><input type="text" name="friendmail_10" size="25"></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td><font face=verdana size=1 color=white>Message to your friend
(optional):</font><br> <textarea name="message" cols="50" rows="5"></textarea></td>
</tr>
<tr>
<td><input type="checkbox" name="copy" value="yes"> <font face=verdana size=1 color=white>Send
me a copy of what's sent to my friends.</font></td>
</tr>
<tr>
<td align="center"><input type="submit" value="PASS IT ON!"></td>
</tr>
</table></TD>
</TR>
</TABLE>
</form>

What's The Easiest Way To Make A Flash Form Work?
i have designed a simple flash form with a reset and submit button. i simply want the information sent to my email address as text when the user clicks the submit button. is there a standard actionscript somewhere i can copy and paste onto the submit button? what am i supposed to do?

thanx in advance....

I Have A Flash Form That Doesnt Seem To Work Properly
Basically i need someone to help in getting a flash form within a flash site to work properly by going over the action script with me.

PHP Contact Form From Flash - Used To Work And Now Doesn't
I have a PHP contact form that used to work but now is giving me nothign but problems.

mail.php

PHP Code:



<?php
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$subject = $_POST['subject'];

$to="sintax321@hotmail.com";

$msg="$name

";
$msg.="$email

";
$msg.="$message

";

echo "<pre>"; print_r($_POST); echo "</pre>";

mail($to, $subject, $msg, "From: Contact
Reply-To: $email
X-main: PHP/");
?>




Flash send function from contact.swf

ActionScript Code:
on (release) {    if (subject eq "" or message eq "" or email eq "" or name eq "") {        stop();    } else {        lineAdapt();        loadVariablesNum("mail.php", 0, "POST");        sent.gotoAndPlay(2);        subject="";         message="";         name="";        email="";    }}


I put mail.php in both the root folder and the folder contact.swf so it should find it in one of the locations but it fails to work. Any one got any ideas?

PHP Contact Form From Flash - Used To Work And Now Doesn't
I have a PHP contact form that used to work but now is giving me nothign but problems.

mail.php

PHP Code:



<?php
$name = $_POST['name'];
$email = $_POST['email'];
$message = $_POST['message'];
$subject = $_POST['subject'];

$to="sintax321@hotmail.com";

$msg="$name

";
$msg.="$email

";
$msg.="$message

";

echo "<pre>"; print_r($_POST); echo "</pre>";

mail($to, $subject, $msg, "From: Contact
Reply-To: $email
X-main: PHP/");
?>




Flash send function from contact.swf

ActionScript Code:
on (release) {    if (subject eq "" or message eq "" or email eq "" or name eq "") {        stop();    } else {        lineAdapt();        loadVariablesNum("mail.php", 0, "POST");        sent.gotoAndPlay(2);        subject="";         message="";         name="";        email="";    }}


I put mail.php in both the root folder and the folder contact.swf so it should find it in one of the locations but it fails to work. Any one got any ideas?

Anyone Get Cold Fusion And Flash To Work Together W/ A Email Form?
Ive been trying to get it to work for the past two days now and im getting nada. Please help if you can.

Thanks.

Help With Converting A Submit Form To Work On My Flash Design...
i have two problems i need help with.

1. i am redoing a site with flash, and the old version has an html submit form on it. so, i need to learn how to integrate the code that makes the form, found at this url http://sexynianicole.com/contact.html, and make it operate properly on the form found at this url http://www.escort-designs.com/templa...e-contact.html.

2. i have used dynamic text to have a scrollable text area, such as on this url http://www.escort-designs.com/templa...ss-escort.html but when i try to change some of the text to a different font, all of the text winds up changed. i need to be able to have subtitles on this font. is there any way i can achieve this?

any help would be greatly appreiciated.

thanx

Simple Email Form Flash & PHP Doesn't Work
Hey, Im trying to create a simple email form and it wont work!
Im using the flash -> PHP system.
The PHP is fine as Ive tested it seperately and it works but through flash nothing happens.

AS code - on a button:

Code:
on(release) {
sender = new LoadVars();
receiver = new LoadVars();
sender.n = "vijizzle";
sender.e = "test";
sender.me = "test";
sender.num = "3535";
sender.sendAndLoad("email.php", receiver, "POST");
}
PHP Code:

PHP Code:



<?php

$msg =    "Name: ".trim($_POST['n'])."
".
    "Email: ".trim($_POST['e'])."
".
    "Number: ".trim($_POST['num'])."
".
    "Message: ".trim($_POST['me']);

mail("someone@emailaddress.com","Query" , $msg);

?>




Any help appreciated - thanks.

Why The Heck Doesn't This Work? (PHP / Flash Mail Form.)
I'm trying to make a really basic contact form using Flash and PHP. I've done this many times before, but this particular one doesn't work at all.

I'm starting to rip my hair out.

Here is my PHP file, which is in the same directory as the .SWF file:


PHP Code:



<?php$sendTo = "ryanragona@gmail.com";$subject = "Ragonadesign.com Contact Form";$headers = "From: " . $_POST["name"];$headers .= "<" . $_POST["email"] . ">
";$headers .= "Reply-To: " . $_POST["email"] . "
";$headers .= "Return-Path: " . $_POST["email"];$message = $_POST["message"];mail($sendTo, $subject, $message, $headers);?>




I've attached my .FLA file. It behaves just fine locally (doesn't send me an email, of course, but it does go to the 'thank you' screen and appear to work) but when I put it on my server it doesn't do a damned thing.

http://ragonadesign.com/contact.html

I'm going nuts. I have no idea what I botched with this one. Any ideas?

Thanks.

See lower post for .FLA file attachment.

Simple Flash Form Doesnt Work In IE Or FF But Does In Flash?
hey, I have made a small flash form that inputs a postcode into a string url jobbie, the code works, because when it is tested in flash the link works and a new window pops up, but if tested in html it just doesnt work!! The code is within a movie clip that rocks on to the stage when selected. any ideas?? thanks

Flash 8 Upload Form (Filereference) Examples Half Work
Hi

I'm trying to put together a simple upload form using Filereference.

But the examples I've found and tried to use don't quite work the way they should.

Example 1:
http://www.flash-db.com/Tutorials/upload/
I downloaded the source files, changed the

Code:
System.security.allowDomain("http://localhost", "127.0.0.1");
piece of it to reflect my domain name (although left the I.P alone)
and uploaded it to my server (created proper upload folder, with 777 permissions etc.. as well).
The script uploads the small files I've selected to the proper folder.
BUT after the swf tries to upload the file, it stops doing anything. The file gets uploaded, but the Swf file doesn't get any feedback, or doing anything. Just says thats its still trying to upload the file.

Example 2:
http://www.kirupa.com/developer/flas...erence_pg1.htm
I downloaded the Fla, published a HTML page and swf file from it, created a php script by copy pasting the code found on page 3 of the tutorial.
Uploaded the files, created proper upload directory, with 777 file permissions.
It does practically the same thing, I select a file with it, the file gets uploaded, but the progress bar doesn't show up, and the form doesn't reset itself. Its like as soon as the swf contacts the Php script, it doesn't do anything anymore.

Example 2 used to work the exact opposite though, a couple days ago when I first tried it, the files would trigger the upload progress bar, but would hang at some percentage (like 60%, 40% etc..) and the file wouldn't upload. Today I redownloaded the files, created a fresh directory on the server etc.. pretty much started from scratch, and now the files show up, but I don't get any feedback from the form.

I don't know what to do...
The other day I tried to add the lines of code mentioned on the 4th page of the example 2 tutorial, to the global .htaccess file, but those lines of code, proceeded to kill all other php scripts running on my website, they just stopped working and produced error messages. So I had to remove the code lines. Its probable worth mentioning that the .htaccess file already had some lines of code in it to handle the redirecting of a particular URL away from the main index page onto a sub folder and its index page (as suggested by my web host)

Heres the links to the examples that fail to work for me:
Example 1:
http://albertaintegrated.com/tests/f...01/upload.html

Example 2:
http://albertaintegrated.com/tests/f...eUploader.html

Heres the php scripts being used for them:

Example 1:

PHP Code:



<?php//create the directory if doesn't exists (should have write permissons)if(!is_dir("./files")) mkdir("./files", 0755); //move the uploaded filemove_uploaded_file($_FILES['Filedata']['tmp_name'], "./files/".$_FILES['Filedata']['name']);chmod("./files/".$_FILES['Filedata']['name'], 0777);?>




Example 2:

PHP Code:



<?php    if ($_FILES['Filedata']['name']) {        move_uploaded_file($_FILES['Filedata']['tmp_name'], 'upload_directory/' . basename($_FILES['Filedata']['name']));    }?>




And the links to the Flas involved are above.
Other then the change I mentioned I did on the Example 1 tutorial Fla, I assure you I left them untouched and identical to the ones you download from the tutorial pages.


I only need a simple Upload script. It doesn't have to upload multiple files at a time. I just need something that works, and is simple enough that I can attach it to a small contact form, that will email the users name and contact information, as well as the name(s) of the file(s) the user uploaded.


I'd appreciate any and ALL help, pointers, and suggestions you or others may offer.
Links to alternative tutorials and examples would also be appreciated.
Although, I need to be able to make the upload form look a certain way to fit in with the rest of the site (as well as make it fit within a certain size space) so I don't think some sort of component, where I couldn't rearrange the elements would work very well.

Thanks for your time

-Lem

Using Flash On Two Computers.
is it possible to use my flash MX 2004 on my laptop, for the road, and the desktop, at the office, without paying another $700 activation fee which is ridiculous since this is my software?

Or would I have to connect with a PC anywhere remote program and use the flash that way?

What % Of Computers Have Flash 8/MX/5 Etc...
Does anyone know what percentage of people on the web have installed what version of Flash?

I've been messing about with the Flash 8 trial, but I guess unless I need functions unique to Flash 8, I should use older actionscript coding to make it compatible with older versions of Flash.

Old Computers And Flash
Any guidelines to suggest?  I'm thinking specifically of P1 computers.  I know from experience to avoid alpha and heavy tweening but that really limits what you can do in Flash.

It seems that every site that I try to run on a P1 fails miserably in terms of performance (not just my own sites).  Is it a lost cause to even try?  Would I be better off directing these people to the HTML version?

Synching Flash In 3 Computers.
Hi there

I’m presently doing a gallery installation that is essentially a triptych - three separate streams of video projected onto the wall each with their own complimentary soundtrack. It is vital that they loop and remain perfectly in synch. I investigated hardware solutions but they are too expensive. Is it possible to network 3 computers each running Flash, import one stream of video to each and somehow trigger them all at exactly the same time and keep them looping in perfect synch? Any advice on this would be much appreciated but please keep it simple because I usually work with graphics and video and have no previous experience in networking devices like this.

Thank you very much for your time and help

michael

Flash Players On Mac Computers
hey there alright i amde this movie and iwant to show it to a friend on his pc. I burned the movie to a disk brought it to his house turned out he has a Mac computer. Is there any program out there i can burn onto my cd and instal it on his mac that will play the swf. file on his comp??

anyone ty and please post the web site 2.were i can get it

Flash, Old Computers, And No Embed
I'm making a short swf file for our company intranet. A lot of my audience have older computers running Win95. If they don't have the Flash 5 plugin, can I put a message in NoEmbed tags telling them what to do? Do the NoEmbed tags work in this instance? (Not only do we have not-up-to-date computers, we have not-up-to-date users, too.)

TIA

Flash Player On Sun Computers
Greetings,
Our client is trying to view our elearning program, a lot of which is flash. our clients tried to view the flash using Solaris but the flash is not working, and they said they tried several different computers. Any suggestions?

Flash 5 Get URL Problem On Some Computers
I've created a stand alone Flash CD that is basically away to get graphic files to clients. I have buttons that "get url" pdf, eps, jpeg and word doc. This CD works on most computers, with the exception of the owner of the company's that I'm doing this for. On every other computer the files open as expected or have the option to save the file. His computer has no response at all. The CD itself opens fine but none of the buttons link.... Any suggestions?

Flash In Different Browsers/computers
Hi,

I made a flash document (file.html), it looks perfect on my computer. But when I view it on another computer, everytime it looks differently. Mostly, it looks too small than it should be.

Is there any way that I can do to make it appear on all the screen?

Thanks in advance.

E

Flash 8 To Php Problem, Only For Some Computers
I'm working on a scoreboard for my website, but when the php is called from flash it doesn't work from some computers. When played from most computers everything works fine. But for some computers they can play the game and see the scoreboards (their browser is running the php script to display), but for some reason when flash tries to send the php via loadvars it isn't going through for them. I'm thinking this might be a security issue, but I have no clue where to start looking.

My php and flash code is basically the same as
this tutorial

This is the first I've worked with flash/PHP interaction, so I'm not sure how to troubleshoot this one...

You can try if you want at www.mouseagility.com just play a game and see if your score gets posted when you refresh the leaderboard...

Thanks in advance for you help!

Flash Working On Some Computers - But Not Others
Good afternoon,

We had a third party flash developer build out the flash navigation and masthead videos for a client's web site and although it works fine on my computer (and on the developer's computer), it does not work on any of the client's computers or my partner's computers.

Here is the web site in question:

www.quigleysimpson.com/index2.html

According to the client and to my partner, the video cuts out after a second or two, and some of the navigation links are coming up 'not found' (e.g. the Multi-Cultural link in the top navigation).

Upgrading to the latest version of Flash Player was the first thing we did, and the problem still exists. I can't for the life of me figure out why.

Any help would be most appreciated.

Cheers,

Cynthia

Flash 8 Not Working In PPT On Others' Computers
Help! I have successfully created several Flash 6 movies for clients' PowerPoint presentations in the past. But now that I've been using Flash 8, they can't seem to play the movie. They see the flat image in the slide, but they get this error message:

"Some controls on this presentation can’t be activated. They might not be registered on this computer."

Active X control for Shockwave Flash is activated (they could use the Flash 6 movies no problem). Nothing has changed except for my use of Flash 8.

The only way it has worked is if they download the swf to their computer, create the PPT slide themselves, and play it from the same computer. Obviously, not a good solution since they will need to take the files elsewhere for presentations!

Anyone??

Flash Communication Between 2 Computers
I know this is my 2nd post in like an hour but I'm having a lot of trouble with this and I want to start off on the right foot.

I've searched on this but I haven't found anything conclusive... I know about XMLSocket (I don't know how to use it that well but I think I understand it's use and when to use it), but can you receive information with that? how can you connect between two computers and share information directly (without passing through another server)?. you can't do that with xmlsocket right?

what I really want to do is send a simple value to another computer back on forth (both using the same flash program obviously) and parse the information. I don't want it to go through another server otherwise it will be really laaagggyyy!

thanks to responders !

Flash Text Funny On Some Computers
Hi Guys,

We have designed a nice website using some flash on CLICK HERE and for the menu buttons we use a font called silkscreen. On some computers it looks real nice and crisp while on others it is practically illegible. Im using flash MX by the way and chose dynamic text (as otherwise is fuzzy).

Is there anyway to use that font and still make it look nice on all machine without converting the whole thing to gifs???

Cheers

Working On Flash Project On Two Computers
I have a flash project I am working on. It would be helpful to me if I could take the project with me to other locations and work on it on a different computer but still a mac. Is all I need the .fla file or is there other folders associated with the project that I don't know about that needs to come with it. I am workiing on an image sequence from a quicktime movie. Also being from Flash MX I guess I couldn't use an older version of flash to work on it. Thanks for any comments and help you can give me.

Connecting Flash To Other Computers (engineering)
What is the best way to connect a computer running a swf to other computers? I'm working on flight simulators and I need a way to make menus that can update and receive information from a host computer (linux computer I believe) quickly. I know that actionscript can read a XML file repeatedly but I'm thinking that will have slow performance. Could I call a PHP, ASP file instead? I'll have to write and read information. Any ideas and advice would be much appreciated.

Copyright © 2005-08 www.BigResource.com, All rights reserved