# loadVariables POST to a new window?

**URL:** <https://forum.kirupa.com/t/loadvariables-post-to-a-new-window/282286>\
**Category:** flash\
**Created:** [February 19, 2009, 8:45pm UTC](https://forum.kirupa.com/t/loadvariables-post-to-a-new-window/282286 "2009-02-19T20:45:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarenzo](https://avatars.discourse-cdn.com/v4/letter/j/cdc98d/32.png) [@jarenzo](https://forum.kirupa.com/u/jarenzo)\
**Post date:** [February 19, 2009, 8:45pm UTC](https://forum.kirupa.com/t/loadvariables-post-to-a-new-window/282286/1 "2009-02-19T20:45:01Z")

</div>

I got it nevermind, DELETE THIS THREAD

Hello,

Simple problem most likely with a simple solution, although it’s beyond me.

in line with the send an email with flash tutorial [http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

I don’t have any problem getting my varialbes to my php script, I want it to open that php script in a new window.

on (release) {  
form.loadVariables(“the[file.php","POST](http://www.tellusmore.net/v2/dd_dirs.php%22,%22POST)”);  
}

i’ve tried adding the “\_blank” with no success…

on (release) {  
form.loadVariables("[thefile.php", “\_blank”, “POST]([http://www.tellusmore.net/v2/dd\_dirs.php](http://www.tellusmore.net/v2/dd_dirs.php)”, “\_blank”, “POST)”);  
}

i tried grouping this with a send(LoadVars, which i couldn’t get to work, but might have been the right thing to do.

I’ve also tried adding a java open window on the php file being posted to, that didn’t work either.

the object here is to GET some vars into the swf - check  
enter some more vars via fields in the swf - check  
POST to a php file - check in a new window - fail…

banging my brains against the wall  
much thanks…:d:
