Can Flash players' data file get an external variable?

nubclolug

New Member
I have files\[code\]index.phpplayer.swfswfobject.jsvideos.php\[/code\]player.swf get video ids from videos.phpvideos.php\[code\]<?php echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <playlist> <track> <title>some title</title> <youtube>some youtube id</youtube> </track> </playlist>?>\[/code\]When i include videos.php top of the index.php it works fine.AndIf i push a variable to videos.php like below it works again\[code\]<?php$id = 'r-TSFPwexDU';$title = 'some title';echo '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><playlist> <track> <title>'.$title.'</title> <youtube>'.$id.'</youtube> </track></playlist>?\[/code\]ButWhen i try type $id and $title variable in index.php and include videos.php below of the variables, above of the flash stuff it does not work$id and $title are shown between the \[code\]<youtube> and <title>\[/code\] tags in source code. But flash can not get these variables at third condition. How can i fix it?
 
Top