Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 119103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:36:00+00:00 2026-05-11T03:36:00+00:00

The organization I work for has created a small flash widget that we’re encouraging

  • 0

The organization I work for has created a small flash widget that we’re encouraging supporters to place on their website. I’m trying to determine if there are ways to improve the statistics we get from those embedded widgets.

Mostly I would like to get the domain of the site that loaded the widget. Right now I’m able to see the referrer in the server logs, but that includes the full URL, and I don’t want to have to write my own log processing system just to pull out domains.

I know very little ActionScript, but I’ve looked around the ActionScript documentation to see if I could find an obvious solution. I haven’t found anything that allows the object to ask the browser for the page URL. The System.Capabilities class seems to provide a lot of information about the player’s environment, but not where the player was called from (as far as I can tell, but maybe I’m missing something).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T03:36:00+00:00Added an answer on May 11, 2026 at 3:36 am
    Steps:    1. Import external interface into your file: import flash.external.ExternalInterface;    2. Initialize a variable to store the url path: var urlPath;    3. Create a function to call external interface and assign the html page path to your variable: urlPath = ExternalInterface.call(”window.location.href.toString”);    4. Call the function when/if needed. 

    Example:

    With javascript: window.location.href or window.location.href.toString(); With actionscript: ExternalInterface.call(”window.location.href.toString”); External Interface html Example

    Source: http://blog.circlecube.com/2008/01/02/get-current-url-to-flash-swf-using-an-external-interface-call/

    To Get The Query String See This Article: http://blog.circlecube.com/2008/03/20/get-current-url-and-query-string-parameters-to-flash-tutorial/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background I work for a large organization which has thousands of MS Access applications
The organization I currently work for an organization that is moving into the whole
I work in an organization that relies heavily on technology standards. For the most
I have a request for some contract work from an organization that uses Excel
Has anyone done work to integrate tests created using QTP (keyword driven automation) with
I work for an organization where we take raw MPEG-2 video files of lectures
Our organization started on the SharePoint path about two years ago. Before that, we
I work for a fairly large government organization where about 60% of the users
My organization is considering using Jabber as an agnostic device to device to application
Our organization provides a variety of services to our clients (e.g., web hosting, tech

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.