B
Billy Mays
Beta
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Que raro, entonces pruebalo asi
getURL(campos[0].valorurl, "_self");
mira asi lo tengo.
flash.php
Insertar CODE, HTML o PHP:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>flash</title>
</head>
<body>
<?php
$valor1=$_POST['valor1'];
$xml = new DomDocument('1.0', 'UTF-8');
$root = $xml->createElement('items');
$root = $xml->appendChild($root);
$item=$xml->createElement('item');
$item =$root->appendChild($item);
$v1=$xml->createElement('valor1',$valor1);
$v1 =$item->appendChild($v1);
$xml->formatOutput = true;
$strings_xml = $xml->saveXML();
$xml->save('service.xml');
?>
<object type="application/x-shockwave-flash" width="1350" height="600" data="http://prototype.eshost.es/flash-xml/flash.swf">
<param name="movie" value="http://prototype.eshost.es/flash-xml/flash.swf">
</object>
</body>
</html>
index.php
Insertar CODE, HTML o PHP:
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Flash - XML</title>
</head>
<body>
<form action="flash.php" method="POST">
<input type="text" value="" name="valorurl" id="valorurl">
<input type="submit" name="boton" value="Enviar" id="boton">
</form>
</body>
</html>
xml
Insertar CODE, HTML o PHP:
<?xml version="1.0" encoding="UTF-8"?>
<items>
<item>
<valorurl>http://forobeta.com</valorurl>
</item>
</items>
flash.swf
Insertar CODE, HTML o PHP:
getURL(campos[0].valorurl, "_self");