Jump to content

php and flash


Rifts

Recommended Posts

Hey guys

 

I'm trying to make browser game and I was wondering if this is possible.

 

99% of the game is html/php/mysql but I wanted one little mini game to be in flash.

 

after playing the flash game if you win you get +1 of whatever to your account.

 

So my question is can someone program that cross over of flash back into php?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/211541-php-and-flash/
Share on other sites

to talk to php thru the game is a simple URLLoader then you handle it just like you would handle a form or whatever in php :)

 

in order to keep it secure however you're probably gonna want to add in some sort of ticketing system.. that way someone with firebug won't abuse the url request :)

 

but the concept is still rather simplistic and shouldn't be very hard :)

Link to comment
https://forums.phpfreaks.com/topic/211541-php-and-flash/#findComment-1102843
Share on other sites

Thanks I will look into that..

 

I came across this

submit.onPress = function () { 
      getURL ("getVars.php", "_blank", "POST"); 
}  

 

and it seemed to work any thought on it?

 

its from a guide located here

 

hXXtp://www.kirupa.com/forum/showthread.php?t=101228

Link to comment
https://forums.phpfreaks.com/topic/211541-php-and-flash/#findComment-1102916
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.