Be a Supporter!
send POST info via flash Posted March 31st, 2008 in Game Development

so, basically I set up a form in Flash that would take the information and then send it via POST to my local server. but the PHP file outputs nothing whenever I press the submit button.

index.swf
submit.onRelease = function()
{
  _data.user = user;
  _data.pass = pass;
  _data.sendAndLoad("http://97.97.241.143/", _data, "POST");
}
index.php
<embed src="index.swf" />
<?php
  echo $_POST['user'];
?>
Response to: I feel like a douche for asking but Posted March 30th, 2008 in Programming

At 3/30/08 09:18 PM, djconnect wrote: Don't buy a web host if your a noob. Get a free one, use google to fine one you like. This is a good one to
http://www.110mb.com/

it doesn't even add support for MySQL.

Response to: Scripted Camera Posted March 30th, 2008 in Game Development

At 3/30/08 01:20 AM, 23450 wrote: V-Cam's are a bit different though. They were origonally made for animators that had no AS skill. So, for a movie, copying and pasting is its purpose.

As for the actual problem, im getting no errors. So im not sure whats wrong.

it's probably the array.

Response to: It's Up There! Posted March 30th, 2008 in Game Development

the domain is parked.

Response to: Scripted Camera Posted March 30th, 2008 in Game Development

clearly this is why we don't copy and paste... the error means you have a bracket where it shouldn't be. and if you can't figure that out, you need to learn to understand what you're doing.

Response to: Flip over x axis Posted March 30th, 2008 in Game Development

At 3/30/08 01:10 AM, 23450 wrote: Now that you mention it, yah.

MC._xscale = MC._xscale*-1

MC._xscale *= -1

Response to: Flip over x axis Posted March 30th, 2008 in Game Development

At 3/30/08 12:54 AM, 23450 wrote: MC._xscale = -100

if you know your coordinate plane, that would make the MC orientated to the left.

Response to: Flip over x axis Posted March 30th, 2008 in Game Development

flipping over the X axis is vertically, not horizontally.

Response to: How do you create a movie clip? Posted March 29th, 2008 in Game Development

At 3/29/08 09:42 PM, doomshock wrote: http://www.newgrounds.com/portal/view/37 6895
is this a joke? you have like 50 mc in there..

stop feeding the troll.

Response to: Address bar and Javascript Posted March 29th, 2008 in Programming

At 3/29/08 10:57 AM, deafeningsilence5 wrote:

buddy, can you read? he said that he's already using POST and that the validation is JS, not PHP.

Response to: [Python] Two's Complement Posted March 28th, 2008 in Programming

At 10/22/07 05:45 PM, Vlux wrote:

check the places. for example, if the current place is 1, you change it to 0 and move one place over.

Response to: Epic C++ Fail Posted March 27th, 2008 in Programming

At 3/27/08 09:53 AM, authorblues wrote: a reference entry for a function does not mean that its part of the standard
it means enough people asked questions to warrant an entry in a reference manual

a dictionary does not prescribe a language, it describes a language.

http://www.acm.uiuc.edu/webmonkeys/book/
c_guide/2.13.html#system

Response to: Epic C++ Fail Posted March 27th, 2008 in Programming

At 3/27/08 06:51 PM, KemCab wrote: Microsoft's Visual C++ compiler is gay. I never got it to work for me for unknown reasons.

probably because you're an idiot. it's as simple as setting the VC bin to your enviorment path, and then running the tools.

It uses some completely obscure syntax and I can't find anything for that specific compiler.

not all compilers are the same. have you thought about looking it up on MSDN?

It's worse than Dev-C++, no joke. Don't bother using it.

Dev-C++ is a piece of shit.

Response to: Epic C++ Fail Posted March 27th, 2008 in Programming

At 3/27/08 08:05 AM, henke37 wrote: Also, the system function was never defined.

http://cplusplus.com/reference/clibrary/
cstdlib/system.html

Response to: where to start? Posted March 27th, 2008 in Game Development

first, decide what you want to do.

Response to: The Anti-Spam Petition Posted March 27th, 2008 in General

At 3/27/08 07:03 AM, Koogan wrote: Because I thought not many people would see it in only a sig, so I thought if I made a thread, it'd be noticed more.

so in other words, you just made this thread for attention?

Response to: The Anti-Spam Petition Posted March 27th, 2008 in General

At 3/27/08 06:56 AM, Koogan wrote: Noo, dumbasses, check Soulmaster's sig. That's where I first saw it.

then why did you make a thread about it?

Response to: The Anti-Spam Petition Posted March 27th, 2008 in General

At 3/27/08 06:50 AM, Koogan wrote: Hey guys just so you know I didn't actually make this petition.

denial.

Response to: The state of the portal Posted March 27th, 2008 in General

At 3/27/08 06:35 AM, Koogan wrote: How the hell is spam good? I mean it's making Newgrounds look shit!

the only reason it makes Newgrounds look like shit is because you idiots make a big deal about it.

Response to: The Anti-Spam Petition Posted March 27th, 2008 in General

At 3/27/08 06:29 AM, Noobhater626 wrote: There's nothing we can do to stop spam, although, we should be able to blow the whistle on spam flash. That way, you dont have to sit back and watch in anger while 5 to 6 spam flashes pass at the same time.

yeah and who's complaining?

Response to: The Anti-Spam Petition Posted March 27th, 2008 in General

this will only make administrator's jobs harder. if you're tired of spam, ignore it.

what's a bunch of digitally signed signatures going to do against spam?

Response to: Double Jump? Posted March 27th, 2008 in Game Development

At 3/26/08 05:58 PM, UnknownFury wrote: He did copy and paste that. Which is why 12 year olds shouldn't be using flash >:(

shut the fuck up and grow up for once. whether he copied or pasted it or not, you should stop trolling (like a 12 year old) and actually be helpful.

Response to: Two big booms...wtf Posted March 26th, 2008 in General

At 3/26/08 08:48 PM, KingPanther13 wrote: Really? Give me a link, I don't even remember a shuttle going up recently.

watch the news, retard. it landed a few minutes ago

Response to: Epic C++ Fail Posted March 26th, 2008 in Programming

At 3/26/08 04:35 PM, souled wrote:

just because the files are deleted, does not mean it's uninstalled (there are still references in the registry)

Response to: Epic C++ Fail Posted March 26th, 2008 in Programming

At 3/26/08 08:38 AM, Sundersoft wrote:
At 3/25/08 04:07 PM, souled wrote: Oh and another thing, is this (Visual C++ 2008) the best program to use? Are there better alternatives?
There are many alternatives for Visual C++..

If you want to use something else(I've never used VC++ but I hear that it's pretty screwy),

cough, DevC++ users, cough

you'll (probably) need a compiler and an IDE. The compiler is a set of programs that convert C++ code into a program.

they convert source code to a language the machine can understand, and a program is execution of that code.

:It has no user interface and everything is done via command-line. The IDE is what you use to actually type code into and it also helps you use the tools to create a program, since it can be pretty complicated to do that manually.

g++ -o main main.cpp


I use Bloodshed Dev-C++ for my IDE and MinGW for my compiler. You can download both here, click on the "Dev-C++ with MinGW" link towards the bottom: http://www.bloodshed.net/dev/devcpp.html

how did I guess?


Dev-C++ will let you compile simple programs with ease... You shouldn't really need to set it up. Since you're just starting out it doesn't really matter what you use as long as it works, but in the future you might want to download a recent build of MinGW, look into the Intel C++ compiler(which is supposedly really fast), or try another IDE like Code::Blocks or Eclipse.

If your book is written for Visual C++, you might have to hack it a bit to get it to work with MinGW...
Response to: A big "thank you" to Ross. Posted March 25th, 2008 in General

topic was made in 2001?

Response to: Scrolling text how to??? Posted March 25th, 2008 in Game Development

At 3/25/08 07:58 PM, hooplah wrote: OH. My bad, sorry.

way to make yourself look like a dumbass you made the OP to be.

Response to: Filesize problem. Posted March 25th, 2008 in Game Development

At 3/25/08 08:00 PM, IngramJ wrote: Ermm, yeah...

look up compression.

don't use crap filehosting sites like megaupload. spamtheweb or ngup are great alternatives.

Response to: Epic C++ Fail Posted March 25th, 2008 in Programming

At 3/25/08 07:03 PM, NeillS wrote: No offense, but when anyone says this it makes them look completely dimwitted. He said it doesn't work for him, not that it doesn't work for you. No one gives a shit!

if it works fine for Jon, then it should work fine the OP, shouldn't it? so apparently he must be making a stupid mistake. shut the fuck up.