bahy
04-11-2003, 06:10 PM
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 .
i am using PHP to build this . Please help. this is urgent .
|
||||
Flash - PHPbahy 04-11-2003, 06:10 PM 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 . firepages 04-12-2003, 05:17 AM Do you know how to loadVariables in flash ? - if so it s the same deal .. except that instead of loadVariables('vars.txt'); you loadVariables('http://domain.com/variables.php'); 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 pimenz 04-14-2003, 08:04 PM You can use the following code: In PHP: $somevar="something"; $anothervar="cool"; print "&somevar=$somevar&anothervar=$anothervar" I guess something like that. Hope it works missing-score 04-14-2003, 08:21 PM I think you kinda missed the point. We are talking about loading variables in flash, from PHP. jm_0812 06-10-2004, 10: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? Thanks, ~Jason Nightfire 06-10-2004, 11:44 PM 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. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum