php and swf

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dsdsdsdsd
Forum Commoner
Posts: 60
Joined: Fri Dec 05, 2003 3:10 pm

php and swf

Post by dsdsdsdsd »

hello; I have a flash file, that for now all I want it to do is identify a variable's value that is in a php file;

my flash:
-------------------------------------------------------------
var variable_object = new loadVars();
variable_object.load("pass_word_checker.php");

variable_object.onLoad = function()
{ trace(variable_object.dtbvarname);
}
---------------------------------------------------------------;

my php: (pass_word_checker.php)
---------------------------------------------------------------
<?php
"&dtbvarname=asd";
?>
// the trace that I get is: $dtbvarname";?>
// I have tried dozens of syntax variations
----------------------------------------------------------------;

any thoughts?
thanks
Shannon
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

Should it be $dtbvarname = "asd";

?
Post Reply