开发者

Problem sending php variables to flash game, on facebook

When I run the app for the first time in a session it works great i get all data form Database(if i logout, and enter with a diffrent 开发者_Go百科account)the swf does not receive the variables. If i run manually the script typing the url address in the browser (typing: http://myserver.com/app/variables.php), and refresh the facebook app, it receives the data perfectly.How can i fix this?I used the URLVariables, URLRequest and flashvars but still with no succes.I asked for help on many forums but without succes, apparently there are many in my situation.Could this porblem be due the fact tha facebook does not allow flash to talk outside? Any help would be highly apreciated!Thanks!!


are you sure that you are pulling the page twice and not running off a cached version (in browser or on server)? Try adding a var with the datetime stamp to force refresh.

"Www.somewhere.com/something.php?v=" + new date().getTime();

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜