Targetting iframe page from flash

This probably goes in the flash section, but i thought it’d be more relevant to Javascript (i think).

So anyways, i have a flash created button. And i want this button to change the content of an iframe. How would i do this? I was thinking using ‘getURL’. But i’m not too sure how. I was also thinking of sending a variable to a PHP page, and then processing it from there. But i’m not sure which it would be. Any clues? thanks!

getURL("location", "target", "method");

target is the name of the frame. And sending variables to a php page can be seen here:

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604

Yeah thanks that works perfectly jubba :thumb: but i was just doin a test with the send variable thing, but it doesn’t see to work :-\ I have this code in my PHP page:


<?PHP
$var1 = $_POST['inputbox'];
print "VAR1 = ".$var1;
?>

and this code in my flash:

[AS]
on (release) {
getURL(“processVar.php”, “_blank”, “GET”)
}
[/AS]

I’ve tried changing the ‘gets’ and ‘posts’ around but they dont seem to work sill :-\ I’m trying to send some information from an input box to process through the php form. Do you know whats wrong? thanks!