You need a Grounds Gold Account to post on the NG BBS!If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!
On Spinner:
If ( var=1, goto and stop at frame 1)
If ( var=2, goto and stop at frame 2)
If ( var=3, goto and stop at frame 3)
If ( var=4, goto and stop at frame 4)
At 11/11/09 02:30 PM, Yambanshee wrote:
im not exactly understanding what you want from it? if you want to check which one its pointing to cant you just check the rotation value of the spinner?
Would the graphic on the spinner change as it passes each tile that way?
I have tried it a bunch of diffrent ways but I can't get it to work right.
Basicly I need the graphic on the spinner to change for each tile it can stop on.
So can I just make the spinner a movie clip which has 5 frames w/ the diffrent graphics and have it go to a set frame for each tile it can stop on?
How can I get this see and say app to change the graphic on the spinner for each place it stops on the wheel?
I've tried making each place a hit area but that did not work.
Can anyone help?
Here is the FLA. http://spamtheweb.com/ul/upload/2109...s eeandsay8.fla
Here is what I'm trying to do.
I have a movie and on the site for the movie I have a button for them to request the movie to come to there state.
I need them to fill out a form w/ there area code state and email address.
Somehow I need the page to save each persons form and tally up howmeny people have filled out the request form for each state so I can go back and see which state the most people requested to see the movie.
What would be the easyiest way to do this because I don't even know where to start.
How do I link this to the swf?
I need to change the link in the CGI file to "email programm on server"
and I don't know where to link it to to have it work does anyone know anything about this or any CGI file programm that sends a pre wrighten email to 2 people at once?
Here is the CGI file:
#!/usr/bin/perl
#-------- Adjust the variables below according to your server and info
#This is the path for your mail program on your server
$mailprog = '/usr/sbin/sendmail';
#These are the 2 signature strings, to be addet at the end of the message
#leave the cuotes impact.
$sign1 = '_____________________________________________________';
$sign2 = 'Take a look at http://www.stickitindetroit.com';
#-------- End of adjustable block
##################################################
print "Content-type: text/html\n\n";
print "varok=";
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$FORM{$name} = $value;
}
$mailto = $FORM{'mailto'};
&an_error("Invalid E-Mail") if ($mailto !~ /.*\@.*\..*/);
open (MAIL, "|$mailprog -t") || die "Can't open $mailprog!\n";
print MAIL "To: $mailto\n";
print MAIL "From: $FORM{'mailfrom'} ($FORM{'fromname'})\n";
print MAIL "Subject: $FORM{'subject'}\n\n";
print MAIL "$FORM{'emailtext'}\n";
print MAIL "$sign1\n";
print MAIL "$sign2\n";
close(MAIL); ## Finish e-mail to user webmaster
print "Succesfuly sent....";
sub an_error {
local($msg) = @_;
print "!:$msg";
exit;
}
##################################################################
I have tried everything to get this to work.
All I want to do is have users save 5 input text feilds like Name, email, and such to a text file on my server but nothing I try works.
This is a fairly common thing you see everywhere why doesno one know anything about it?
I'm curious as to what reason you want to set up perl on your server to run this code though? You didn't know what it was, so I'm assuming you don't actually know what the code does? (I don't mean the eventual outcome, I mean line by line).
Yes I do it is the code for people to be able to send an email w/ a link to my web site to there friend from a swf.
What kind of code is this PHP or CGI?
If its CGI how do I use it on my server?
#This is the path for your mail program on your server
$mailprog = '/usr/sbin/sendmail';
#These are the 2 signature strings, to be addet at the end of the message
#leave the cuotes impact.
$sign1 = '_____________________________________________________';
$sign2 = 'Take a look at http://www.stickitindetroit.com';
#-------- End of adjustable block
##################################################
print "Content-type: text/html\n\n";
print "varok=";
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$FORM{$name} = $value;
}
$mailto = $FORM{'mailto'};
&an_error("Invalid E-Mail") if ($mailto !~ /.*\@.*\..*/);
open (MAIL, "|$mailprog -t") || die "Can't open $mailprog!\n";
print MAIL "To: $mailto\n";
print MAIL "From: $FORM{'mailfrom'} ($FORM{'fromname'})\n";
print MAIL "Subject: $FORM{'subject'}\n\n";
print MAIL "$FORM{'emailtext'}\n";
print MAIL "$sign1\n";
print MAIL "$sign2\n";
close(MAIL); ## Finish e-mail to user webmaster
print "Succesfuly sent....";
sub an_error {
local($msg) = @_;
print "!:$msg";
exit;
}
##################################################################
At 10/8/09 02:31 AM, knugen wrote:
I can't imagine the buttons stops working because it's embedded, it's much more likely that the other .swf's aren't loaded correctly.
If you don't beleave me here try it your seld.
Here is an example of the site I'm making.
try to embed it and get the buttons to work.
How can I mask the url of my site so that where ever they go on my site the url allways reads just http://www.mysite.com .
no extentions or and thing just that.
At 10/8/09 04:48 AM, henke37 wrote:
Set the server to serve the swf file when someone requests the resource "/". This way, you don't even have any url hiding issues to worry about, because the visible url is the real url.
Just remember to send the correct content type for swf files, whatever that is.
For some reason when I use embeding code to bring in my swf the buttons don't work.
Does anyone know of a way to fix this?
The swf inports other swfs as pages but it won't work when I embed it.
Here is the code on my buttons.
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "section2";
container.loadMovie("section2.swf");
} else if (_root.currMovie != "section2") {
if (container._currentframe>= container.midframe) {
_root.currMovie = "section2";
container.play();
}
}
}