1 Reply Latest reply on Jul 31, 2008 8:51 AM by macdeke

    External Interfacing Question

      I have a basic music player that I made in flash. I was wondering if there is an easy way for me to send a few variables (song path and name) to the player via a external link somewhere on the page.
      I would want to have it that when the link is clicked it sends the data to the player and begins streaming the new file.

      What is the easiest way of doing this.
        • 1. Re: External Interfacing Question
          Actually, there's a pretty good exercise in the Flash Help file that explains how to communicate back and forth between a swf file and javascript in the hosting HTML. Type "ExternalInterface" in to search box on the Help tab and look for an article called: "Creating interaction with the External API." It's pretty simple and enlightening. Also, check out an answer post I did a few minutes ago in a thread called: "ExternalInterface across domains?"