# AS3 load POST variables fails on iframes?

**URL:** <https://forum.kirupa.com/t/as3-load-post-variables-fails-on-iframes/315123>\
**Category:** flash\
**Created:** [October 18, 2010, 2:24pm UTC](https://forum.kirupa.com/t/as3-load-post-variables-fails-on-iframes/315123 "2010-10-18T14:24:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [October 18, 2010, 2:24pm UTC](https://forum.kirupa.com/t/as3-load-post-variables-fails-on-iframes/315123/1 "2010-10-18T14:24:30Z")

</div>

Hello!

In AS2.0 i could do a sendAndLoad to a php server and it always worked. Thing is, I am having some iframes in the redirection to a server. It used to work ok in AS2 as i could reach directly the php script (the iframes where there).  
Now that AS3 has changed its behavior with load requests, if i try to reach the script, i get in return the iframe and never reach the script. But if i type the url in a browser, i can reach the script.

Here what happens on the page :

```auto

<frameset rows="100%,*" border="0">
  <frame src="http://[some IP]/fetchData.php" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>

```

The page isn’t mounted in a frame set, it’s just a php script, it’s the “protected” apache server that does that, it kind of blocks users from browsing the page source code. It used to work tho with AS2.

Any idea?
