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.
macdeke - 31 Jul 2008 16:51 GMT
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?"