www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] Help:cross-domain issue

  1. #1
    Join Date
    Mar 2009
    Posts
    22

    resolved [RESOLVED] Help:cross-domain issue

    Hi guys,I set a swf video url for an iframe,and only the same top-level domain of window that embed the iframe can play the video.My problem is how to obtain the window.top.location's value ? I use the call function of actionscript as bellows:
    ExternalInterface.addCallback("getWindowLocation",_handleGetWindowLocation);

    but,the url return from javascript is "";

    Anyone have any ideas?Thanks!

  2. #2
    Join Date
    Jan 2009
    Posts
    3,346
    What happens when you execute the javascript portion manually without adding the Flash part?

  3. #3
    Join Date
    Mar 2009
    Posts
    22

    find another way

    thanks all!I do something else in the server side to solve it!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles