View Full Version : Flash - PHP
Can anyone help me to get value from database in my flash movie ?
i am using PHP to build this . Please help. this is urgent .
04-12-2003, 06:17 AM
Do you know how to loadVariables in flash ? - if so it s the same deal .. except that instead of loadVariables('vars.txt');
where all that variable.php will output is the data you need in the required var=this&var2=that format.
but get used to loading variables from a text file first , I think that flashMX automates this somewhat ? - not sure cos I never tried it but its straightforward in flash4/5
04-14-2003, 09:04 PM
You can use the following code:
I guess something like that.
Hope it works
04-14-2003, 09:21 PM
I think you kinda missed the point. We are talking about loading variables in flash, from PHP.
06-10-2004, 11:14 PM
sorry to bring this thread back, but i am interested in this...I am native to working in flash and just started working in php.....
u can either bring it in as a string or an xml formatted documented, as of (mx) as far as I know.....what seems to be the best method?
ne body have ne ideas?
also one last item....
I am working with php to make a function that creates a button out of an image:
function display_button($target, $image, $alt)
echo "<center><a href=\"$target\"><img src=\"images/$image".".swf\"
alt=\"$alt\" border=0 height = 50 width = 135></a></center>";
it cant seem to see the .swf file....is this a limitation in php....
I now that gifs and jpegs seem to work....and the very limited png seems to work on my windows setup...
does ne body know about this?
06-11-2004, 12:44 AM
PHP is nothing to do with your problem. As far as I know, you can't call flash from an img tag, you can only do it via the object or embed tag.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.