Reply
PHP To Flash
Old 07-06-2007, 03:58 AM PHP To Flash
evans123's Avatar
Ultra Talker

Posts: 271
How can i send a variable like

mysql_query.....
mysql_fetch_row.....
$hey = $result['0'];

to flash.????
__________________
SoldierExteme.com - Free MMORPG - sign-up today!
Backthebulls.com - Free online games (mad_willsy's)
Msnextra.co.uk - Msn Items
evans123 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-07-2007, 04:41 AM Re: PHP To Flash
chrishirst's Avatar
Super Moderator

Posts: 13,644
Location: Blackpool. UK
you can send a querystring to the swf

src="moviename.swf?varname=<?echo $hey; ?>"

then use action script to read in the value ...
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-09-2007, 03:17 AM Re: PHP To Flash
evans123's Avatar
Ultra Talker

Posts: 271
How would you use that to do multiple vars... what code would you use to get the variable in actionscript?
__________________
SoldierExteme.com - Free MMORPG - sign-up today!
Backthebulls.com - Free online games (mad_willsy's)
Msnextra.co.uk - Msn Items
evans123 is offline
Reply With Quote
View Public Profile
 
Old 07-09-2007, 03:25 AM Re: PHP To Flash
thecreep's Avatar
Average Talker

Posts: 25
Try MYSQL -> PHP -> XML -> FLash it works best. or flash.swf?var1=blah&var2=blahblah&var3=test
thecreep is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP To Flash
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13252 seconds with 12 queries