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!

Author Search Results: 'djbdr248'

We found 870 matches.


<< < > >>

Viewing 1-30 of 870 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91929

2.

Questioning

Topic: See and say AS2 app problem

Posted: 11/10/09 07:20 PM

Forum: Flash

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


3.

None

Topic: Flash Registration Form

Posted: 10/18/09 02:02 AM

Forum: Flash

Yeah I'm doing something simmalar and I have had all kinds of problems and no one has been able to help me.

I'm trying to have it just save 5 text feilds to a txt file on my server.
Sounds simmple right?
I have not been able to pull it off.


4.

Elated

Topic: any more flash tutorial lists?

Posted: 10/18/09 01:03 AM

Forum: Flash

Come on I know there are more.


5.

None

Topic: by state poll???

Posted: 10/12/09 03:45 PM

Forum: Programming

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.

Any ideas?


6.

None

Topic: Save more input text feilds?

Posted: 10/11/09 11:32 PM

Forum: Flash

Realy... no one has done this b4... Realy...?


7.

None

Topic: Save more input text feilds?

Posted: 10/11/09 03:45 PM

Forum: Flash

Has anyone had to save input text feilds b4?


8.

None

Topic: Email a friend CGI file question.

Posted: 10/11/09 01:56 AM

Forum: Programming

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;
}


##################################################################

9.

None

Topic: what kind of code is this?

Posted: 10/10/09 01:52 PM

Forum: Programming

If you are hosted through someone and they don't offer it you'll likely not get it.

I'm using godaddy, how do I set it up w/ godaddy?


10.

None

Topic: Save more input text feilds?

Posted: 10/10/09 01:24 PM

Forum: Flash

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 have tried using this tutorial but I can not get it to save more than one input text.
http://www.video-animation.com/dbase002.
shtml

I am stumped broken and bloody can anyone help?


11.

None

Topic: what kind of code is this?

Posted: 10/10/09 01:18 PM

Forum: Programming

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.

Unless you have an easier way to do it.


12.

None

Topic: Hide site url?

Posted: 10/09/09 05:05 PM

Forum: Programming

I found my old code, works great.


13.

None

Topic: what kind of code is this?

Posted: 10/09/09 05:04 PM

Forum: Programming

At 10/9/09 12:03 PM, RevNation wrote:
At 10/8/09 10:20 PM, Scyllinice wrote: That would be PERL
so if you want to use that code, your going to need mod_perl (fastcgi) with your webserver.

How can I set that up on my website?


14.

None

Topic: why won't buttonsWork when embeded?

Posted: 10/09/09 12:51 AM

Forum: Flash

My buttons will not work when I embed the swf can you guys download the flas and see if you can get it to work when it is embeded?

Files
http://www.mediafire.com/download.php?2d zxhktgznz


15.

None

Topic: what kind of code is this?

Posted: 10/08/09 09:41 PM

Forum: Programming

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;
}


##################################################################

16.

None

Topic: buttons don't work on embeded swf

Posted: 10/08/09 05:41 PM

Forum: Flash

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.

http://www.mediafire.com/download.php?mz n2zitd1hm


17.

None

Topic: Hide site url?

Posted: 10/08/09 05:33 PM

Forum: Programming

I've done it w/ java b4 I just don't remember how.


18.

None

Topic: Hide site url?

Posted: 10/08/09 03:07 PM

Forum: Programming

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.

How can I do this?


19.

None

Topic: swf file as site index page?

Posted: 10/08/09 02:24 PM

Forum: Programming

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.

I've seen that done b4.How do you hide the url?


20.

None

Topic: swf file as site index page?

Posted: 10/07/09 10:03 PM

Forum: Programming

Here is more on that problem
http://www.newgrounds.com/bbs/topic/1111 721

But is there a way to make a swf file my index file for a site?


21.

None

Topic: swf file as site index page?

Posted: 10/07/09 10:01 PM

Forum: Programming

At 10/7/09 09:46 PM, Jessii wrote: It should work. You may have coded the buttons wrong.

No everythibg works untill i embed it.


22.

None

Topic: buttons don't work on embeded swf

Posted: 10/07/09 10:00 PM

Forum: Flash

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();
		}
	}
}

here are the flas if you think you can get it to work when its embeded.
http://www.mediafire.com/?sharekey=92772 19916756993c2b435915e8821d7720dd852f5045 895bf1b77d2eb488dac

or here is where the swf is if you want to try diffrent embeding code.
http://www.hotflashtoons.com/try/mainmov ie2004.swf


23.

None

Topic: swf file as site index page?

Posted: 10/07/09 09:38 PM

Forum: Programming

At 10/7/09 09:35 PM, Radshift wrote: You could simply have the index page forward to the .swf, or embed the .swf into the index page.

I need the url to still say www.stickitindetroit.com and I cant use embeding code because when I embed the swf my buttons don't work.


24.

None

Topic: swf file as site index page?

Posted: 10/07/09 09:21 PM

Forum: Programming

Is there a way to make a swf the index page for a site so when they go to the site it gos to the swf but in the address window it still says for example www.stickitindetroit.com, not jump to an extention like www.stickitindetroit.com/swffile.swf ?

I cant use imbeding code because my buttons don't work when I use it so I need the index page for the site to be the actual swf.?


25.

None

Topic: Save more input text feilds?

Posted: 10/07/09 08:16 PM

Forum: Flash

AS2 Code:

//First we write a function to... well the name says it all. 
function submitDataToTextfile() {      
     //this is our sending loadVars object, it sends the data to the php file so that it can be processed.      
     submittedData = new LoadVars();      
     
     //here we make a variable "inputData" and as value we set it to the value of the inputData textfield.      
     submittedData.inputData = inputData.text;      
     
     //this is our response loadVars object, it is responsible for receiving data from the php script immediately      
     //when submit is pressed it will receive its data      
     response = new LoadVars();      
     
     // this is an importatn part to understand, we execute the function "doThisOnResponse" in the response.onLoad.      
     // so when the onLoad is triggered this function runs and the data is handled by flash how you set it up.      
     response.onLoad = doThisOnResponse;      
     
     //finally sendAndLoad to the php script, we need to post the data to our php script.      
     //IMPORTANT , make sure you set the right path to the php file or sle it wont work      
     submittedData.sendAndLoad("http://www.stickitindetroit.com/siid/careTaker.php", response, "post");      
}; 

//this is the function that runs on response, this function makes sure everything is placed in the right places. 
function doThisOnResponse(result) { 
//if the result is true, so if everything went ok and the data has been received, do this:      
     if(result){           
          // place the value from "response.receivedData" into our textbox "responsetxtb"           
          //notice how you just call a variable that was atatched to our response loadVars object.           
          responsetxtb.text = response.receivedData;
		  
		  
          
          // we also made a status check in the php file, this is where the value from that variable comes in and           
          // will be placed in the "statustxtb" textbox.           
          statustxtb.text = response.writeStatus;           
     }else {      //else there went something wrong.      
          trace("everything went wrong...aaghhh..damn this");      
     }; 
}; 

// if we press submit submitDataToTextfile() function is executed an the engine is started. 
submit.onPress = function() { 
     submitDataToTextfile();
	 
};

26.

None

Topic: Save more input text feilds?

Posted: 10/07/09 08:13 PM

Forum: Flash

How can I get this to save more text feilds than just one?
fla
http://spamtheweb.com/ul/upload/071009/7 2755_loadVarsSendAndLoad_writeIntxtFile_
deamothul.fla

PHP code:

<?
//this are the variables that will hold the data send from flash via the input textbox 
//the data is send by the sending part of the loadVars object 
//inputData is a variable we will set in flash, its a variable attached to the loadVars object and will be send to this php script. 
$receivedFromFlashData = $_POST['inputData'];

//this is to make our textfile readable and writable 
//we place it in a variable so that we can refer back to it easilly.(b.t.w. the @ symbol is to hold back certain error messages) 
$myTextFileHandler = @fopen("myTextFile.txt","r+"); 

//With @file we will turn our textfile into an array so we can know how many entries there are in the file. 
$txtfileArray = @file("myTextFile.txt"); 

//here we check if we could open the file and thus if everything is ok to go on. 
if($myTextFileHandler){      
     //a print to help us when we run our php file through the browser, so this will not be send to flash.      
     print("txtFile is opened\n");      
     
     //loop through the text file array remember ---> @file("membersDatabase.txt");      
     //we use the $count variable in the string we send to the text file,it attaches a number to the string for us      
     //to show how may times we inserted someting into the textfile.      
     foreach($txtfileArray as $count => $member);      
     
     //We go to the last byte of the file, because we want to insert data at the end of the file      
     $gotoLastByteOfTxTFile = @fseek($myTextFileHandler,0,SEEK_END);      
     
     //Increase count by one because an array starts counting at 0.      
     $count = $count + 1;      
     
     //Here we make a variable writeInTxtFile with the command @fwrite.      
     //It will write a string into the text file defined in myTextFileHandler, notice the \n makes it start on a new line each time .      
     $writeInTxtFile = @fwrite($myTextFileHandler,"\nreceived data from flash $count = $receivedFromFlashData");      
     //Was writing into the txtfile a success , if true print a variable to flash to be handled in the response loadVars Object.      
     if($writeInTxtFile){           
          
          //Here we make a variable to hold the message we wanna show in flash if writing to the textfile was a succes.           
          $writeStatus = "writing to textfile was a succes";           
          
          //This is printed to flash and this piece of data is actually attached to the loadvars object we defined in flash.           
          //So you can acces it just like you would a variable in a movieclip or object.           
          //so you can set this variable to be show in a textbox like this:           
          // mytextbox.text = myReveivingLoadvars.writeStatus           
          // this piece of code must be triggered in the myReveivingLoadvars.onLoad part           
          print("&writeStatus=$writeStatus");           
          
     //if writing was a failure we print that to flash           
     }else{      
          $writeStatus = "writing to textfile was a big failure";      
          print("&writeStatus=$writeStatus");      
     };      
     
     //here we close the stream to the textfile      
     @fclose($myTextFileHandler);      
     
      //If opening the text file was a failure in the first place we print this to the php output.      
     //You could choose to also send error messages like this to flash, just change the print command to something like:      
     //print("&failMsg = $youErrorMsg"); and call the failMsg variable in your flash file in the receiving onLoad part of      
     //the loadVars object e.g. like myTextBox.text = myReceiveLV.failMsg.      
     }else{      
          print("opening txtfile has failed\n");      
}; 

//this is printed to flash and received by the reveiver part of our loadVars object. 
//this piece of data will be show in a textbox in flash immediately after a you press submit. 
// so you sumbit your inputted text in flash , its ran through this little engine like php script and you immediately receive 
// an answer back. 
print("&receivedData=$receivedFromFlashData"); 


?>

27.

None

Topic: open a page in HTML

Posted: 10/05/09 11:00 PM

Forum: Programming

is there a way to make a herif automaticly go to another page when the page is opened?


28.

None

Topic: open a page in HTML

Posted: 10/05/09 10:39 PM

Forum: Programming

How can I make an html page that just links to another page w/ out anyone having to click anything?


29.

None

Topic: embeding code problem...

Posted: 10/05/09 02:38 PM

Forum: Flash

I have built a flash site now when I use the embeding code none of the buttons work.
stickitindetroit.com

code:
<html>

<center><object width="1000" height="1000">
<param name="movie" value="http://www.stickitindetroit.com/s iid/det1.swf">
<embed src="http://www.stickitindetroit.com/sii d/det1.swf" width="1000" height="1000">
</embed>
</object></center>
</html>


30.

None

Topic: saveing input textfeild to file>PHP

Posted: 10/04/09 08:41 PM

Forum: Flash

Here is the php file, I need 5 input text feilds saved to a file on my server using PHP.
Here is the php code I was givein, how can I use AS2 to save 5 text feilds to a file using this code?

"
"Here's your php code for writing to a file."

$fh = fopen('save.txt', 'w') or die("can't open file");
fwrite($fh, $_POST['t1'].'\n');
fwrite($fh, $_POST['t2'].'\n');
fwrite($fh, $_POST['t3'].'\n');
fwrite($fh, $_POST['t4'].'\n');
fwrite($fh, $_POST['t5'].'\n');
fclose($fh);

"Its good for development purposes, but if you should change it a little bit using flock because you're gonna run into some trouble if there are two people pressing the save button at the same time."
"

Has anyone done this B4?


All times are Eastern Standard Time (GMT -5) | Current Time: 08:29 AM

<< < > >>

Viewing 1-30 of 870 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 91929