I've got my app up and running and decided to implement adsense via the iframe 
component (from what I've found there doesn't seem to be a better solution that 
fits my particular needs). 

Anyway, when I test the app on my local machine everything runs fine and the 
adsense appears. However, when I upload it to my server the application seems 
to "break" in that I cannot view any state that has the iframe implemented. I 
suspect it has something to do w/ one of two things: 

1. where the adsense.php page sits vis-a-vis the index.html page where the app 
sites OR 

2. some sort of permission problem.

for #1: I have www.mypage.com as where the user views & intereacts w/ the 
application. My adsense.php page is stored at www.mypage.com/adsense.php

Here is how I call it w/ my iframe component: 

<local:IFrame height="90" source="/adsense.php" y="1" width="500" x="325"/>

I've also tried various versions such as: source="www.mypage.com/adsense.php", 
source="http://www.mypage.com/adsense.php";
and even including the adsense.php page in the assets folder of my build but 
the same thing happens and I essentially get "locked out" of any frame that has 
the iframe component in it.


-So-, I figured it must be some sort of permission problem (even thought the 
app is hosted on the same server as the adsense page resides...I was running 
out of ideas ;) ). I put a crossdomain.xml file on the server but to no avail.


What am I doing wrong? I've toyed around w/ this for hours getting nowhere and 
am officially out of ideas. any help would be appreciated!

thx!


Reply via email to