Forum Moderators: coopster

Message Too Old, No Replies

Updated: Flash Var's Loading PHP (Using NON"&" method)

         

m_ike842

5:18 am on Oct 30, 2007 (gmt 0)

10+ Year Member



I have a CMS system im developing and I have it everything based on teh index.php page using a index.php?pa=viewer.php as a template for the php doc....

Now anyway, I have it set up like this:
index.php?pa=videoviewer.php&id=25

id being the id on the database,

on that play page i have a script that gets the FILEname "$thefilename" of that id and puts it in a variable, after this code I have a flash with a FLVplayer compononent.

loadVariables("index.php?pa=videoviewer.php&view=" + id ,_root.test);
var xx = trace(_root.test.thefilename);

var xoo = 'contentsss/' + xx;

theplayer.load(xoo)

and ofcourse, its not working... I dont want to use the method of echoing => echo "&thefilename=" . $thefilename; because i dont the file name to be shared...

Any ideas?

eelixduppy

9:11 pm on Nov 2, 2007 (gmt 0)



It isn't working? I'm not that familiar with flash variables but my guess is that you are going to have to echo the file name. Not too sure, however. Maybe you will get better help from the flash forum here. Let us know how you do.

good luck