Forum Moderators: open
Here is what I am doing:
On the client website (client_domain.com/client_blog.htm)
<div id="flashid" style="width:220px; height:100px">
<script type="text/javascript">counter_id="40238";</script>
<script type="text/javascript" src="http://my_domain.com/flash_resize.js"></script>
</div>
'flash_resize.js' then calls the swf : my_domain.net/counter.swf
'counter.swf' then passes the variable back (size of stage):
getURL("javascript:setFlashHeight('flashid',"+h+");");
As I said before, it all works well if everything is on the same domain (either on 'my_domain.com' or on 'client_domain.com'), but not when there are two different domains...
I hope someone can help me out. I have been stuck with this for a while and I like this solution very much.
Thanks