[F8] Calling AS functions from JS via ExternalInterface - HELP NEEDED!

Hi, I have read so many tutorials about this and I cant get my head around it. All the comments say that this is easy stuff, but im lost…

I need to call an AS function from an HTML link, presumably via JS is the best way to do this. The flash function I need to call is this:

trackSound = function (target, sound_url);

Target is an integer, sound_url is a URL. These will be written into Javascript code from a database…

No matter what I try, I cant do this. My deadline is fast approaching, and im losing sleep! If someone can give me a step by step guide how to do this I will be indebted to them.

Thanks,

Steve