FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[FLASH] Problem with loading vars from php





otaku
I can't figure out what's wrong with my action script.
I trying to load text from a php script,
the text is stored in a mysql database.
deedee
Please add some line of codes. Let us see your actionscript and your PHP please, then maybe I can help you out!

I got this problem before, too, so I think I can help you!
comp615
Yes indeed please post the code...but as a general refrence try to test the PHP code first on its own before putting it into flash. Just run the php file on its own and see if you get some output.
digi
the format for loading variables into action script is url encoded.
so your php has to return something like this:

Var1=1000&Str2=StringContent&Var2=2000

if you need spaces or other strange string characters, use %20 hexadecimal, etc
deedee
digi wrote:
the format for loading variables into action script is url encoded.
so your php has to return something like this:

Var1=1000&Str2=StringContent&Var2=2000

if you need spaces or other strange string characters, use %20 hexadecimal, etc


To return it use something like echo [...]
kwok
otaku wrote:
I can't figure out what's wrong with my action script.
I trying to load text from a php script,
the text is stored in a mysql database.
Related topics
problem with a php randomizer script
ActiveX & Flash Problem together!!How to get over with i
A php problem
Sending mail with flash using PHP
Problem Loading Page
"problem loading page"
Flash, PHP and MySQL
I am trying to build a contact form using php and flash
integrer une animation flash dans php
php page flickering, maybe caused by flash item
Urgent! BasePath Problem.
Loading bits of files with PHP
Help. My Flash Video is not working all the time..
my website won't display... problem with index.php
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.