Topic: loadVars problem |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 04-22-2004 08:04
I can display stuff from my database by creating a new loadVars object and then using load(), but when I try to send some variables to my PHP script like this: code: on (release) {
|
Bipolar (III) Inmate From: Brisbane |
posted 04-29-2004 01:16
AFAIK, you need to run this from a browser running on the server for it to work correctly. Running this from the flash environment preview causes all sorts of issues with database stuff, probably because the PHP page thinks the request is comming from an external source and thus won't accept any POST data due to security issues. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 04-29-2004 02:58
I don't think you can specify "this" (meaning _root) as the target parameter. I think you need to declare a loadVars object to catch the return. code: on (release) {
code: catchData.onLoad = function() {
|
Maniac (V) Inmate From: Boston, MA, USA |
posted 04-29-2004 04:20
Rereading your post, I guess the problem is different from what I thought at first. You aren't trying to get something back are you, just populating a database. |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 04-29-2004 04:51
Cameron: |
Maniac (V) Inmate From: Boston, MA, USA |
posted 04-29-2004 05:52
"I'll give the trace() a try, thanks." |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 04-29-2004 16:28
LOL..... You mean I can't use Flashes built-in trace() function? I feel a bit foolish now, thanks for setting me straight. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 05-01-2004 16:15
So......???? |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 05-03-2004 19:36
Adding the onLoad didn't do the trick and I haven't had time to try GET yet. So many projects, so little time...... |
Bipolar (III) Inmate From: Raleigh, NC |
posted 05-18-2004 03:39
You can make some hidden forms on your php page that is holding your flash movie. code: myButtonName.click();
|