Page 1 of 1

ummm a bit of everything!...

Posted: Thu Jul 17, 2003 3:05 pm
by AndrewBacca
I am designing a web site for a local motorbike shop...

and I want to have a Flash front end, then then called .php files which in turn gets data from a mysql database and sends it back to the flash for displaying....

I know how to get the data from the database via the php file... but wont i dont know is how to get the flash to ask for the data from the php and for the php file to give the data to the flash part!

Ive looked everywhere for tutorials and example with no luck...

so if you can help ill be very grateful

thankyou
Andrew

Posted: Thu Jul 17, 2003 3:26 pm
by Slippy
What you want is to use the actionscript command "GETURL"

Which will allow you to POST/GET to and from any .php or .asp or whatever that you need.

Not sure if these will help (I didn't read them):

http://www.weberdev.com/ViewArticle.php3?ArticleID=77

If you are using flashMX then you might need to use LoadVars:

http://www.macromedia.com/devnet/mx/fla ... php02.html

Good Luck

Posted: Thu Jul 17, 2003 3:59 pm
by AndrewBacca
thx , they helped ive got it reading from the database.... now

how do i (if its possible) get it to use the html tags... like
<br>
etc , in the flash , so that when it reads it from the database it will compile it as IE does, if that makes any sence!

??

Andrew

Posted: Thu Jul 17, 2003 4:34 pm
by AndrewBacca
nm, ive found the little button!

Andrew