Not quite what I am looking for. Here is my situation.
I have a swf on my server. This swf will be allowed to be posted on
other sites such as myspace (if the user that created the account has a
certain account type). Since it can be posted on myspace the actual swf
will be in an embed tag on myspace with an src pointing to my server.
What I need to do is once this swf gets called is see what the referring
domain is and see if the creator of that content has an account that
allows embedding on external sites.
if(domain == "myserver" || domain == "www.myserver){
// serve up content this is on our server no account check needed
}
else{
// WAIT!!! check if this content creator can embed outside of our domain
}
I hope I got my point across and I hope what i am trying to accomplish
is actually doable. I tried localConnections domain function but that
gave me the domain of the swf which was on my server not the domain of
the html file that called/embedded the swf.
Jim Berkey wrote:
Would this do what you are looking for?
http://www.mochibot.com
jimbo
*********** REPLY SEPARATOR ***********
On 10/28/2006 at 6:24 PM Diversity wrote:
Anyone with any suggestions?
Diversity wrote:
With flash and its cross domain security is there anyway for me to
read what the calling domain is of the swf?
Example
swf located on my server, being called from domain.com. How can I see
that its domain.com calling the swf and not myserver.com making the
call? _url gives me the swf location not the calling domain.
Thanks,
Diversity
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com