Submit action to self doesnt reload the page from swf

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Citizen
Forum Contributor
Posts: 300
Joined: Wed Jul 20, 2005 10:23 am

Submit action to self doesnt reload the page from swf

Post by Citizen »

Basically, I have a flash file on my arcade.php page that when the game is over, it submits the variable the same page, arcade.php, which has a conditional isset that should be waiting for the variable $_POST['score'] to be receieved.

When "gameover" is reached and the variable is sent from the flash file, the bottom of the window says "transferring info... etc" but the page never reloads for the content to change.

What do I do?
User avatar
PrObLeM
Forum Contributor
Posts: 418
Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:

Post by PrObLeM »

seems something may be wrong with your swf file.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

start small:

try submitting the form (via your swf) w/o any data to see if it's actually submitting anything. If it is, then you know the problem lies elseware. If not, then dig a bit deeper into your submit action to figure out why it's not.
Post Reply